fox lsp not being activated by introducing dependencies
This commit is contained in:
@ -7,13 +7,18 @@ return {
|
|||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
dependencies = {
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
"nvimtools/none-ls.nvim",
|
||||||
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("user.plugins.lsp.mason_lsp_config")
|
require("user.plugins.lsp.mason_lsp_config")
|
||||||
require("user.plugins.lsp.diagnostics_config").setup()
|
require("user.plugins.lsp.diagnostics_config").setup()
|
||||||
-- require("user.lsp.none_ls")
|
-- require("user.lsp.none_ls")
|
||||||
|
|
||||||
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])
|
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])
|
||||||
end
|
end,
|
||||||
},
|
},
|
||||||
{ "neovim/nvim-lspconfig", event = "VeryLazy" }, -- enable LSP
|
{ "neovim/nvim-lspconfig", event = "VeryLazy" }, -- enable LSP
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user