diff --git a/.config/nvim/lua/user/plugins/lsp/init.lua b/.config/nvim/lua/user/plugins/lsp/init.lua index 3ecd4f4..5cc2810 100644 --- a/.config/nvim/lua/user/plugins/lsp/init.lua +++ b/.config/nvim/lua/user/plugins/lsp/init.lua @@ -7,13 +7,18 @@ return { { "williamboman/mason-lspconfig.nvim", event = "VeryLazy", + dependencies = { + "neovim/nvim-lspconfig", + "williamboman/mason.nvim", + "nvimtools/none-ls.nvim", + }, config = function() require("user.plugins.lsp.mason_lsp_config") require("user.plugins.lsp.diagnostics_config").setup() -- require("user.lsp.none_ls") vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]]) - end + end, }, { "neovim/nvim-lspconfig", event = "VeryLazy" }, -- enable LSP {