From d4166aa883214700f6521b48c45e88284bcd6794 Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Thu, 17 Jul 2025 17:09:44 +0500 Subject: [PATCH] fox lsp not being activated by introducing dependencies --- .config/nvim/lua/user/plugins/lsp/init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 {