fix(nvim): LuaSnip auto expand, snack image preview for md

This commit is contained in:
js0ny 2025-04-13 17:11:04 +01:00
parent 085c2995da
commit 8d0d95420a
8 changed files with 25 additions and 28 deletions

View file

@ -12,7 +12,6 @@ return {
},
config = function()
local cmp = require("cmp")
local lspconfig = require("lspconfig")
local capabilities = require("cmp_nvim_lsp").default_capabilities()
local servers_module = require("config.servers")
local luasnip = require("luasnip")
@ -108,10 +107,5 @@ return {
matching = { disallow_symbol_nonprefix_matching = false },
})
-- 配置 LSP
for _, server in ipairs(servers) do
local config = vim.tbl_deep_extend("force", default_server_config, servers_config[server] or {})
lspconfig[server].setup(config)
end
end,
end,
}