aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-05-16 16:28:08 -0500
committerToby Vincent <tobyv13@gmail.com>2023-05-16 16:28:08 -0500
commitc17458cab30acc6ba4070babd4ed4c1b8dc2acec (patch)
tree1806bbad61ddbe9f9413e8050a011b0b87dbd9a3 /nvim/.config
parent53bfee1b052ab4ed57758641216438c835403417 (diff)
fix(nvim): improve spell related configs
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/after/ftplugin/lua.lua4
-rw-r--r--nvim/.config/nvim/lua/tobyvin/options.lua3
-rw-r--r--nvim/.config/nvim/spell/en.utf-8.add48
-rw-r--r--nvim/.config/nvim/spell/en.utf-8.add.splbin0 -> 754 bytes
4 files changed, 53 insertions, 2 deletions
diff --git a/nvim/.config/nvim/after/ftplugin/lua.lua b/nvim/.config/nvim/after/ftplugin/lua.lua
index c664d72..abd7572 100644
--- a/nvim/.config/nvim/after/ftplugin/lua.lua
+++ b/nvim/.config/nvim/after/ftplugin/lua.lua
@@ -1,2 +1,4 @@
-vim.opt_local.tabstop = 2
+---@diagnostic disable-next-line: param-type-mismatch
vim.opt_local.formatoptions:remove("o")
+vim.opt_local.tabstop = 2
+vim.opt_local.spell = false
diff --git a/nvim/.config/nvim/lua/tobyvin/options.lua b/nvim/.config/nvim/lua/tobyvin/options.lua
index 9032d93..b498a87 100644
--- a/nvim/.config/nvim/lua/tobyvin/options.lua
+++ b/nvim/.config/nvim/lua/tobyvin/options.lua
@@ -39,8 +39,9 @@ vim.opt.smartcase = true
vim.opt.smartindent = true
vim.opt.smarttab = true
vim.opt.softtabstop = 0
+vim.opt.spell = true
vim.opt.spelllang = "en_us"
-vim.opt.spelloptions = { "camel", "noplainbuffer" }
+vim.opt.spelloptions = { "camel" }
vim.opt.splitbelow = true
vim.opt.splitright = true
vim.opt.swapfile = false
diff --git a/nvim/.config/nvim/spell/en.utf-8.add b/nvim/.config/nvim/spell/en.utf-8.add
new file mode 100644
index 0000000..de9376f
--- /dev/null
+++ b/nvim/.config/nvim/spell/en.utf-8.add
@@ -0,0 +1,48 @@
+linkedin
+github
+utf8
+tobyv13
+gmail
+Whitsell
+DevOps
+CSS
+MySQL
+SQLite
+MariaDB
+MongoDB
+Lua
+Utils
+ZFS
+Zsh
+POSIX
+js
+systemd
+nspawn
+IPAC
+Edwardsville
+Neovim
+DNS
+PiHole
+Wireguard
+WireGuard
+Multithreaded
+NNTP
+SocketNews
+multithreaded
+Traefik
+NGINX
+Octoprint
+VTT
+VPN
+TypeScript
+rustfmt
+Versioning
+cli
+config
+#HANGELOG
+#EADME
+Changelog
+vendored
+MRU
+docs
+projectr
diff --git a/nvim/.config/nvim/spell/en.utf-8.add.spl b/nvim/.config/nvim/spell/en.utf-8.add.spl
new file mode 100644
index 0000000..9f8733b
--- /dev/null
+++ b/nvim/.config/nvim/spell/en.utf-8.add.spl
Binary files differ