aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-30 20:47:46 +0900
committernsfisis <nsfisis@gmail.com>2025-01-30 20:47:46 +0900
commit00a634123df559cafff8759d646bc20e97a07972 (patch)
tree7892d9da4003bc536e7df150ffff3707cc5ec191
parent5ac1ff2135dd2e20c63ee7588d41e2fc3fcc3083 (diff)
downloaddotfiles-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.lua1
-rw-r--r--.vimrc3
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
diff --git a/.vimrc b/.vimrc
index 85ce1d1..94dbc74 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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