nvim: added markdown lsp

master
tiyn 2 years ago
parent e83b2add69
commit 5625e6ecfc

@ -165,7 +165,7 @@ end
-- Use a loop to conveniently call 'setup' on multiple servers and -- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches -- map buffer local keybindings when the language server attaches
local servers = { "pyright", "bashls", "tsserver", "texlab", "ccls", "gopls", "hls", "nimls" } local servers = { "pyright", "bashls", "tsserver", "texlab", "ccls", "gopls", "hls", "nimls", "marksman" }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { nvim_lsp[lsp].setup {
on_attach=on_attach, on_attach=on_attach,
@ -176,6 +176,7 @@ for _, lsp in ipairs(servers) do
} }
end end
require'lspconfig'.jdtls.setup{ require'lspconfig'.jdtls.setup{
on_attach=on_attach, on_attach=on_attach,
flags = { flags = {

Loading…
Cancel
Save