From: Sergey Matveev Date: Fri, 9 May 2025 21:33:22 +0000 (+0300) Subject: Command line highlight X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d803b60f8e8e59008bc4998841ea3dd933c7c027;p=zk.git Command line highlight --- diff --git a/VIM b/VIM index ff68cab..9ffa6ff 100644 --- a/VIM +++ b/VIM @@ -8,10 +8,15 @@ goto any page relative to the root. Use expand("%:r") to get current file path relative to the root. +Use filename completion (:help compl-filename) to complete +directories and filenames in them. + Square bracketed links can be highlighted with: syntax region zkLink start="\[\S" end="\S]" highlight link zkLink String -Use filename completion (:help compl-filename) to complete -directories and filenames in them. +Command ([FORMAT]) lines can be highlighted with: + + syntax match command /^.* $/ + highlight command ctermbg=blue