Skip to content

feat: Abbrev モードでの半角スペースの自動挿入の有無を選択可能にする - #3

Merged
kjuq merged 1 commit into
kjuq:masterfrom
s-show:master
Oct 19, 2026
Merged

kjuq merged 1 commit into
kjuq:masterfrom
s-show:master

Conversation

@s-show

@s-show s-show commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Skkelua では、Abbrev モードで入力するとアルファベットの前に半角スペースが自動的に挿入されますが、Skkeleton や CorvusSKK (Windows用SKK) では半角スペースの自動挿入は行われません。

そのため、他の SKK の挙動に慣れたユーザーとしては、Abbrev モードでアルファベットを入力する際、半角スペースが自動的に入力されるか否かを毎回考える必要があり、認知負荷になってしまいます。

そこで、アルファベットの前に半角スペースを自動挿入するか否かを決めるオプションを追加しました。デフォルト値は true で、この状態なら自動挿入あり、false にすると自動挿入なしとなります。これにより、ユーザーは自分に合った設定が可能になります。

なお、Abbrev モードで入力する際、補完候補の1つ目が「辞書選択」となっている点は変更していません。

completion.abbrevWithSpace (default true) controls the raw candidate that
abbrev mode (/) puts below [辞書登録]. With false the input itself is listed
("overall" for ▽overall) instead of the space-prefixed form (" overall"),
which is the candidate list other SKK implementations show. The candidate
stays exempt from dictionary registration and purging either way.

Docs: doc/skkelua.txt completion options + behavior bullet, README completion
section. Tests: lsp_spec adds the abbrevWithSpace=false cases (candidate
shape and dedup against an identical dictionary candidate), config_spec checks
partial completion merge and validation.
@kjuq
kjuq merged commit 6dbacf7 into kjuq:master Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants