vim-patch:e1f3fd1d02e3 (#19796)

Update runtime files
e1f3fd1d02
This commit is contained in:
Christian Clason 2022-08-16 09:53:04 +02:00 committed by GitHub
parent da13ed43cb
commit e8caaab6bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 2133 additions and 9 deletions

View File

@ -588,7 +588,8 @@ i) *v_i)* *i)* *i(*
i( *vib* *v_ib* *v_i(* *ib* i( *vib* *v_ib* *v_i(* *ib*
ib "inner block", select [count] blocks, from "[count] [(" ib "inner block", select [count] blocks, from "[count] [("
to the matching ')', excluding the '(' and ')' (see to the matching ')', excluding the '(' and ')' (see
|[(|). |[(|). If the cursor is not inside a () block, then
find the next "(".
When used in Visual mode it is made charwise. When used in Visual mode it is made charwise.
a> *v_a>* *v_a<* *a>* *a<* a> *v_a>* *v_a<* *a>* *a<*

View File

@ -1326,7 +1326,8 @@ A jump table for the options with a short description can be found at |Q_op|.
When 'cmdheight' is zero, there is no command-line unless it is being When 'cmdheight' is zero, there is no command-line unless it is being
used. Some informative messages will not be displayed, any other used. Some informative messages will not be displayed, any other
messages will cause the |hit-enter| prompt. messages will cause the |hit-enter| prompt. Expect some other
unexpected behavior too.
*'cmdwinheight'* *'cwh'* *'cmdwinheight'* *'cwh'*
'cmdwinheight' 'cwh' number (default 7) 'cmdwinheight' 'cwh' number (default 7)

View File

@ -1,11 +1,29 @@
" Elixir filetype plugin " Elixir filetype plugin
" Language: Elixir " Language: Elixir
" Maintainer: Mitchell Hanberg <vimNOSPAM@mitchellhanberg.com> " Maintainer: Mitchell Hanberg <vimNOSPAM@mitchellhanberg.com>
" Last Change: 2022 Apr 20 " Last Change: 2022 August 10
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let s:save_cpo = &cpo
set cpo&vim
" Matchit support
if exists('loaded_matchit') && !exists('b:match_words')
let b:match_ignorecase = 0
let b:match_words = '\:\@<!\<\%(do\|fn\)\:\@!\>' .
\ ':' .
\ '\<\%(else\|catch\|after\|rescue\)\:\@!\>' .
\ ':' .
\ '\:\@<!\<end\>' .
\ ',{:},\[:\],(:)'
endif
setlocal commentstring=#\ %s setlocal commentstring=#\ %s
let &cpo = s:save_cpo
unlet s:save_cpo

View File

@ -13,6 +13,9 @@ synload.vim Contains autocommands to load a language file when a certain
nosyntax.vim Used for the ":syntax off" command. Undo the loading of nosyntax.vim Used for the ":syntax off" command. Undo the loading of
synload.vim. synload.vim.
The "shared" directory contains generated files and what is used by more than
one syntax.
A few special files: A few special files:

View File

@ -0,0 +1,2 @@
This directory "runtime/syntax/shared" contains Vim script files that are
generated or used by more then one syntax file.

File diff suppressed because it is too large Load Diff

View File

@ -2,8 +2,8 @@
" Language: sway window manager config " Language: sway window manager config
" Original Author: James Eapen <james.eapen@vai.org> " Original Author: James Eapen <james.eapen@vai.org>
" Maintainer: James Eapen <james.eapen@vai.org> " Maintainer: James Eapen <james.eapen@vai.org>
" Version: 0.11.0 " Version: 0.11.1
" Last Change: 2022 Jun 07 " Last Change: 2022 Aug 08
" References: " References:
" http://i3wm.org/docs/userguide.html#configuring " http://i3wm.org/docs/userguide.html#configuring
@ -36,8 +36,8 @@ syn keyword swayConfigBindGestureCommand swipe pinch hold contained
syn keyword swayConfigBindGestureDirection up down left right next prev contained syn keyword swayConfigBindGestureDirection up down left right next prev contained
syn keyword swayConfigBindGesturePinchDirection inward outward clockwise counterclockwise contained syn keyword swayConfigBindGesturePinchDirection inward outward clockwise counterclockwise contained
syn match swayConfigBindGestureHold /^\s*\(bindgesture\)\s\+hold\(:[1-5]\)\?\s\+.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,i3ConfigWorkspaceKeyword,i3ConfigAction syn match swayConfigBindGestureHold /^\s*\(bindgesture\)\s\+hold\(:[1-5]\)\?\s\+.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,i3ConfigWorkspaceKeyword,i3ConfigAction
syn match swayConfigBindGestureSwipe /^\s*\(bindgesture\)\s\+swipe\(:[1-5]\)\?:\(up\|down\|left\|right\)\s\+.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,i3ConfigWorkspaceKeyword,i3ConfigAction syn match swayConfigBindGestureSwipe /^\s*\(bindgesture\)\s\+swipe\(:[3-5]\)\?:\(up\|down\|left\|right\)\s\+.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,i3ConfigWorkspaceKeyword,i3ConfigAction
syn match swayConfigBindGesturePinch /^\s*\(bindgesture\)\s\+\(pinch\):.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,swayConfigBindGesturePinchDirection,i3ConfigWorkspaceKeyword,i3ConfigAction syn match swayConfigBindGesturePinch /^\s*\(bindgesture\)\s\+pinch\(:[2-5]\)\?:\(up\|down\|left\|right\|inward\|outward\|clockwise\|counterclockwise\)\(+\(up\|down\|left\|right\|inward\|outward\|clockwise\|counterclockwise\)\)\?.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,swayConfigBindGesturePinchDirection,i3ConfigWorkspaceKeyword,i3ConfigAction
" floating " floating
syn keyword swayConfigFloatingKeyword floating contained syn keyword swayConfigFloatingKeyword floating contained

View File

@ -35,7 +35,7 @@ syntax region typescriptTypeCast matchgroup=typescriptTypeBrackets
""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""
" Source the part common with typescriptreact.vim " Source the part common with typescriptreact.vim
source <sfile>:h/typescriptcommon.vim source <sfile>:h/shared/typescriptcommon.vim
let b:current_syntax = "typescript" let b:current_syntax = "typescript"

View File

@ -133,7 +133,7 @@ syntax region tsxEscJs
""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""
" Source the part common with typescriptreact.vim " Source the part common with typescriptreact.vim
source <sfile>:h/typescriptcommon.vim source <sfile>:h/shared/typescriptcommon.vim
syntax cluster typescriptExpression add=tsxRegion,tsxFragment syntax cluster typescriptExpression add=tsxRegion,tsxFragment