Summary Files Commits Branches @commit @diff @stats
path: root / lua
diff options
context:
space:
mode:
1 files changed, 1 insertions, 7 deletions
-rw-r--r--lua/mappings.lua8
diff --git a/lua/mappings.lua b/lua/mappings.lua
index fee4e49..49d7eb0 100644
--- a/lua/mappings.lua
+++ b/lua/mappings.lua
@@ -101,13 +101,7 @@ map.x.Alt_k(":m '<-2<CR>gv=gv")
-- Special
map.n["|"](":tabnew | ter lazygit<CR>", { silent = true })
map.n.F6(function()
- if vim.g.colors_name == "gruvbox" then
- vim.o.spell = true
- vim.cmd("colorscheme darkblue")
- else
- vim.o.spell = false
- vim.cmd("colorscheme gruvbox")
- end
+ vim.cmd("set spell!")
end)
--[=[ Abbreviations ]=]--