mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
parent
da13ed43cb
commit
e8caaab6bf
@ -588,7 +588,8 @@ i) *v_i)* *i)* *i(*
|
||||
i( *vib* *v_ib* *v_i(* *ib*
|
||||
ib "inner block", select [count] blocks, from "[count] [("
|
||||
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.
|
||||
|
||||
a> *v_a>* *v_a<* *a>* *a<*
|
||||
|
@ -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
|
||||
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' number (default 7)
|
||||
|
@ -1,11 +1,29 @@
|
||||
" Elixir filetype plugin
|
||||
" Language: Elixir
|
||||
" Maintainer: Mitchell Hanberg <vimNOSPAM@mitchellhanberg.com>
|
||||
" Last Change: 2022 Apr 20
|
||||
" Last Change: 2022 August 10
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
@ -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
|
||||
synload.vim.
|
||||
|
||||
The "shared" directory contains generated files and what is used by more than
|
||||
one syntax.
|
||||
|
||||
|
||||
A few special files:
|
||||
|
||||
|
2
runtime/syntax/shared/README.txt
Normal file
2
runtime/syntax/shared/README.txt
Normal 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.
|
2099
runtime/syntax/shared/typescriptcommon.vim
Normal file
2099
runtime/syntax/shared/typescriptcommon.vim
Normal file
File diff suppressed because it is too large
Load Diff
@ -2,8 +2,8 @@
|
||||
" Language: sway window manager config
|
||||
" Original Author: James Eapen <james.eapen@vai.org>
|
||||
" Maintainer: James Eapen <james.eapen@vai.org>
|
||||
" Version: 0.11.0
|
||||
" Last Change: 2022 Jun 07
|
||||
" Version: 0.11.1
|
||||
" Last Change: 2022 Aug 08
|
||||
|
||||
" References:
|
||||
" 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 swayConfigBindGesturePinchDirection inward outward clockwise counterclockwise contained
|
||||
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 swayConfigBindGesturePinch /^\s*\(bindgesture\)\s\+\(pinch\):.*$/ contains=swayConfigBindKeyword,swayConfigBindGestureCommand,swayConfigBindGestureDirection,swayConfigBindGesturePinchDirection,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\(:[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
|
||||
syn keyword swayConfigFloatingKeyword floating contained
|
||||
|
@ -35,7 +35,7 @@ syntax region typescriptTypeCast matchgroup=typescriptTypeBrackets
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Source the part common with typescriptreact.vim
|
||||
source <sfile>:h/typescriptcommon.vim
|
||||
source <sfile>:h/shared/typescriptcommon.vim
|
||||
|
||||
|
||||
let b:current_syntax = "typescript"
|
||||
|
@ -133,7 +133,7 @@ syntax region tsxEscJs
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Source the part common with typescriptreact.vim
|
||||
source <sfile>:h/typescriptcommon.vim
|
||||
source <sfile>:h/shared/typescriptcommon.vim
|
||||
|
||||
|
||||
syntax cluster typescriptExpression add=tsxRegion,tsxFragment
|
||||
|
Loading…
Reference in New Issue
Block a user