aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorLeon <github@adigitoleo.dissimulo.com>2023-02-17 14:08:28 +1100
committerGitHub <noreply@github.com>2023-02-17 14:08:28 +1100
commit6fbbb2dc5a2754e6a2c9ec4d83f982fdaf449cd5 (patch)
treeaec58eabfe579514b8128c623f093c9e3a8ec1ff /init.lua
parentac7bc03b29bed64cf61906068207a7a7ce512b65 (diff)
downloadvis-commentary-6fbbb2dc5a2754e6a2c9ec4d83f982fdaf449cd5.tar.gz
Update init.lua
Another typespec for comments. I received this as a patch from Matej Cepl. Upstream added support for the filetype: https://github.com/martanne/vis/pull/1019.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index baa38b7..a85d0b6 100644
--- a/init.lua
+++ b/init.lua
@@ -22,7 +22,7 @@ local comment_string = {
scala='//', scheme=';', smalltalk='"|"', sml='(*)', snobol4='#', sql='#',
tcl='#', tex='%', text='', toml='#', vala='//', vb='\'', vbscript='\'',
verilog='//', vhdl='--', wsf='<!--|-->', xml='<!--|-->', yaml='#', zig='//',
- nim='#', julia='#'
+ nim='#', julia='#', rpmspec='#'
}
-- escape all magic characters with a '%'