summaryrefslogtreecommitdiff
path: root/vim/nasm/ftplugin.vim
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-02-20 15:48:07 +0100
committerAnton Khirnov <anton@khirnov.net>2023-02-20 15:48:07 +0100
commite999180d94132256eb707493c19a925b58b58943 (patch)
tree3ceb318c478e85e3f04876fa0d5866db52fa736d /vim/nasm/ftplugin.vim
parent7b7c24996d09590f728871805d5946eecfe1584f (diff)
vim: add nasm syntax
Diffstat (limited to 'vim/nasm/ftplugin.vim')
-rw-r--r--vim/nasm/ftplugin.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/nasm/ftplugin.vim b/vim/nasm/ftplugin.vim
new file mode 100644
index 0000000..385905e
--- /dev/null
+++ b/vim/nasm/ftplugin.vim
@@ -0,0 +1,4 @@
+let b:match_words = &matchpairs
+ \ . ',%if:%else:%endif'
+ \ . ',%macro\>:%endmacro\>'
+ \ . ',%rep\>:%endrep\>'