Fixed hex.vim
h3rald h3rald@h3rald.com
Wed, 24 Jun 2026 22:42:32 +0200
2 files changed,
4 insertions(+),
4 deletions(-)
M
hex.vim
→
hex.vim
@@ -1,8 +1,8 @@
" Vim syntax file " Language: hex " Maintainer: Fabio Cevasco -" Last Change: 2024-12-10 -" Version: 0.3.0 +" Last Change: 2026-06-24 +" Version: 4800 if exists("b:current_syntax") finish@@ -43,7 +43,7 @@ syntax keyword hexCommentTodo TODO FIXME XXX TBD contained
syntax match hexComment /;.*$/ contains=hexCommentTodo syntax region hexComment start=;#|; end=;|#; contains=hexCommentTodo -syntax match hexNumber ;0x[0-9a-f]\{1,8\}; +syntax match hexNumber ;\$[0-9a-f]\{1,8\}; syntax region hexString start=+"+ skip=+\\\\\|\\$"+ end=+"+
M
web/contents/get.html
→
web/contents/get.html
@@ -71,7 +71,7 @@ <p>
<pre><code>echo "$2 $2 + puts" | hex</code></pre> <h3>Syntax Highlighting</h3> - <p>If you use the Vim editor, you can use <a href="https://github.com/h3rald/hex/blob/master/hex.vim" + <p>If you use the Vim editor, you can use <a href="https://git.sr.ht/~h3rald/hex/tree/master/item/hex.vim" target="_blank">hex.vim</a> to highlight hex files.</p> <p>If you use Visual Studio Code, you can use the <a href="https://marketplace.visualstudio.com/items?itemName=h3rald.vscode-hex-lang">hex</a>