runtime(lf): update syntax to support lf version r42
Commit:
https://github.com/vim/vim/commit/e31fb9bb67617fc4357cdd075aa16423ced9bbe3
Author: CatsDeservePets <
145048791+Ca...@users.noreply.github.com>
Date: Fri Jul 31 18:02:17 2026 +0000
runtime(lf): update syntax to support lf version r42
closes:
https://github.com/vim/vim/issues/20897
Signed-off-by: CatsDeservePets <
145048791+Ca...@users.noreply.github.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/syntax/lf.vim b/runtime/syntax/lf.vim
index fe46fc43b..a7c2a0873 100644
--- a/runtime/syntax/lf.vim
+++ b/runtime/syntax/lf.vim
@@ -3,10 +3,10 @@
" Maintainer: Andis Sprinkis <
an...@sprinkis.com>, @CatsDeservePets
" Former Maintainer: Cameron Wright
" URL:
https://github.com/andis-sprinkis/lf-vim
-" Last Change: 4 Feb 2026
+" Last Change: 31 Jul 2026
"
" The shell syntax highlighting is configurable. See $VIMRUNTIME/doc/syntax.txt
-" lf version: 41
+" lf version: 42
if exists("b:current_syntax") | finish | endif
@@ -34,6 +34,7 @@ syn keyword lfOptions
\ anchorfind
\ autoquit
\ borderfmt
+ \ borderstyle
\ bottom
\ calcdirsize
\ cd
@@ -135,6 +136,7 @@ syn keyword lfOptions
\ mouse
\ nmaps
\ number
+ \ numbercursorfmt
\ numberfmt
\ on-cd
\ on-focus-gained
@@ -164,7 +166,6 @@ syn keyword lfOptions
\ reload
\ rename
\ reverse
- \ roundbox
\ rulerfile
\ rulerfmt
\ scroll-down
@@ -190,6 +191,8 @@ syn keyword lfOptions
\ smartcase
\ smartdia
\ sortby
+ \ sortignorecase
+ \ sortignoredia
\ source
\ statfmt
\ sync
@@ -198,6 +201,7 @@ syn keyword lfOptions
\ tag-toggle
\ tagfmt
\ tempmarks
+ \ terminalcursor
\ timefmt
\ toggle
\ top