runtime(lf): update syntax to support lf version r36
Commit:
https://github.com/vim/vim/commit/a2fff3fb94d11b916ea177ba0e6ef0cceab55ff9
Author: Andis Spriņķis <[email protected]>
Date: Fri Jul 18 20:34:27 2025 +0200
runtime(lf): update syntax to support lf version r36
Adds the lf release 36 specific syntax highlighting changes.
related: andis-sprinkis/lf-vim#22 by @CatsDeservePets
closes: #17792
Co-authored-by: CatsDeservePets
<[email protected]>
Signed-off-by: Andis Spriņķis <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/lf.vim b/runtime/syntax/lf.vim
index 0e877eb77..af2e48737 100644
--- a/runtime/syntax/lf.vim
+++ b/runtime/syntax/lf.vim
@@ -3,10 +3,10 @@
" Maintainer: Andis Sprinkis <[email protected]>
" Former Maintainer: Cameron Wright
" URL: https://github.com/andis-sprinkis/lf-vim
-" Last Change: 10 May 2025
+" Last Change: 16 July 2025
"
" The shell syntax highlighting is configurable. See $VIMRUNTIME/doc/syntax.txt
-" lf version: 34
+" lf version: 36
if exists("b:current_syntax") | finish | endif
@@ -25,11 +25,12 @@ syn match lfString '".*"' contains=lfSpecial
"}}}
"{{{ Keywords
-syn keyword lfKeyword set setlocal cmd map cmap skipwhite
+syn keyword lfKeyword set setlocal cmd map cmap nmap vmap skipwhite
"}}}
"{{{ Options Keywords
syn keyword lfOptions
+ \ addcustominfo
\ anchorfind
\ autoquit
\ borderfmt
@@ -118,7 +119,6 @@ syn keyword lfOptions
\ infotimefmtnew
\ infotimefmtold
\ invert
- \ invert-below
\ jump-next
\ jump-prev
\ load
@@ -130,12 +130,14 @@ syn keyword lfOptions
\ mark-save
\ middle
\ mouse
+ \ nmaps
\ number
\ numberfmt
\ on-cd
\ on-focus-gained
\ on-focus-lost
\ on-init
+ \ on-load
\ on-quit
\ on-redraw
\ on-select
@@ -195,9 +197,17 @@ syn keyword lfOptions
\ top
\ truncatechar
\ truncatepct
+ \ tty-write
\ unselect
\ up
\ updir
+ \ visual
+ \ visual-accept
+ \ visual-change
+ \ visual-discard
+ \ visual-unselect
+ \ visualfmt
+ \ vmaps
\ waitmsg
\ watch
\ wrapscan
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1ucq4v-00DgSF-1U%40256bit.org.