|
|
@ -4,7 +4,6 @@ local lspconfig=require("lspconfig");
|
|
|
|
local configs=require("plugins.configs.lspconfig");
|
|
|
|
local configs=require("plugins.configs.lspconfig");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lspconfig.clangd.setup({
|
|
|
|
lspconfig.clangd.setup({
|
|
|
|
on_attach=on_attach,
|
|
|
|
on_attach=on_attach,
|
|
|
|
capabilities=capabilities,
|
|
|
|
capabilities=capabilities,
|
|
|
@ -12,5 +11,13 @@ lspconfig.clangd.setup({
|
|
|
|
cmd={"clangd"}
|
|
|
|
cmd={"clangd"}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lspconfig.denols.setup({
|
|
|
|
|
|
|
|
on_attach=on_attach,
|
|
|
|
|
|
|
|
capabilities=capabilities,
|
|
|
|
|
|
|
|
root_dir=lspconfig.util.root_pattern("deno.json","deno.jsonc"),
|
|
|
|
|
|
|
|
filetypes={"javascript","typescript","javascriptreact","typescriptreact","javascript.jsx","typescript.tsx"},
|
|
|
|
|
|
|
|
cmd={"deno","lsp"}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|