runtime(lf): update syntax to support lf version r39
Commit:
https://github.com/vim/vim/commit/cce452f52d6b52b1f1b630206ba3b54a12465152
Author: CatsDeservePets <[email protected]>
Date: Mon Dec 1 18:49:24 2025 +0000
runtime(lf): update syntax to support lf version r39
closes: https://github.com/vim/vim/issues/18846
Signed-off-by: CatsDeservePets
<[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index ff59e3d65..cdbf40a83 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -378,6 +378,7 @@ runtime/indent/kdl.vim
@imsnif @jiangyinzuo
runtime/indent/kotlin.vim @udalov
runtime/indent/krl.vim @KnoP-01
runtime/indent/ld.vim @dkearns
+runtime/indent/lf.vim @andis-sprinkis
runtime/indent/less.vim @genoma
runtime/indent/liquid.vim @tpope
runtime/indent/lua.vim @marcuscf
diff --git a/runtime/indent/lf.vim b/runtime/indent/lf.vim
new file mode 100644
index 000000000..599759288
--- /dev/null
+++ b/runtime/indent/lf.vim
@@ -0,0 +1,10 @@
+" Vim indent file
+" Language: lf file manager configuration file (lfrc)
+" Maintainer: Andis Sprinkis <[email protected]>
+" URL: https://github.com/andis-sprinkis/lf-vim
+" Last Change: 26 Oct 2025
+
+if exists("b:did_indent") | finish | endif
+
+" Correctly indent embedded shell commands.
+runtime! indent/sh.vim
diff --git a/runtime/syntax/lf.vim b/runtime/syntax/lf.vim
index 20219ecd2..0910bbd3b 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: 7 Sep 2025
+" Last Change: 26 Oct 2025
"
" The shell syntax highlighting is configurable. See $VIMRUNTIME/doc/syntax.txt
-" lf version: 38
+" lf version: 39
if exists("b:current_syntax") | finish | endif
@@ -63,6 +63,7 @@ syn keyword lfOptions
\ cmd-menu-accept
\ cmd-menu-complete
\ cmd-menu-complete-back
+ \ cmd-menu-discard
\ cmd-right
\ cmd-transpose
\ cmd-transpose-word
@@ -148,6 +149,7 @@ syn keyword lfOptions
\ paste
\ period
\ pre-cd
+ \ preload
\ preserve
\ preview
\ previewer
@@ -162,6 +164,7 @@ syn keyword lfOptions
\ rename
\ reverse
\ roundbox
+ \ rulerfile
\ rulerfmt
\ scroll-down
\ scroll-up
--
--
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/E1vQ985-00BYyf-6s%40256bit.org.