summaryrefslogtreecommitdiff
path: root/vim/nasm/syntax_after.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/syntax_after.vim
parent7b7c24996d09590f728871805d5946eecfe1584f (diff)
vim: add nasm syntax
Diffstat (limited to 'vim/nasm/syntax_after.vim')
-rw-r--r--vim/nasm/syntax_after.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/vim/nasm/syntax_after.vim b/vim/nasm/syntax_after.vim
new file mode 100644
index 0000000..80cf2fe
--- /dev/null
+++ b/vim/nasm/syntax_after.vim
@@ -0,0 +1,9 @@
+syn keyword x86incInstruction MOVA MOVH
+syn keyword x86incInitCpuflags INIT_MMX INIT_XMM INIT_YMM INIT_ZMM
+syn keyword x86incCpuflags mmx mmx2 mmxext 3dnow 3dnowext sse sse2 sse2slow sse3 ssse3 sse4 sse42 avx avx2 xop fma4 fma3
+syn keyword x86incDefs cextern cglobal
+
+hi link x86incInitCpuflags Special
+hi link x86incInstruction Statement
+hi link x86incCpuflags Define
+hi link x86incDefs Define