diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/lua/vimrc/plugins.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua index f42cd5b..194a241 100644 --- a/.config/nvim/lua/vimrc/plugins.lua +++ b/.config/nvim/lua/vimrc/plugins.lua @@ -20,6 +20,9 @@ return { pattern = 'skkeleton-initialize-pre', callback = function() vim.fn['skkeleton#config']({ + -- Change default markers because they are EAW (East Asian Width) characters. + markerHenkan = '[!]', + markerHenkanSelect = '[#]', eggLikeNewline = true, userDictionary = my_env.skk_dir .. '/jisyo', globalDictionaries = {my_env.skk_dir .. '/jisyo.L'}, @@ -50,7 +53,7 @@ return { vim.fn['skkeleton#register_keymap']('input', '<C-m>', 'newline') vim.fn['skkeleton#register_keymap']('henkan', '<C-m>', 'newline') -- Custom highlight for henkan markers. - vim.cmd([=[syntax match skkMarker '[▽▼]']=]) + vim.cmd([=[syntax match skkMarker '\[[!#]\]']=]) vim.cmd([=[hi link skkMarker Special]=]) end, }) |
