Nimbin[12]?Mirrors & Forks / riscv.vim / commits / 3259f23

riscv.vim git · master

RISC-V assembly syntax for vim

vim riscv assembly · first commit 2019-02-01 · last commit 2024-12-31 (1 year ago) · synced 3 days ago · upstream: github.com/laurelmay/riscv.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.gz

Support // style comments

Kyle Laker · 2022-04-29 16:56 · 3259f230a67cb0114b235815a668c8b210cd2b18

 syntax/riscv.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/riscv.vim b/syntax/riscv.vim
index 3312ae6..6fdd5df 100644
--- a/syntax/riscv.vim
+++ b/syntax/riscv.vim
@@ -8,7 +8,7 @@ endif
 setlocal iskeyword+=-,$,.
 syntax case match
 
-syntax match   riscvComment    /#.*/
+syntax match   riscvComment    /\(#\|\/\/\).*/
 syntax match   riscvTodo       /\v\c<(fix(me)?|note[s]?|todo|issue|bug|task)[:]?/ containedin=.*Comment
 " Decimal numbers
 syntax match   riscvNumber     /\<[-]\?\d\+\>/