summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/core/autocmds.lua3
-rw-r--r--lua/lsp/init.lua5
2 files changed, 3 insertions, 5 deletions
diff --git a/lua/core/autocmds.lua b/lua/core/autocmds.lua
index f2399de5..d77e0e71 100644
--- a/lua/core/autocmds.lua
+++ b/lua/core/autocmds.lua
@@ -69,6 +69,9 @@ lvim.autocommands = {
-- will cause split windows to be resized evenly if main window is resized
{ "BufWritePost", "plugins.lua", "PackerCompile" },
},
+ _general_lsp = {
+ { "FileType", "lspinfo", "nnoremap <silent> <buffer> q :q<CR>" },
+ },
-- _fterm_lazygit = {
-- -- will cause esc key to exit lazy git
diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua
index ccf5f031..5d4a4795 100644
--- a/lua/lsp/init.lua
+++ b/lua/lsp/init.lua
@@ -9,11 +9,6 @@ function M.config()
require("lsp.handlers").setup()
require("lsp.signs").setup()
require("lsp.keybinds").setup()
- require("core.autocmds").define_augroups {
- _general_lsp = {
- { "FileType", "lspinfo", "nnoremap <silent> <buffer> q :q<CR>" },
- },
- }
end
function M.setup(lang)