From 222196824fc047399242e5c2cd6cc0c2fabf8ffc Mon Sep 17 00:00:00 2001 From: Axel Ricard Date: Mon, 25 Sep 2023 16:36:46 +0200 Subject: [PATCH] fix(runtime): add commentstring for D ftplugin Problem: No commentstring is set for D buffers after removing the default C-style commentstring Same solution than neovim#23039 --- runtime/ftplugin/d.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 runtime/ftplugin/d.lua diff --git a/runtime/ftplugin/d.lua b/runtime/ftplugin/d.lua new file mode 100644 index 0000000000..b4e68148f5 --- /dev/null +++ b/runtime/ftplugin/d.lua @@ -0,0 +1 @@ +vim.bo.commentstring = '/*%s*/'