From 5caf254c4437b5c3ea43cf418f501129a4889a64 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 7 Aug 2023 11:30:55 +0200 Subject: [PATCH] nvim: Add D language server to auto config Automatically install D lsp with mason. --- nvim/.config/nvim/after/ftplugin/d.lua | 3 +++ nvim/.config/nvim/lua/plugins/config/lsp.lua | 1 + 2 files changed, 4 insertions(+) create mode 100644 nvim/.config/nvim/after/ftplugin/d.lua diff --git a/nvim/.config/nvim/after/ftplugin/d.lua b/nvim/.config/nvim/after/ftplugin/d.lua new file mode 100644 index 0000000..ad5af28 --- /dev/null +++ b/nvim/.config/nvim/after/ftplugin/d.lua @@ -0,0 +1,3 @@ +-- help out mini.comment since the treesitter implementation does not have +-- comment functionality so far afaik +vim.bo.commentstring = "// %s" diff --git a/nvim/.config/nvim/lua/plugins/config/lsp.lua b/nvim/.config/nvim/lua/plugins/config/lsp.lua index d7d0129..e8f03ca 100644 --- a/nvim/.config/nvim/lua/plugins/config/lsp.lua +++ b/nvim/.config/nvim/lua/plugins/config/lsp.lua @@ -32,6 +32,7 @@ local servers = { marksman = {}, pyright = {}, ruff_lsp = {}, + serve_d = {}, tailwindcss = {}, taplo = {}, texlab = {},