riscv.vim git · master
RISC-V assembly syntax for vim
Vim Script 87.9% Markdown 12.1%git clone https://git.christianimmanuel.de/mirrors-forks/riscv.vim.gitwget https://git.christianimmanuel.de/mirrors-forks/riscv.vim/archive/riscv.vim.tar.gzAdding '.' in keyword
Useful for searching compressed and floating point insns with '*' and such.
syntax/riscv.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/riscv.vim b/syntax/riscv.vim index 673bd20..04136d6 100644 --- a/syntax/riscv.vim +++ b/syntax/riscv.vim @@ -5,7 +5,7 @@ if exists("b:current_syntax") syntax clear endif -setlocal iskeyword+=-,$ +setlocal iskeyword+=-,$,. syntax case match syntax match riscvComment /#.*/