From ba237783743060ec9eff9012e0519722129198ed Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 25 Nov 2023 20:26:43 +0100 Subject: nvim: Set commentstring for EBNF --- .config/nvim/after/ftplugin/ebnf.lua | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim/after/ftplugin') diff --git a/.config/nvim/after/ftplugin/ebnf.lua b/.config/nvim/after/ftplugin/ebnf.lua index 976b8d3..b1bb817 100644 --- a/.config/nvim/after/ftplugin/ebnf.lua +++ b/.config/nvim/after/ftplugin/ebnf.lua @@ -1 +1,2 @@ require('Comment.ft').ebnf = { '(*%s*)', '(*%s*)' } +vim.bo.commentstring = '(*%s*)' -- cgit v1.2.3