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 q :q" }, + }, -- _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 q :q" }, - }, - } end function M.setup(lang)