mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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 <145048791+CatsDeservePets@users.noreply.github.com> Signed-off-by: Andis Spriņķis <andis@sprinkis.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
ba3a5a7372
commit
a2fff3fb94
@ -3,10 +3,10 @@
|
|||||||
" Maintainer: Andis Sprinkis <andis@sprinkis.com>
|
" Maintainer: Andis Sprinkis <andis@sprinkis.com>
|
||||||
" Former Maintainer: Cameron Wright
|
" Former Maintainer: Cameron Wright
|
||||||
" URL: https://github.com/andis-sprinkis/lf-vim
|
" 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
|
" The shell syntax highlighting is configurable. See $VIMRUNTIME/doc/syntax.txt
|
||||||
" lf version: 34
|
" lf version: 36
|
||||||
|
|
||||||
if exists("b:current_syntax") | finish | endif
|
if exists("b:current_syntax") | finish | endif
|
||||||
|
|
||||||
@ -25,11 +25,12 @@ syn match lfString '".*"' contains=lfSpecial
|
|||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"{{{ Keywords
|
"{{{ Keywords
|
||||||
syn keyword lfKeyword set setlocal cmd map cmap skipwhite
|
syn keyword lfKeyword set setlocal cmd map cmap nmap vmap skipwhite
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
"{{{ Options Keywords
|
"{{{ Options Keywords
|
||||||
syn keyword lfOptions
|
syn keyword lfOptions
|
||||||
|
\ addcustominfo
|
||||||
\ anchorfind
|
\ anchorfind
|
||||||
\ autoquit
|
\ autoquit
|
||||||
\ borderfmt
|
\ borderfmt
|
||||||
@ -118,7 +119,6 @@ syn keyword lfOptions
|
|||||||
\ infotimefmtnew
|
\ infotimefmtnew
|
||||||
\ infotimefmtold
|
\ infotimefmtold
|
||||||
\ invert
|
\ invert
|
||||||
\ invert-below
|
|
||||||
\ jump-next
|
\ jump-next
|
||||||
\ jump-prev
|
\ jump-prev
|
||||||
\ load
|
\ load
|
||||||
@ -130,12 +130,14 @@ syn keyword lfOptions
|
|||||||
\ mark-save
|
\ mark-save
|
||||||
\ middle
|
\ middle
|
||||||
\ mouse
|
\ mouse
|
||||||
|
\ nmaps
|
||||||
\ number
|
\ number
|
||||||
\ numberfmt
|
\ numberfmt
|
||||||
\ on-cd
|
\ on-cd
|
||||||
\ on-focus-gained
|
\ on-focus-gained
|
||||||
\ on-focus-lost
|
\ on-focus-lost
|
||||||
\ on-init
|
\ on-init
|
||||||
|
\ on-load
|
||||||
\ on-quit
|
\ on-quit
|
||||||
\ on-redraw
|
\ on-redraw
|
||||||
\ on-select
|
\ on-select
|
||||||
@ -195,9 +197,17 @@ syn keyword lfOptions
|
|||||||
\ top
|
\ top
|
||||||
\ truncatechar
|
\ truncatechar
|
||||||
\ truncatepct
|
\ truncatepct
|
||||||
|
\ tty-write
|
||||||
\ unselect
|
\ unselect
|
||||||
\ up
|
\ up
|
||||||
\ updir
|
\ updir
|
||||||
|
\ visual
|
||||||
|
\ visual-accept
|
||||||
|
\ visual-change
|
||||||
|
\ visual-discard
|
||||||
|
\ visual-unselect
|
||||||
|
\ visualfmt
|
||||||
|
\ vmaps
|
||||||
\ waitmsg
|
\ waitmsg
|
||||||
\ watch
|
\ watch
|
||||||
\ wrapscan
|
\ wrapscan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user