From d803b60f8e8e59008bc4998841ea3dd933c7c027 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 10 May 2025 00:33:22 +0300 Subject: [PATCH] Command line highlight --- VIM | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.48.1