commit e7ad9b8dc16a37bbf9153be5bfe0101c2b862981 parent e8bd206abdc870b9df0483172a7af67f7a150df1 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Mon, 6 Apr 2020 11:31:18 +0200 vim: asm syntax fix Former-commit-id: 5dede3c41fe21aa442e84d9fb1607bdbbf332cc3 Diffstat:
M | vim/after/syntax/asm.vim | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/vim/after/syntax/asm.vim b/vim/after/syntax/asm.vim @@ -1,4 +1,7 @@ " Redefine asm comment highlighting, want <bar> to be interpreted as binop syn clear asmComment -syn match asmComment "[#;!].*" contains=asmTodo - +syn region asmComment start="/\*" end="\*/" contains=asmTodo +syn region asmComment start="//" end="$" keepend contains=asmTodo +syn match asmInclude "#include" +syn region asmString start='"' end='"' +hi def link asmString String