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

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

Adding '.' in keyword

Frédéric Pétrot · 2020-09-10 11:05 · a11e14c84baa192fb7763ae3cdad6be2c95fdcea

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    /#.*/