aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorricardaxel <46921637+ricardaxel@users.noreply.github.com>2023-09-26 00:13:58 +0200
committerGitHub <noreply@github.com>2023-09-26 06:13:58 +0800
commit3387dc4a463c80a01702cdd069dde3d505a4e805 (patch)
tree56ef6527105ca4a61013717bf0bce377e0683568
parent3a784bdc8996ee74e0421c345f1afaaf4c4e4da0 (diff)
downloadrneovim-3387dc4a463c80a01702cdd069dde3d505a4e805.tar.gz
rneovim-3387dc4a463c80a01702cdd069dde3d505a4e805.tar.bz2
rneovim-3387dc4a463c80a01702cdd069dde3d505a4e805.zip
fix(runtime): add commentstring for D ftplugin (#25362)
Problem: No commentstring is set for D buffers after removing the default C-style commentstring Same solution than neovim#23039 Co-authored-by: Axel Ricard <axel.ricard@allegrodvt.com>
-rw-r--r--runtime/ftplugin/d.lua1
1 files changed, 1 insertions, 0 deletions
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*/'