diff --git a/lua/config/options.lua b/lua/config/options.lua index 30d887a..738050b 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -9,6 +9,7 @@ local opt = vim.opt opt.autowrite = false opt.clipboard = "" opt.foldlevelstart = 5 +opt.spell = true opt.tabstop = 8 opt.whichwrap = "b,s,<,>,[,]" opt.wrapscan = false diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 449e31c..22d543d 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -15,6 +15,20 @@ return { opts = { max_lines = 100 }, }, + { + "nvim-neo-tree/neo-tree.nvim", + opts = { + event_handlers = { + { + event = "file_opened", + handler = function() --auto close + require("neo-tree.command").execute({ action = "close" }) + end, + }, + }, + }, + }, + { "debugloop/telescope-undo.nvim", dependencies = {