dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 2d299bd7f4e8aa5f7eea4256e3a6c4ceb252b8c4
parent 48873a3215eef695a83558bb6425e844a82178bc
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 15 Apr 2022 12:05:20 +0100

Sync hirc syntax file with updated version

Diffstat:
M.config/nvim/syntax/hirc.vim | 13++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/.config/nvim/syntax/hirc.vim b/.config/nvim/syntax/hirc.vim @@ -1,8 +1,8 @@ -" hirc config syntax highlighting -" Colours comments and formats. -" I haven't done any autocmd stuff, -" so you'll likely want to tell vim -" to use this syntax (:help modeline) */ +" Vim syntax file +" Language: hirc configuration +" Maintainer: hhvn <dev@hhvn.uk> +" Last Change: 2022-02-08 +" License: This file is placed in the public domain. if exists("b:current_syntax") finish @@ -12,10 +12,9 @@ syn match hircComment "^[^/].*" syn region hircFormatA start="^/format" end=/$/ contains=hircStyle,hircVariable,hircNickStyle syn region hircFormatB start="^/set format." end=/$/ contains=hircStyle,hircVariable,hircNickStyle syn match hircStyle "%{[^}]*}" contained -syn match hircNickStyle "%{nick:\${[^}]*}}" contained contains=hircVariable +syn region hircNickStyle matchgroup=hircStyle start='%{nick:' end='}' contains=hircStyle,hircVariable syn match hircVariable "\${[^}]*}" contained hi link hircComment comment hi link hircStyle preproc -hi link hircNickStyle hircStyle hi link hircVariable variable