aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/nvim/lua/vimrc
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-22 22:04:35 +0900
committernsfisis <nsfisis@gmail.com>2025-01-22 22:05:22 +0900
commit96b5e581f394f3196a8dcc6f132f2d10a9ef387b (patch)
tree73352b9895bdff57238a300aaf2728ab03f8f7e4 /.config/nvim/lua/vimrc
parente2bd8dbf27fcb7799d07dfeeac25df68f5c79763 (diff)
downloaddotfiles-96b5e581f394f3196a8dcc6f132f2d10a9ef387b.tar.gz
dotfiles-96b5e581f394f3196a8dcc6f132f2d10a9ef387b.tar.zst
dotfiles-96b5e581f394f3196a8dcc6f132f2d10a9ef387b.zip
nvim/denops: disable denops as work-around for crash bug in deno 2.1.6
Diffstat (limited to '.config/nvim/lua/vimrc')
-rw-r--r--.config/nvim/lua/vimrc/plugins.lua120
1 files changed, 62 insertions, 58 deletions
diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua
index b6de176..6661e3b 100644
--- a/.config/nvim/lua/vimrc/plugins.lua
+++ b/.config/nvim/lua/vimrc/plugins.lua
@@ -5,67 +5,71 @@ return {
'nvim-lua/plenary.nvim',
},
-- skkeleton depends on it.
- {
- 'vim-denops/denops.vim',
- },
+ -- TODO: disable it temporarily.
+ -- https://github.com/vim-denops/denops.vim/issues/433
+ -- {
+ -- 'vim-denops/denops.vim',
+ -- },
-- Text editing {{{1
-- IME {{{2
-- SKK (Simple Kana to Kanji conversion program) for Vim.
- {
- 'vim-skk/skkeleton',
- config = function()
- local vimrc = require('vimrc')
- local my_env = require('vimrc.my_env')
-
- vimrc.autocmd('User', {
- 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'},
- })
- vim.fn['skkeleton#register_kanatable']('rom', {
- ['z '] = {' '},
- ['0.'] = {'0.'},
- ['1.'] = {'1.'},
- ['2.'] = {'2.'},
- ['3.'] = {'3.'},
- ['4.'] = {'4.'},
- ['5.'] = {'5.'},
- ['6.'] = {'6.'},
- ['7.'] = {'7.'},
- ['8.'] = {'8.'},
- ['9.'] = {'9.'},
- [':'] = {':'},
- ['z:'] = {':'},
- ['jk'] = 'escape',
- })
- end,
- })
-
- vimrc.autocmd('User', {
- pattern = 'skkeleton-initialize-post',
- callback = function()
- vim.fn['skkeleton#register_keymap']('input', '<C-q>', nil)
- 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([=[hi link skkMarker Special]=])
- end,
- })
-
- vim.cmd([[
- imap <C-j> <Plug>(skkeleton-enable)
- cmap <C-j> <Plug>(skkeleton-enable)
- tmap <C-j> <Plug>(skkeleton-enable)
- ]])
- end,
- },
+ -- TODO: disable it temporarily.
+ -- https://github.com/vim-denops/denops.vim/issues/433
+ -- {
+ -- 'vim-skk/skkeleton',
+ -- config = function()
+ -- local vimrc = require('vimrc')
+ -- local my_env = require('vimrc.my_env')
+ --
+ -- vimrc.autocmd('User', {
+ -- 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'},
+ -- })
+ -- vim.fn['skkeleton#register_kanatable']('rom', {
+ -- ['z '] = {' '},
+ -- ['0.'] = {'0.'},
+ -- ['1.'] = {'1.'},
+ -- ['2.'] = {'2.'},
+ -- ['3.'] = {'3.'},
+ -- ['4.'] = {'4.'},
+ -- ['5.'] = {'5.'},
+ -- ['6.'] = {'6.'},
+ -- ['7.'] = {'7.'},
+ -- ['8.'] = {'8.'},
+ -- ['9.'] = {'9.'},
+ -- [':'] = {':'},
+ -- ['z:'] = {':'},
+ -- ['jk'] = 'escape',
+ -- })
+ -- end,
+ -- })
+ --
+ -- vimrc.autocmd('User', {
+ -- pattern = 'skkeleton-initialize-post',
+ -- callback = function()
+ -- vim.fn['skkeleton#register_keymap']('input', '<C-q>', nil)
+ -- 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([=[hi link skkMarker Special]=])
+ -- end,
+ -- })
+ --
+ -- vim.cmd([[
+ -- imap <C-j> <Plug>(skkeleton-enable)
+ -- cmap <C-j> <Plug>(skkeleton-enable)
+ -- tmap <C-j> <Plug>(skkeleton-enable)
+ -- ]])
+ -- end,
+ -- },
-- Operators {{{2
-- Support for user-defined operators.
{