Skip to content

Commit

Permalink
[nvim] Add lsp servers
Browse files Browse the repository at this point in the history
  • Loading branch information
matsp committed Mar 10, 2024
1 parent 8047029 commit 3034486
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,27 @@ require("lazy").setup({
on_attach = on_attach,
})

-- configure markdown server
lspconfig["marksman"].setup({
capabilities = capabilities,
on_attach = on_attach,
})

-- configure docker server
lspconfig["dockerls"].setup({
capabilities = capabilities,
on_attach = on_attach,
})

-- configure deno server
vim.g.markdown_fenced_languages = {
"ts=typescript"
}
lspconfig["denols"].setup({
capabilities = capabilities,
on_attach = on_attach,
})

-- configure lua server (with special settings)
lspconfig["lua_ls"].setup({
capabilities = capabilities,
Expand Down

0 comments on commit 3034486

Please sign in to comment.