diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-01-30 20:47:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-01-30 20:47:46 +0900 |
| commit | 00a634123df559cafff8759d646bc20e97a07972 (patch) | |
| tree | 7892d9da4003bc536e7df150ffff3707cc5ec191 | |
| parent | 5ac1ff2135dd2e20c63ee7588d41e2fc3fcc3083 (diff) | |
| download | dotfiles-00a634123df559cafff8759d646bc20e97a07972.tar.gz dotfiles-00a634123df559cafff8759d646bc20e97a07972.tar.zst dotfiles-00a634123df559cafff8759d646bc20e97a07972.zip | |
nvim,vim: add "camel" to 'spelloptions'
| -rw-r--r-- | .config/nvim/lua/init/01-options.lua | 1 | ||||
| -rw-r--r-- | .vimrc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/init/01-options.lua b/.config/nvim/lua/init/01-options.lua index d90ef2a..6bf7dfb 100644 --- a/.config/nvim/lua/init/01-options.lua +++ b/.config/nvim/lua/init/01-options.lua @@ -42,6 +42,7 @@ O.synmaxcol = 500 O.hlsearch = true O.termguicolors = true O.colorcolumn = '+1' +OPT.spelloptions:append('camel') -- Multiple windows {{{1 @@ -56,6 +56,9 @@ set synmaxcol=500 set hlsearch set t_Co=256 set colorcolumn=+1 +if has('patch-8.2.0953') + set spelloptions+=camel +endif set laststatus=2 set winminheight=0 |
