adjust lsp plugins load order
This commit is contained in:
@ -4,16 +4,7 @@ return {
|
||||
config = true
|
||||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
event = "BufReadPre BufNewFile",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"nvimtools/none-ls.nvim",
|
||||
},
|
||||
"mason-org/mason-lspconfig.nvim",
|
||||
config = function()
|
||||
require("user.plugins.lsp.mason_lsp_config")
|
||||
require("user.plugins.lsp.diagnostics_config").setup()
|
||||
@ -33,6 +24,17 @@ return {
|
||||
|
||||
vim.cmd([[ command! Format execute 'lua vim.lsp.buf.format{async=true}' ]])
|
||||
end,
|
||||
dependencies = {
|
||||
{ "mason-org/mason.nvim", opts = {} },
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
event = "BufReadPre BufNewFile",
|
||||
dependencies = {
|
||||
"nvimtools/none-ls.nvim",
|
||||
},
|
||||
},
|
||||
{
|
||||
"lukas-reineke/lsp-format.nvim",
|
||||
|
||||
Reference in New Issue
Block a user