summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-07 19:42:19 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-07 19:42:19 +0100
commit9a78e1a82e86648ca088ad8430d3120e8cd7f5aa (patch)
tree4b3c35856142b368660604a3c101742d8f439a06 /.config/nvim/after/ftplugin
parentb4792a1e46046adb8a57de1d0ea5a091c3e79db6 (diff)
nvim: Add comment support for EBNF grammars
Diffstat (limited to '.config/nvim/after/ftplugin')
-rw-r--r--.config/nvim/after/ftplugin/ebnf.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/ebnf.lua b/.config/nvim/after/ftplugin/ebnf.lua
new file mode 100644
index 0000000..976b8d3
--- /dev/null
+++ b/.config/nvim/after/ftplugin/ebnf.lua
@@ -0,0 +1 @@
+require('Comment.ft').ebnf = { '(*%s*)', '(*%s*)' }