diff options
author | Robin Kautz <[email protected]> | 2021-07-09 17:13:34 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-09 11:13:34 -0400 |
commit | b2d4207543a96911854055b7f1f36aaab6437f2b (patch) | |
tree | 461a3c96c261af38549fcc42e0a6e41f32dc88f3 /lua | |
parent | 61364778276154894649c3c31911be7cfc359d88 (diff) |
option to enable spell checking (#815)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/default-config.lua | 2 | ||||
-rw-r--r-- | lua/settings.lua | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua index db80786c..f84e5428 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -13,6 +13,8 @@ O = { clipboard = "unnamedplus", hidden_files = true, wrap_lines = false, + spell = false, + spelllang = "en", number = true, relative_number = false, number_width = 4, diff --git a/lua/settings.lua b/lua/settings.lua index 09646b9c..6d265f6c 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -56,3 +56,5 @@ opt.relativenumber = O.relative_number -- set relative numbered lines opt.numberwidth = O.number_width -- set number column width to 2 {default 4} opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time opt.wrap = O.wrap_lines -- display lines as one long line +opt.spell = O.spell +opt.spelllang = O.spelllang |