mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
Update runtime files.
This commit is contained in:
parent
3a29abcb61
commit
690afe1fef
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 14
|
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -2222,8 +2222,8 @@ matchstr({expr}, {pat}[, {start}[, {count}]])
|
|||||||
String {count}'th match of {pat} in {expr}
|
String {count}'th match of {pat} in {expr}
|
||||||
matchstrpos({expr}, {pat}[, {start}[, {count}]])
|
matchstrpos({expr}, {pat}[, {start}[, {count}]])
|
||||||
List {count}'th match of {pat} in {expr}
|
List {count}'th match of {pat} in {expr}
|
||||||
max({list}) Number maximum value of items in {list}
|
max({expr}) Number maximum value of items in {expr}
|
||||||
min({list}) Number minimum value of items in {list}
|
min({expr}) Number minimum value of items in {expr}
|
||||||
mkdir({name} [, {path} [, {prot}]])
|
mkdir({name} [, {path} [, {prot}]])
|
||||||
Number create directory {name}
|
Number create directory {name}
|
||||||
mode([expr]) String current editing mode
|
mode([expr]) String current editing mode
|
||||||
@ -4172,6 +4172,10 @@ getchar([expr]) *getchar()*
|
|||||||
exe "normal " . v:mouse_col . "|"
|
exe "normal " . v:mouse_col . "|"
|
||||||
endif
|
endif
|
||||||
<
|
<
|
||||||
|
When using bracketed paste only the first character is
|
||||||
|
returned, the rest of the pasted text is dropped.
|
||||||
|
|xterm-bracketed-paste|.
|
||||||
|
|
||||||
There is no prompt, you will somehow have to make clear to the
|
There is no prompt, you will somehow have to make clear to the
|
||||||
user that a character has to be typed.
|
user that a character has to be typed.
|
||||||
There is no mapping for the character.
|
There is no mapping for the character.
|
||||||
@ -5797,16 +5801,20 @@ matchstrpos({expr}, {pat}[, {start}[, {count}]]) *matchstrpos()*
|
|||||||
The type isn't changed, it's not necessarily a String.
|
The type isn't changed, it's not necessarily a String.
|
||||||
|
|
||||||
*max()*
|
*max()*
|
||||||
max({list}) Return the maximum value of all items in {list}.
|
max({expr}) Return the maximum value of all items in {expr}.
|
||||||
If {list} is not a list or one of the items in {list} cannot
|
{expr} can be a list or a dictionary. For a dictionary,
|
||||||
be used as a Number this results in an error.
|
it returns the maximum of all values in the dictionary.
|
||||||
An empty |List| results in zero.
|
If {expr} is neither a list nor a dictionary, or one of the
|
||||||
|
items in {expr} cannot be used as a Number this results in
|
||||||
|
an error. An empty |List| or |Dictionary| results in zero.
|
||||||
|
|
||||||
*min()*
|
*min()*
|
||||||
min({list}) Return the minimum value of all items in {list}.
|
min({expr}) Return the minimum value of all items in {expr}.
|
||||||
If {list} is not a list or one of the items in {list} cannot
|
{expr} can be a list or a dictionary. For a dictionary,
|
||||||
be used as a Number this results in an error.
|
it returns the minimum of all values in the dictionary.
|
||||||
An empty |List| results in zero.
|
If {expr} is neither a list nor a dictionary, or one of the
|
||||||
|
items in {expr} cannot be used as a Number this results in
|
||||||
|
an error. An empty |List| or |Dictionary| results in zero.
|
||||||
|
|
||||||
*mkdir()* *E739*
|
*mkdir()* *E739*
|
||||||
mkdir({name} [, {path} [, {prot}]])
|
mkdir({name} [, {path} [, {prot}]])
|
||||||
@ -8146,7 +8154,7 @@ winnr([{arg}]) The result is a Number, which is the number of the current
|
|||||||
is returned.
|
is returned.
|
||||||
The number can be used with |CTRL-W_w| and ":wincmd w"
|
The number can be used with |CTRL-W_w| and ":wincmd w"
|
||||||
|:wincmd|.
|
|:wincmd|.
|
||||||
Also see |tabpagewinnr()|.
|
Also see |tabpagewinnr()| and |win_getid()|.
|
||||||
|
|
||||||
*winrestcmd()*
|
*winrestcmd()*
|
||||||
winrestcmd() Returns a sequence of |:resize| commands that should restore
|
winrestcmd() Returns a sequence of |:resize| commands that should restore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*if_pyth.txt* For Vim version 8.0. Last change: 2016 Sep 17
|
*if_pyth.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Paul Moore
|
VIM REFERENCE MANUAL by Paul Moore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.0. Last change: 2017 Jan 15
|
*options.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 8.0. Last change: 2016 Oct 30
|
*syntax.txt* For Vim version 8.0. Last change: 2017 Jan 17
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -3479,6 +3479,8 @@ DEFINING CASE *:syn-case* *E390*
|
|||||||
"ignore". Note that any items before this are not affected, and all
|
"ignore". Note that any items before this are not affected, and all
|
||||||
items until the next ":syntax case" command are affected.
|
items until the next ":syntax case" command are affected.
|
||||||
|
|
||||||
|
:sy[ntax] case
|
||||||
|
Show either "syntax case match" or "syntax case ignore" (translated).
|
||||||
|
|
||||||
SPELL CHECKING *:syn-spell*
|
SPELL CHECKING *:syn-spell*
|
||||||
|
|
||||||
@ -3496,6 +3498,11 @@ SPELL CHECKING *:syn-spell*
|
|||||||
|
|
||||||
To activate spell checking the 'spell' option must be set.
|
To activate spell checking the 'spell' option must be set.
|
||||||
|
|
||||||
|
:sy[ntax] spell
|
||||||
|
Show either "syntax spell toplevel", "syntax spell notoplevel" or
|
||||||
|
"syntax spell default" (translated).
|
||||||
|
|
||||||
|
|
||||||
SYNTAX ISKEYWORD SETTING *:syn-iskeyword*
|
SYNTAX ISKEYWORD SETTING *:syn-iskeyword*
|
||||||
|
|
||||||
:sy[ntax] iskeyword [clear | {option}]
|
:sy[ntax] iskeyword [clear | {option}]
|
||||||
@ -4089,6 +4096,9 @@ IMPLICIT CONCEAL *:syn-conceal-implicit*
|
|||||||
off" returns to the normal state where the "conceal" flag must be
|
off" returns to the normal state where the "conceal" flag must be
|
||||||
given explicitly.
|
given explicitly.
|
||||||
|
|
||||||
|
:sy[ntax] conceal
|
||||||
|
Show either "syntax conceal on" or "syntax conceal off" (translated).
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. Syntax patterns *:syn-pattern* *E401* *E402*
|
7. Syntax patterns *:syn-pattern* *E401* *E402*
|
||||||
|
|
||||||
|
@ -774,6 +774,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'pvw' options.txt /*'pvw'*
|
'pvw' options.txt /*'pvw'*
|
||||||
'pythondll' options.txt /*'pythondll'*
|
'pythondll' options.txt /*'pythondll'*
|
||||||
'pythonthreedll' options.txt /*'pythonthreedll'*
|
'pythonthreedll' options.txt /*'pythonthreedll'*
|
||||||
|
'pyx' options.txt /*'pyx'*
|
||||||
|
'pyxversion' options.txt /*'pyxversion'*
|
||||||
'qe' options.txt /*'qe'*
|
'qe' options.txt /*'qe'*
|
||||||
'quote motion.txt /*'quote*
|
'quote motion.txt /*'quote*
|
||||||
'quoteescape' options.txt /*'quoteescape'*
|
'quoteescape' options.txt /*'quoteescape'*
|
||||||
@ -923,6 +925,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
't_AB' term.txt /*'t_AB'*
|
't_AB' term.txt /*'t_AB'*
|
||||||
't_AF' term.txt /*'t_AF'*
|
't_AF' term.txt /*'t_AF'*
|
||||||
't_AL' term.txt /*'t_AL'*
|
't_AL' term.txt /*'t_AL'*
|
||||||
|
't_BD' term.txt /*'t_BD'*
|
||||||
|
't_BE' term.txt /*'t_BE'*
|
||||||
't_CS' term.txt /*'t_CS'*
|
't_CS' term.txt /*'t_CS'*
|
||||||
't_CV' term.txt /*'t_CV'*
|
't_CV' term.txt /*'t_CV'*
|
||||||
't_Ce' term.txt /*'t_Ce'*
|
't_Ce' term.txt /*'t_Ce'*
|
||||||
@ -2722,6 +2726,10 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:pyfile if_pyth.txt /*:pyfile*
|
:pyfile if_pyth.txt /*:pyfile*
|
||||||
:python if_pyth.txt /*:python*
|
:python if_pyth.txt /*:python*
|
||||||
:python3 if_pyth.txt /*:python3*
|
:python3 if_pyth.txt /*:python3*
|
||||||
|
:pythonx if_pyth.txt /*:pythonx*
|
||||||
|
:pyx if_pyth.txt /*:pyx*
|
||||||
|
:pyxdo if_pyth.txt /*:pyxdo*
|
||||||
|
:pyxfile if_pyth.txt /*:pyxfile*
|
||||||
:q editing.txt /*:q*
|
:q editing.txt /*:q*
|
||||||
:qa editing.txt /*:qa*
|
:qa editing.txt /*:qa*
|
||||||
:qall editing.txt /*:qall*
|
:qall editing.txt /*:qall*
|
||||||
@ -4770,6 +4778,8 @@ W16 message.txt /*W16*
|
|||||||
W17 arabic.txt /*W17*
|
W17 arabic.txt /*W17*
|
||||||
W18 syntax.txt /*W18*
|
W18 syntax.txt /*W18*
|
||||||
W19 autocmd.txt /*W19*
|
W19 autocmd.txt /*W19*
|
||||||
|
W20 if_pyth.txt /*W20*
|
||||||
|
W21 if_pyth.txt /*W21*
|
||||||
WORD motion.txt /*WORD*
|
WORD motion.txt /*WORD*
|
||||||
WWW intro.txt /*WWW*
|
WWW intro.txt /*WWW*
|
||||||
Win32 os_win32.txt /*Win32*
|
Win32 os_win32.txt /*Win32*
|
||||||
@ -6603,6 +6613,7 @@ hangulin.txt hangulin.txt /*hangulin.txt*
|
|||||||
has() eval.txt /*has()*
|
has() eval.txt /*has()*
|
||||||
has-patch eval.txt /*has-patch*
|
has-patch eval.txt /*has-patch*
|
||||||
has-python if_pyth.txt /*has-python*
|
has-python if_pyth.txt /*has-python*
|
||||||
|
has-pythonx if_pyth.txt /*has-pythonx*
|
||||||
has_key() eval.txt /*has_key()*
|
has_key() eval.txt /*has_key()*
|
||||||
haskell.vim syntax.txt /*haskell.vim*
|
haskell.vim syntax.txt /*haskell.vim*
|
||||||
haslocaldir() eval.txt /*haslocaldir()*
|
haslocaldir() eval.txt /*haslocaldir()*
|
||||||
@ -7901,7 +7912,11 @@ python.vim syntax.txt /*python.vim*
|
|||||||
python2-directory if_pyth.txt /*python2-directory*
|
python2-directory if_pyth.txt /*python2-directory*
|
||||||
python3 if_pyth.txt /*python3*
|
python3 if_pyth.txt /*python3*
|
||||||
python3-directory if_pyth.txt /*python3-directory*
|
python3-directory if_pyth.txt /*python3-directory*
|
||||||
|
python_x if_pyth.txt /*python_x*
|
||||||
|
python_x-special-comments if_pyth.txt /*python_x-special-comments*
|
||||||
|
pythonx if_pyth.txt /*pythonx*
|
||||||
pythonx-directory if_pyth.txt /*pythonx-directory*
|
pythonx-directory if_pyth.txt /*pythonx-directory*
|
||||||
|
pyxeval() eval.txt /*pyxeval()*
|
||||||
q repeat.txt /*q*
|
q repeat.txt /*q*
|
||||||
q/ cmdline.txt /*q\/*
|
q/ cmdline.txt /*q\/*
|
||||||
q: cmdline.txt /*q:*
|
q: cmdline.txt /*q:*
|
||||||
@ -8443,6 +8458,8 @@ t_@7 term.txt /*t_@7*
|
|||||||
t_AB term.txt /*t_AB*
|
t_AB term.txt /*t_AB*
|
||||||
t_AF term.txt /*t_AF*
|
t_AF term.txt /*t_AF*
|
||||||
t_AL term.txt /*t_AL*
|
t_AL term.txt /*t_AL*
|
||||||
|
t_BD term.txt /*t_BD*
|
||||||
|
t_BE term.txt /*t_BE*
|
||||||
t_CS term.txt /*t_CS*
|
t_CS term.txt /*t_CS*
|
||||||
t_CV term.txt /*t_CV*
|
t_CV term.txt /*t_CV*
|
||||||
t_Ce term.txt /*t_Ce*
|
t_Ce term.txt /*t_Ce*
|
||||||
@ -8481,6 +8498,8 @@ t_KI term.txt /*t_KI*
|
|||||||
t_KJ term.txt /*t_KJ*
|
t_KJ term.txt /*t_KJ*
|
||||||
t_KK term.txt /*t_KK*
|
t_KK term.txt /*t_KK*
|
||||||
t_KL term.txt /*t_KL*
|
t_KL term.txt /*t_KL*
|
||||||
|
t_PE term.txt /*t_PE*
|
||||||
|
t_PS term.txt /*t_PS*
|
||||||
t_RB term.txt /*t_RB*
|
t_RB term.txt /*t_RB*
|
||||||
t_RI term.txt /*t_RI*
|
t_RI term.txt /*t_RI*
|
||||||
t_RV term.txt /*t_RV*
|
t_RV term.txt /*t_RV*
|
||||||
@ -9332,6 +9351,7 @@ xterm-8-bit term.txt /*xterm-8-bit*
|
|||||||
xterm-8bit term.txt /*xterm-8bit*
|
xterm-8bit term.txt /*xterm-8bit*
|
||||||
xterm-blink syntax.txt /*xterm-blink*
|
xterm-blink syntax.txt /*xterm-blink*
|
||||||
xterm-blinking-cursor syntax.txt /*xterm-blinking-cursor*
|
xterm-blinking-cursor syntax.txt /*xterm-blinking-cursor*
|
||||||
|
xterm-bracketed-paste term.txt /*xterm-bracketed-paste*
|
||||||
xterm-clipboard term.txt /*xterm-clipboard*
|
xterm-clipboard term.txt /*xterm-clipboard*
|
||||||
xterm-codes term.txt /*xterm-codes*
|
xterm-codes term.txt /*xterm-codes*
|
||||||
xterm-color syntax.txt /*xterm-color*
|
xterm-color syntax.txt /*xterm-color*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*term.txt* For Vim version 8.0. Last change: 2016 Sep 02
|
*term.txt* For Vim version 8.0. Last change: 2017 Jan 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -99,7 +99,12 @@ is used.
|
|||||||
|
|
||||||
Note that in some situations Vim will not recognize the bracketed paste and
|
Note that in some situations Vim will not recognize the bracketed paste and
|
||||||
you will get the raw text. In other situations Vim will only get the first
|
you will get the raw text. In other situations Vim will only get the first
|
||||||
pasted character and drop the rest, e.g. when using the "r" command.
|
pasted character and drop the rest, e.g. when using the "r" command. If you
|
||||||
|
have a problem with this, disable bracketed paste by putting this in your
|
||||||
|
.vimrc: >
|
||||||
|
set t_BE=
|
||||||
|
If this is done while Vim is running the 't_BD' will be sent to the terminal
|
||||||
|
to disable bracketed paste.
|
||||||
|
|
||||||
*cs7-problem*
|
*cs7-problem*
|
||||||
Note: If the terminal settings are changed after running Vim, you might have
|
Note: If the terminal settings are changed after running Vim, you might have
|
||||||
@ -414,7 +419,7 @@ Note: Use the <> form if possible
|
|||||||
t_KK <k8> keypad 8 *<k8>* *t_KK* *'t_KK'*
|
t_KK <k8> keypad 8 *<k8>* *t_KK* *'t_KK'*
|
||||||
t_KL <k9> keypad 9 *<k9>* *t_KL* *'t_KL'*
|
t_KL <k9> keypad 9 *<k9>* *t_KL* *'t_KL'*
|
||||||
<Mouse> leader of mouse code *<Mouse>*
|
<Mouse> leader of mouse code *<Mouse>*
|
||||||
t_PS start of brackted paste |xterm-bracketed-paste| *t_PS* 't_PS'
|
t_PS start of bracketed paste |xterm-bracketed-paste| *t_PS* 't_PS'
|
||||||
t_PE end of bracketed paste |xterm-bracketed-paste| *t_PE* 't_PE'
|
t_PE end of bracketed paste |xterm-bracketed-paste| *t_PE* 't_PE'
|
||||||
|
|
||||||
Note about t_so and t_mr: When the termcap entry "so" is not present the
|
Note about t_so and t_mr: When the termcap entry "so" is not present the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 8.0. Last change: 2017 Jan 16
|
*todo.txt* For Vim version 8.0. Last change: 2017 Jan 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -35,8 +35,6 @@ entered there will not be repeated below, unless there is extra information.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
get_syn_options() does not respect skip in else part. (Zyx)
|
|
||||||
|
|
||||||
+channel:
|
+channel:
|
||||||
- Try out background make plugin:
|
- Try out background make plugin:
|
||||||
https://github.com/AndrewVos/vim-make-background
|
https://github.com/AndrewVos/vim-make-background
|
||||||
@ -60,6 +58,7 @@ get_syn_options() does not respect skip in else part. (Zyx)
|
|||||||
connecting in the main loop with zero timeout.
|
connecting in the main loop with zero timeout.
|
||||||
- job_start(): run job in a newly opened terminal.
|
- job_start(): run job in a newly opened terminal.
|
||||||
With xterm could use -S{pty}.
|
With xterm could use -S{pty}.
|
||||||
|
Although user could use "xterm -e 'cmd arg'".
|
||||||
|
|
||||||
Regexp problems:
|
Regexp problems:
|
||||||
- Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
|
- Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
|
||||||
@ -108,40 +107,27 @@ Regexp problems:
|
|||||||
|
|
||||||
'] mark invalid after undoing insert "hello".
|
'] mark invalid after undoing insert "hello".
|
||||||
|
|
||||||
Make html indent file use javascript indent, now that it's not just cindent.
|
|
||||||
#1220
|
|
||||||
|
|
||||||
Concatenation with null string causes an error: 'a'[1:0] .. 'b'
|
|
||||||
Might as well handle it like an empty string.
|
|
||||||
|
|
||||||
When using symbolic links, a package path will not be inserted at the right
|
When using symbolic links, a package path will not be inserted at the right
|
||||||
position in 'runtimepath'. (Dugan Chen, 2016 Nov 18)
|
position in 'runtimepath'. (Dugan Chen, 2016 Nov 18)
|
||||||
|
|
||||||
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
|
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
|
||||||
What if there is an invalid character?
|
What if there is an invalid character?
|
||||||
|
|
||||||
Include rust files. (Klabnik, #1356)
|
|
||||||
|
|
||||||
Allow using json with empty key? Dict already has it.
|
Allow using json with empty key? Dict already has it.
|
||||||
|
|
||||||
Json string with trailing \u should be an error. (Lcd)
|
Json string with trailing \u should be an error. (Lcd)
|
||||||
|
|
||||||
Patch to deal with changed configure events in GTK 3. (Jan Alexander Steffens,
|
|
||||||
2016 Oct 23 #1193)
|
|
||||||
Remarks from nuko8, 2016 Nov 2.
|
|
||||||
|
|
||||||
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
|
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
|
||||||
|
|
||||||
Patch to change order of compiler flags. (Yousong Zhou, 2016 Sep 19, #1100)
|
Patch: Make mode() return "ix" or "Rx" when in completion mode.
|
||||||
|
(Yegappan Lakshmanan, 2017 Jan 19, #1397, update Jan 22)
|
||||||
|
|
||||||
Patch to add command line completion for :cexpr commands. (Yegappan
|
With Visual selection of a multi-byte character the '] mark is on the last
|
||||||
Lakshmanan, 2016 Dec 13)
|
byte, should be first byte?
|
||||||
|
|
||||||
Patch for :pyx, run python commands depending on the supported version.
|
When session file has name in argument list but the buffer was deleted, the
|
||||||
(Marc Weber, update from Ken Takata, 2016 Sep 19, 2017 Jan 6)
|
buffer is not deleted when using the session file. (#1393)
|
||||||
|
Should add the buffer in hidden state.
|
||||||
Patch to avoid warnings for overflow. (Mike Williams, 2016 Dec 16)
|
|
||||||
Update Dec 19.
|
|
||||||
|
|
||||||
When an item in the quickfix list has a file name that does not exist, behave
|
When an item in the quickfix list has a file name that does not exist, behave
|
||||||
like the item was not a match for :cnext.
|
like the item was not a match for :cnext.
|
||||||
@ -150,18 +136,13 @@ Wrong diff highlighting with three files. (2016 Oct 20, #1186)
|
|||||||
Also get E749 on exit.
|
Also get E749 on exit.
|
||||||
Another example in #1309
|
Another example in #1309
|
||||||
|
|
||||||
Patch to fix vim_iswordp() works differently on chars <256 that are two bytes.
|
Completion for user-defined commands does not work if a few chararacters were
|
||||||
Ozaki Kiichi, 2016 Dec 11.
|
already typed. (Dominique, 2017 Jan 26)
|
||||||
|
|
||||||
When deleting a mark or register, leave a tombstone, so that it's also deleted
|
When deleting a mark or register, leave a tombstone, so that it's also deleted
|
||||||
when writing viminfo (and the delete was the most recent action). #1339
|
when writing viminfo (and the delete was the most recent action). #1339
|
||||||
|
|
||||||
Relevant neovim patch:
|
Relevant neovim patch:
|
||||||
https://github.com/neovim/neovim/pull/5717
|
|
||||||
test case:
|
|
||||||
https://github.com/neovim/neovim/pull/5717#issuecomment-264845481
|
|
||||||
Others:
|
|
||||||
https://github.com/neovim/neovim/issues/5713#issuecomment-265136186
|
|
||||||
https://github.com/neovim/neovim/pull/5737#issuecomment-266055165
|
https://github.com/neovim/neovim/pull/5737#issuecomment-266055165
|
||||||
|
|
||||||
Patch for better explanation of 'compatible' side effects.
|
Patch for better explanation of 'compatible' side effects.
|
||||||
@ -199,6 +180,10 @@ Patch for restoring wide characters in the console buffer.
|
|||||||
Patch to fix escaping of job arguments. (Yasuhiro Matsumoto, 2016 Oct 5)
|
Patch to fix escaping of job arguments. (Yasuhiro Matsumoto, 2016 Oct 5)
|
||||||
Update Oct 14: https://gist.github.com/mattn/d47e7d3bfe5ade4be86062b565a4bfca
|
Update Oct 14: https://gist.github.com/mattn/d47e7d3bfe5ade4be86062b565a4bfca
|
||||||
|
|
||||||
|
The TermResponse event is not triggered when a plugin has set 'eventignore' to
|
||||||
|
"all". Netrw does this. (Gary Johnson, 2017 Jan 24)
|
||||||
|
Postpone the event until 'eventignore' is reset.
|
||||||
|
|
||||||
Once .exe with updated installer is available: Add remark to download page
|
Once .exe with updated installer is available: Add remark to download page
|
||||||
about /S and /D options (Ken Takata, 2016 Apr 13)
|
about /S and /D options (Ken Takata, 2016 Apr 13)
|
||||||
Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
|
Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
|
||||||
@ -220,6 +205,7 @@ lines: :g/^/normal yyp On Unix it works OK. (Bryce Orgill, 2016 Nov 5)
|
|||||||
|
|
||||||
Patch for wrong cursor position on wrapped line, involving breakindent.
|
Patch for wrong cursor position on wrapped line, involving breakindent.
|
||||||
(Ozaki Kiichi, 2016 Nov 25)
|
(Ozaki Kiichi, 2016 Nov 25)
|
||||||
|
Does this also fix #1408 ?
|
||||||
|
|
||||||
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
|
||||||
|
|
||||||
@ -569,6 +555,9 @@ Patch to add :mapgroup, put mappings in a group like augroup.
|
|||||||
Value returned by virtcol() changes depending on how lines wrap. This is
|
Value returned by virtcol() changes depending on how lines wrap. This is
|
||||||
inconsistent with the documentation.
|
inconsistent with the documentation.
|
||||||
|
|
||||||
|
Value of virtcol() for '[ and '] depend on multi-byte character.
|
||||||
|
(Luchr, #277)
|
||||||
|
|
||||||
Can we cache the syntax attributes, so that updates for 'relativenumber' and
|
Can we cache the syntax attributes, so that updates for 'relativenumber' and
|
||||||
'cursorline'/'cursorcolumn' are a lot faster?
|
'cursorline'/'cursorcolumn' are a lot faster?
|
||||||
|
|
||||||
@ -1061,9 +1050,6 @@ Aug 16)
|
|||||||
When there are no command line arguments ":next" and ":argu" give E163, which
|
When there are no command line arguments ":next" and ":argu" give E163, which
|
||||||
is confusing. Should say "the argument list is empty".
|
is confusing. Should say "the argument list is empty".
|
||||||
|
|
||||||
xterm supports escape sequences to mark a paste operation. Need to be
|
|
||||||
enabled. (Bruno Sutic, 2014 Jul 11) How to know the terminal supports this?
|
|
||||||
|
|
||||||
URXVT:
|
URXVT:
|
||||||
- will get stuck if byte sequence does not contain the expected semicolon.
|
- will get stuck if byte sequence does not contain the expected semicolon.
|
||||||
- Use urxvt mouse support also in xterm. Explanations:
|
- Use urxvt mouse support also in xterm. Explanations:
|
||||||
|
@ -1000,6 +1000,7 @@ Various: *various-functions*
|
|||||||
perleval() evaluate Perl expression (|+perl|)
|
perleval() evaluate Perl expression (|+perl|)
|
||||||
py3eval() evaluate Python expression (|+python3|)
|
py3eval() evaluate Python expression (|+python3|)
|
||||||
pyeval() evaluate Python expression (|+python|)
|
pyeval() evaluate Python expression (|+python|)
|
||||||
|
pyxeval() evaluate |python_x| expression
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*41.7* Defining a function
|
*41.7* Defining a function
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: man
|
" Language: man
|
||||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
||||||
" Last Change: 2017 Jan 04
|
" Last Change: 2017 Jan 18
|
||||||
|
|
||||||
" To make the ":Man" command available before editing a manual page, source
|
" To make the ":Man" command available before editing a manual page, source
|
||||||
" this script from your startup vimrc file.
|
" this script from your startup vimrc file.
|
||||||
@ -97,7 +97,7 @@ func <SID>GetCmdArg(sect, page)
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func <SID>FindPage(sect, page)
|
func <SID>FindPage(sect, page)
|
||||||
let where = system("/usr/bin/man ".s:man_find_arg.' '.s:GetCmdArg(a:sect, a:page))
|
let where = system("man ".s:man_find_arg.' '.s:GetCmdArg(a:sect, a:page))
|
||||||
if where !~ "^/"
|
if where !~ "^/"
|
||||||
if matchstr(where, " [^ ]*$") !~ "^ /"
|
if matchstr(where, " [^ ]*$") !~ "^ /"
|
||||||
return 0
|
return 0
|
||||||
@ -176,7 +176,7 @@ func <SID>GetPage(...)
|
|||||||
let $MANWIDTH = winwidth(0)
|
let $MANWIDTH = winwidth(0)
|
||||||
let unsetwidth = 1
|
let unsetwidth = 1
|
||||||
endif
|
endif
|
||||||
silent exec "r!/usr/bin/man ".s:GetCmdArg(sect, page)." | col -b"
|
silent exec "r !man ".s:GetCmdArg(sect, page)." | col -b"
|
||||||
if unsetwidth
|
if unsetwidth
|
||||||
let $MANWIDTH = ''
|
let $MANWIDTH = ''
|
||||||
endif
|
endif
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
" Header: "{{{
|
" Header: "{{{
|
||||||
" Maintainer: Bram Moolenaar
|
" Maintainer: Bram Moolenaar
|
||||||
" Original Author: Andy Wokula <anwoku@yahoo.de>
|
" Original Author: Andy Wokula <anwoku@yahoo.de>
|
||||||
" Last Change: 2016 Mar 30
|
" Last Change: 2017 Jan 17
|
||||||
" Version: 1.0
|
" Version: 1.0
|
||||||
" Description: HTML indent script with cached state for faster indenting on a
|
" Description: HTML indent script with cached state for faster indenting on a
|
||||||
" range of lines.
|
" range of lines.
|
||||||
@ -25,27 +25,22 @@
|
|||||||
if exists("b:did_indent") "{{{
|
if exists("b:did_indent") "{{{
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Load the Javascript indent script first, it defines GetJavascriptIndent().
|
||||||
|
" Undo the rest.
|
||||||
|
" Load base python indent.
|
||||||
|
if !exists('*GetJavascriptIndent')
|
||||||
|
runtime! indent/javascript.vim
|
||||||
|
endif
|
||||||
let b:did_indent = 1
|
let b:did_indent = 1
|
||||||
|
|
||||||
setlocal indentexpr=HtmlIndent()
|
setlocal indentexpr=HtmlIndent()
|
||||||
setlocal indentkeys=o,O,<Return>,<>>,{,},!^F
|
setlocal indentkeys=o,O,<Return>,<>>,{,},!^F
|
||||||
|
|
||||||
" "j1" is included to make cindent() work better with Javascript.
|
|
||||||
setlocal cino=j1
|
|
||||||
" "J1" should be included, but it doen't work properly before 7.4.355.
|
|
||||||
if has("patch-7.4.355")
|
|
||||||
setlocal cino+=J1
|
|
||||||
endif
|
|
||||||
" Before patch 7.4.355 indenting after "(function() {" does not work well, add
|
|
||||||
" )2 to limit paren search.
|
|
||||||
if !has("patch-7.4.355")
|
|
||||||
setlocal cino+=)2
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Needed for % to work when finding start/end of a tag.
|
" Needed for % to work when finding start/end of a tag.
|
||||||
setlocal matchpairs+=<:>
|
setlocal matchpairs+=<:>
|
||||||
|
|
||||||
let b:undo_indent = "setlocal inde< indk< cino<"
|
let b:undo_indent = "setlocal inde< indk<"
|
||||||
|
|
||||||
" b:hi_indent keeps state to speed up indenting consecutive lines.
|
" b:hi_indent keeps state to speed up indenting consecutive lines.
|
||||||
let b:hi_indent = {"lnum": -1}
|
let b:hi_indent = {"lnum": -1}
|
||||||
@ -596,7 +591,7 @@ func! s:Alien3()
|
|||||||
return eval(b:hi_js1indent)
|
return eval(b:hi_js1indent)
|
||||||
endif
|
endif
|
||||||
if b:hi_indent.scripttype == "javascript"
|
if b:hi_indent.scripttype == "javascript"
|
||||||
return cindent(v:lnum)
|
return GetJavascriptIndent()
|
||||||
else
|
else
|
||||||
return -1
|
return -1
|
||||||
endif
|
endif
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: AutoHotkey script file
|
" Language: AutoHotkey script file
|
||||||
" Maintainer: SungHyun Nam <goweol@gmail.com>
|
" Maintainer: Michael Wong
|
||||||
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
" https://github.com/mmikeww/autohotkey.vim
|
||||||
" Latest Revision: 2015-10-29
|
" Latest Revision: 2017-01-23
|
||||||
|
" Previous Maintainers: SungHyun Nam <goweol@gmail.com>
|
||||||
|
" Nikolai Weibull <now@bitwi.se>
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
@ -17,68 +19,11 @@ syn keyword autohotkeyTodo
|
|||||||
\ contained
|
\ contained
|
||||||
\ TODO FIXME XXX NOTE
|
\ TODO FIXME XXX NOTE
|
||||||
|
|
||||||
syn cluster autohotkeyCommentGroup
|
" only these chars are valid as escape sequences: ,%`;nrbtvaf
|
||||||
\ contains=
|
" https://autohotkey.com/docs/commands/_EscapeChar.htm
|
||||||
\ autohotkeyTodo,
|
|
||||||
\ @Spell
|
|
||||||
|
|
||||||
syn match autohotkeyComment
|
|
||||||
\ display
|
|
||||||
\ contains=@autohotkeyCommentGroup
|
|
||||||
\ '`\@<!;.*$'
|
|
||||||
|
|
||||||
syn region autohotkeyComment
|
|
||||||
\ contains=@autohotkeyCommentGroup
|
|
||||||
\ matchgroup=autohotkeyCommentStart
|
|
||||||
\ start='/\*'
|
|
||||||
\ end='\*/'
|
|
||||||
|
|
||||||
syn match autohotkeyEscape
|
syn match autohotkeyEscape
|
||||||
\ display
|
\ display
|
||||||
\ '`.'
|
\ '`[,%`;nrbtvaf]'
|
||||||
|
|
||||||
syn match autohotkeyHotkey
|
|
||||||
\ contains=autohotkeyKey,
|
|
||||||
\ autohotkeyHotkeyDelimiter
|
|
||||||
\ display
|
|
||||||
\ '^.\{-}::'
|
|
||||||
|
|
||||||
syn match autohotkeyKey
|
|
||||||
\ contained
|
|
||||||
\ display
|
|
||||||
\ '^.\{-}'
|
|
||||||
|
|
||||||
syn match autohotkeyDelimiter
|
|
||||||
\ contained
|
|
||||||
\ display
|
|
||||||
\ '::'
|
|
||||||
|
|
||||||
syn match autohotkeyHotstringDefinition
|
|
||||||
\ contains=autohotkeyHotstring,
|
|
||||||
\ autohotkeyHotstringDelimiter
|
|
||||||
\ display
|
|
||||||
\ '^:\%(B0\|C1\|K\d\+\|P\d\+\|S[IPE]\|Z\d\=\|[*?COR]\)*:.\{-}::'
|
|
||||||
|
|
||||||
syn match autohotkeyHotstring
|
|
||||||
\ contained
|
|
||||||
\ display
|
|
||||||
\ '.\{-}'
|
|
||||||
|
|
||||||
syn match autohotkeyHotstringDelimiter
|
|
||||||
\ contained
|
|
||||||
\ display
|
|
||||||
\ '::'
|
|
||||||
|
|
||||||
syn match autohotkeyHotstringDelimiter
|
|
||||||
\ contains=autohotkeyHotstringOptions
|
|
||||||
\ contained
|
|
||||||
\ display
|
|
||||||
\ ':\%(B0\|C1\|K\d\+\|P\d\+\|S[IPE]\|Z\d\=\|[*?COR]\):'
|
|
||||||
|
|
||||||
syn match autohotkeyHotstringOptions
|
|
||||||
\ contained
|
|
||||||
\ display
|
|
||||||
\ '\%(B0\|C1\|K\d\+\|P\d\+\|S[IPE]\|Z\d\=\|[*?COR]\)'
|
|
||||||
|
|
||||||
syn region autohotkeyString
|
syn region autohotkeyString
|
||||||
\ display
|
\ display
|
||||||
@ -88,39 +33,46 @@ syn region autohotkeyString
|
|||||||
\ end=+"+
|
\ end=+"+
|
||||||
\ contains=autohotkeyEscape
|
\ contains=autohotkeyEscape
|
||||||
|
|
||||||
syn region autohotkeyVariable
|
syn match autohotkeyVariable
|
||||||
\ display
|
\ display
|
||||||
\ oneline
|
\ oneline
|
||||||
\ contains=autohotkeyBuiltinVariable
|
\ contains=autohotkeyBuiltinVariable
|
||||||
\ matchgroup=autohotkeyVariableDelimiter
|
|
||||||
\ start="%"
|
|
||||||
\ end="%"
|
|
||||||
\ keepend
|
\ keepend
|
||||||
|
\ '%\S\{-}%'
|
||||||
|
|
||||||
syn keyword autohotkeyBuiltinVariable
|
syn keyword autohotkeyBuiltinVariable
|
||||||
\ A_Space A_Tab
|
\ A_Space A_Tab
|
||||||
\ A_WorkingDir A_ScriptDir A_ScriptName A_ScriptFullPath A_LineNumber
|
\ A_WorkingDir A_ScriptDir A_ScriptName A_ScriptFullPath A_ScriptHwnd A_LineNumber
|
||||||
\ A_LineFile A_AhkVersion A_AhkPAth A_IsCompiled A_ExitReason
|
\ A_LineFile A_ThisFunc A_ThisLabel A_AhkVersion A_AhkPath A_IsUnicode A_IsCompiled A_ExitReason
|
||||||
\ A_YYYY A_MM A_DD A_MMMM A_MMM A_DDDD A_DDD A_WDay A_YWeek A_Hour A_Min
|
\ A_YYYY A_MM A_DD A_MMMM A_MMM A_DDDD A_DDD A_WDay A_YDay A_YWeek A_Hour A_Min
|
||||||
|
\ A_Mon A_Year A_MDay A_NumBatchLines
|
||||||
\ A_Sec A_MSec A_Now A_NowUTC A_TickCount
|
\ A_Sec A_MSec A_Now A_NowUTC A_TickCount
|
||||||
\ A_IsSuspended A_BatchLines A_TitleMatchMode A_TitleMatchModeSpeed
|
\ A_IsSuspended A_IsPaused A_IsCritical A_BatchLines A_TitleMatchMode A_TitleMatchModeSpeed
|
||||||
\ A_DetectHiddenWindows A_DetectHiddenText A_AutoTrim A_STringCaseSense
|
\ A_DetectHiddenWindows A_DetectHiddenText A_AutoTrim A_StringCaseSense
|
||||||
\ A_FormatInteger A_FormatFloat A_KeyDelay A_WinDelay A_ControlDelay
|
\ A_FileEncoding A_FormatInteger A_FormatFloat A_KeyDelay A_WinDelay A_ControlDelay
|
||||||
\ A_MouseDelay A_DefaultMouseSpeed A_IconHidden A_IconTip A_IconFile
|
\ A_SendMode A_SendLevel A_StoreCapsLockMode A_KeyDelay A_KeyDelayDuration
|
||||||
|
\ A_KeyDelayPlay A_KeyDelayPlayDuration A_MouseDelayPlay
|
||||||
|
\ A_MouseDelay A_DefaultMouseSpeed A_RegView A_IconHidden A_IconTip A_IconFile
|
||||||
|
\ A_CoordModeToolTip A_CoordModePixel A_CoordModeMouse A_CoordModeCaret A_CoordModeMenu
|
||||||
\ A_IconNumber
|
\ A_IconNumber
|
||||||
\ A_TimeIdle A_TimeIdlePhysical
|
\ A_TimeIdle A_TimeIdlePhysical A_DefaultGui A_DefaultListView A_DefaultTreeView
|
||||||
\ A_Gui A_GuiControl A_GuiWidth A_GuiHeight A_GuiX A_GuiY A_GuiEvent
|
\ A_Gui A_GuiControl A_GuiWidth A_GuiHeight A_GuiX A_GuiY A_GuiEvent
|
||||||
\ A_GuiControlEvent A_EventInfo
|
\ A_GuiControlEvent A_EventInfo
|
||||||
\ A_ThisMenuItem A_ThisMenu A_ThisMenuItemPos A_ThisHotkey A_PriorHotkey
|
\ A_ThisMenuItem A_ThisMenu A_ThisMenuItemPos A_ThisHotkey A_PriorHotkey
|
||||||
\ A_TimeSinceThisHotkey A_TimeSincePriorHotkey A_EndChar
|
\ A_PriorKey A_TimeSinceThisHotkey A_TimeSincePriorHotkey A_EndChar
|
||||||
\ ComSpec A_Temp A_OSType A_OSVersion A_Language A_ComputerName A_UserName
|
\ ComSpec A_Temp A_OSType A_OSVersion A_Language A_ComputerName A_UserName
|
||||||
|
\ A_Is64BitOS A_PtrSize
|
||||||
\ A_WinDir A_ProgramFiles ProgramFiles A_AppData A_AppDataCommon A_Desktop
|
\ A_WinDir A_ProgramFiles ProgramFiles A_AppData A_AppDataCommon A_Desktop
|
||||||
\ A_DesktopCommon A_StartMenu A_StartMenuCommon A_Programs
|
\ A_DesktopCommon A_StartMenu A_StartMenuCommon A_Programs
|
||||||
\ A_ProgramsCommon A_Startup A_StartupCommon A_MyDocuments A_IsAdmin
|
\ A_ProgramsCommon A_Startup A_StartupCommon A_MyDocuments A_IsAdmin
|
||||||
\ A_ScreenWidth A_ScreenHeight A_IPAddress1 A_IPAddress2 A_IPAddress3
|
\ A_ScreenWidth A_ScreenHeight A_ScreenDPI A_IPAddress1 A_IPAddress2 A_IPAddress3
|
||||||
\ A_IPAddress4
|
\ A_IPAddress4
|
||||||
\ A_Cursor A_CaretX A_CaretY Clipboard ClipboardAll ErrorLevel A_LastError
|
\ A_Cursor A_CaretX A_CaretY Clipboard ClipboardAll ErrorLevel A_LastError
|
||||||
\ A_Index A_LoopFileName A_LoopRegName A_LoopReadLine A_LoopField
|
\ A_Index A_LoopFileName A_LoopRegName A_LoopReadLine A_LoopField
|
||||||
|
\ A_LoopFileExt A_LoopFileFullPath A_LoopFileLongPath A_LoopFileShortPath
|
||||||
|
\ A_LoopFileShortName A_LoopFileDir A_LoopFileTimeModified A_LoopFileTimeCreated
|
||||||
|
\ A_LoopFileTimeAccessed A_LoopFileAttrib A_LoopFileSize A_LoopFileSizeKB A_LoopFileSizeMB
|
||||||
|
\ A_LoopRegType A_LoopRegKey A_LoopRegSubKey A_LoopRegTimeModified
|
||||||
|
|
||||||
syn match autohotkeyBuiltinVariable
|
syn match autohotkeyBuiltinVariable
|
||||||
\ contained
|
\ contained
|
||||||
@ -130,7 +82,7 @@ syn match autohotkeyBuiltinVariable
|
|||||||
syn keyword autohotkeyCommand
|
syn keyword autohotkeyCommand
|
||||||
\ ClipWait EnvGet EnvSet EnvUpdate
|
\ ClipWait EnvGet EnvSet EnvUpdate
|
||||||
\ Drive DriveGet DriveSpaceFree FileAppend FileCopy FileCopyDir
|
\ Drive DriveGet DriveSpaceFree FileAppend FileCopy FileCopyDir
|
||||||
\ FileCreateDir FileCreateShortcut FileDelete FileGetAttrib
|
\ FileCreateDir FileCreateShortcut FileDelete FileGetAttrib FileEncoding
|
||||||
\ FileGetShortcut FileGetSize FileGetTime FileGetVersion FileInstall
|
\ FileGetShortcut FileGetSize FileGetTime FileGetVersion FileInstall
|
||||||
\ FileMove FileMoveDir FileReadLine FileRead FileRecycle FileRecycleEmpty
|
\ FileMove FileMoveDir FileReadLine FileRead FileRecycle FileRecycleEmpty
|
||||||
\ FileRemoveDir FileSelectFolder FileSelectFile FileSetAttrib FileSetTime
|
\ FileRemoveDir FileSelectFolder FileSelectFile FileSetAttrib FileSetTime
|
||||||
@ -153,7 +105,7 @@ syn keyword autohotkeyCommand
|
|||||||
\ SoundSetWaveVolume
|
\ SoundSetWaveVolume
|
||||||
\ FormatTime IfInString IfNotInString Sort StringCaseSense StringGetPos
|
\ FormatTime IfInString IfNotInString Sort StringCaseSense StringGetPos
|
||||||
\ StringLeft StringRight StringLower StringUpper StringMid StringReplace
|
\ StringLeft StringRight StringLower StringUpper StringMid StringReplace
|
||||||
\ StringSplit StringTrimLeft StringTrimRight
|
\ StringSplit StringTrimLeft StringTrimRight StringLen
|
||||||
\ Control ControlClick ControlFocus ControlGet ControlGetFocus
|
\ Control ControlClick ControlFocus ControlGet ControlGetFocus
|
||||||
\ ControlGetPos ControlGetText ControlMove ControlSend ControlSendRaw
|
\ ControlGetPos ControlGetText ControlMove ControlSend ControlSendRaw
|
||||||
\ ControlSetText Menu PostMessage SendMessage SetControlDelay
|
\ ControlSetText Menu PostMessage SendMessage SetControlDelay
|
||||||
@ -164,12 +116,16 @@ syn keyword autohotkeyCommand
|
|||||||
\ WinGetText WinGetTitle WinHide WinKill WinMaximize WinMinimize
|
\ WinGetText WinGetTitle WinHide WinKill WinMaximize WinMinimize
|
||||||
\ WinMinimizeAll WinMinimizeAllUndo WinMove WinRestore WinSet
|
\ WinMinimizeAll WinMinimizeAllUndo WinMove WinRestore WinSet
|
||||||
\ WinSetTitle WinShow WinWait WinWaitActive WinWaitNotActive WinWaitClose
|
\ WinSetTitle WinShow WinWait WinWaitActive WinWaitNotActive WinWaitClose
|
||||||
|
\ SetCapsLockState SetNumLockState SetScrollLockState
|
||||||
|
|
||||||
syn keyword autohotkeyFunction
|
syn keyword autohotkeyFunction
|
||||||
\ InStr RegExMatch RegExReplace StrLen SubStr Asc Chr
|
\ InStr RegExMatch RegExReplace StrLen SubStr Asc Chr
|
||||||
\ DllCall VarSetCapacity WinActive WinExist IsLabel OnMessage
|
\ DllCall VarSetCapacity WinActive WinExist IsLabel OnMessage
|
||||||
\ Abs Ceil Exp Floor Log Ln Mod Round Sqrt Sin Cos Tan ASin ACos ATan
|
\ Abs Ceil Exp Floor Log Ln Mod Round Sqrt Sin Cos Tan ASin ACos ATan
|
||||||
\ FileExist GetKeyState
|
\ FileExist GetKeyState NumGet NumPut StrGet StrPut RegisterCallback
|
||||||
|
\ IsFunc Trim LTrim RTrim IsObject Object Array FileOpen
|
||||||
|
\ ComObjActive ComObjArray ComObjConnect ComObjCreate ComObjGet
|
||||||
|
\ ComObjError ComObjFlags ComObjQuery ComObjType ComObjValue ComObject
|
||||||
|
|
||||||
syn keyword autohotkeyStatement
|
syn keyword autohotkeyStatement
|
||||||
\ Break Continue Exit ExitApp Gosub Goto OnExit Pause Return
|
\ Break Continue Exit ExitApp Gosub Goto OnExit Pause Return
|
||||||
@ -180,7 +136,9 @@ syn keyword autohotkeyRepeat
|
|||||||
|
|
||||||
syn keyword autohotkeyConditional
|
syn keyword autohotkeyConditional
|
||||||
\ IfExist IfNotExist If IfEqual IfLess IfGreater Else
|
\ IfExist IfNotExist If IfEqual IfLess IfGreater Else
|
||||||
\ IfWinExist IfWinNotExist
|
\ IfWinExist IfWinNotExist IfWinActive IfWinNotActive
|
||||||
|
\ IfNotEqual IfLessOrEqual IfGreaterOrEqual
|
||||||
|
\ while until for in
|
||||||
|
|
||||||
syn match autohotkeyPreProcStart
|
syn match autohotkeyPreProcStart
|
||||||
\ nextgroup=
|
\ nextgroup=
|
||||||
@ -200,6 +158,7 @@ syn keyword autohotkeyPreProc
|
|||||||
\ HotkeyInterval HotKeyModifierTimeout
|
\ HotkeyInterval HotKeyModifierTimeout
|
||||||
\ Hotstring
|
\ Hotstring
|
||||||
\ IfWinActive IfWinNotActive IfWinExist IfWinNotExist
|
\ IfWinActive IfWinNotActive IfWinExist IfWinNotExist
|
||||||
|
\ If IfTimeout
|
||||||
\ MaxHotkeysPerInterval MaxThreads MaxThreadsBuffer MaxThreadsPerHotkey
|
\ MaxHotkeysPerInterval MaxThreads MaxThreadsBuffer MaxThreadsPerHotkey
|
||||||
\ UseHook InstallKeybdHook InstallMouseHook
|
\ UseHook InstallKeybdHook InstallMouseHook
|
||||||
\ KeyHistory
|
\ KeyHistory
|
||||||
@ -213,6 +172,10 @@ syn keyword autohotkeyPreProc
|
|||||||
\ MaxMem
|
\ MaxMem
|
||||||
\ NoEnv
|
\ NoEnv
|
||||||
\ Persistent
|
\ Persistent
|
||||||
|
\ LTrim
|
||||||
|
\ InputLevel
|
||||||
|
\ MenuMaskKey
|
||||||
|
\ Warn
|
||||||
|
|
||||||
syn keyword autohotkeyMatchClass
|
syn keyword autohotkeyMatchClass
|
||||||
\ ahk_group ahk_class ahk_id ahk_pid
|
\ ahk_group ahk_class ahk_id ahk_pid
|
||||||
@ -243,11 +206,74 @@ syn match autohotkeyFloat
|
|||||||
syn keyword autohotkeyType
|
syn keyword autohotkeyType
|
||||||
\ local
|
\ local
|
||||||
\ global
|
\ global
|
||||||
|
\ static
|
||||||
|
\ byref
|
||||||
|
|
||||||
syn keyword autohotkeyBoolean
|
syn keyword autohotkeyBoolean
|
||||||
\ true
|
\ true
|
||||||
\ false
|
\ false
|
||||||
|
|
||||||
|
syn match autohotkeyHotkey
|
||||||
|
\ contains=autohotkeyKey,
|
||||||
|
\ autohotkeyHotkeyDelimiter
|
||||||
|
\ display
|
||||||
|
\ '^.\{-}::'
|
||||||
|
|
||||||
|
syn match autohotkeyKey
|
||||||
|
\ contained
|
||||||
|
\ display
|
||||||
|
\ '^.\{-}'
|
||||||
|
|
||||||
|
syn match autohotkeyDelimiter
|
||||||
|
\ contained
|
||||||
|
\ display
|
||||||
|
\ '::'
|
||||||
|
|
||||||
|
" allowable hotstring options:
|
||||||
|
" https://autohotkey.com/docs/Hotstrings.htm
|
||||||
|
syn match autohotkeyHotstringDefinition
|
||||||
|
\ contains=autohotkeyHotstring,
|
||||||
|
\ autohotkeyHotstringDelimiter
|
||||||
|
\ display
|
||||||
|
\ '^\s*:\%([*?]\|[BORZ]0\?\|C[01]\?\|K\d\+\|P\d\+\|S[IPE]\)*:.\{-}::'
|
||||||
|
|
||||||
|
syn match autohotkeyHotstring
|
||||||
|
\ contained
|
||||||
|
\ display
|
||||||
|
\ '.\{-}'
|
||||||
|
|
||||||
|
syn match autohotkeyHotstringDelimiter
|
||||||
|
\ contained
|
||||||
|
\ display
|
||||||
|
\ '::'
|
||||||
|
|
||||||
|
syn match autohotkeyHotstringDelimiter
|
||||||
|
\ contains=autohotkeyHotstringOptions
|
||||||
|
\ contained
|
||||||
|
\ display
|
||||||
|
\ ':\%([*?]\|[BORZ]0\?\|C[01]\?\|K\d\+\|P\d\+\|S[IPE]\)*:'
|
||||||
|
|
||||||
|
syn match autohotkeyHotstringOptions
|
||||||
|
\ contained
|
||||||
|
\ display
|
||||||
|
\ '\%([*?]\|[BORZ]0\?\|C[01]\?\|K\d\+\|P\d\+\|S[IPE]\)*'
|
||||||
|
|
||||||
|
syn cluster autohotkeyCommentGroup
|
||||||
|
\ contains=
|
||||||
|
\ autohotkeyTodo,
|
||||||
|
\ @Spell
|
||||||
|
|
||||||
|
syn match autohotkeyComment
|
||||||
|
\ display
|
||||||
|
\ contains=@autohotkeyCommentGroup
|
||||||
|
\ '\%(^;\|\s\+;\).*$'
|
||||||
|
|
||||||
|
syn region autohotkeyComment
|
||||||
|
\ contains=@autohotkeyCommentGroup
|
||||||
|
\ matchgroup=autohotkeyCommentStart
|
||||||
|
\ start='^\s*/\*'
|
||||||
|
\ end='^\s*\*/'
|
||||||
|
|
||||||
" TODO: Shouldn't we look for g:, b:, variables before defaulting to
|
" TODO: Shouldn't we look for g:, b:, variables before defaulting to
|
||||||
" something?
|
" something?
|
||||||
if exists("g:autohotkey_syntax_sync_minlines")
|
if exists("g:autohotkey_syntax_sync_minlines")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
|
" Maintainer: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
|
||||||
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||||
" Repository: https://notabug.org/jorgesumle/vim-html-syntax
|
" Repository: https://notabug.org/jorgesumle/vim-html-syntax
|
||||||
" Last Change: 2017 Jan 04
|
" Last Change: 2017 Jan 21
|
||||||
" included patch from Jorge Maldonado Ventura
|
" included patch from Jorge Maldonado Ventura
|
||||||
|
|
||||||
" Please check :help html.vim for some comments and a description of the options
|
" Please check :help html.vim for some comments and a description of the options
|
||||||
@ -55,9 +55,9 @@ syn keyword htmlTagName contained colgroup del fieldset iframe ins legend
|
|||||||
syn keyword htmlTagName contained object optgroup q s tbody tfoot thead
|
syn keyword htmlTagName contained object optgroup q s tbody tfoot thead
|
||||||
|
|
||||||
" new html 5 tags
|
" new html 5 tags
|
||||||
syn keyword htmlTagName contained article aside audio bdi canvas datalist
|
syn keyword htmlTagName contained article aside audio bdi canvas data
|
||||||
syn keyword htmlTagName contained details embed figcaption figure
|
syn keyword htmlTagName contained datalist details embed figcaption figure
|
||||||
syn keyword htmlTagName contained footer header hgroup main mark
|
syn keyword htmlTagName contained footer header hgroup keygen main mark
|
||||||
syn keyword htmlTagName contained menuitem meter nav output picture
|
syn keyword htmlTagName contained menuitem meter nav output picture
|
||||||
syn keyword htmlTagName contained progress rb rp rt rtc ruby section
|
syn keyword htmlTagName contained progress rb rp rt rtc ruby section
|
||||||
syn keyword htmlTagName contained slot source template time track video wbr
|
syn keyword htmlTagName contained slot source template time track video wbr
|
||||||
@ -97,8 +97,17 @@ syn keyword htmlArg contained rules scheme scope span standby style
|
|||||||
syn keyword htmlArg contained summary tabindex valuetype version
|
syn keyword htmlArg contained summary tabindex valuetype version
|
||||||
|
|
||||||
" html 5 arg names
|
" html 5 arg names
|
||||||
syn keyword htmlArg contained contenteditable contextmenu draggable dropzone
|
syn keyword htmlArg contained allowfullscreen async autocomplete autofocus
|
||||||
syn keyword htmlArg contained hidden spellcheck title translate
|
syn keyword htmlArg contained autoplay challenge contenteditable contextmenu
|
||||||
|
syn keyword htmlArg contained controls crossorigin default dirname download
|
||||||
|
syn keyword htmlArg contained draggable dropzone form formaction formenctype
|
||||||
|
syn keyword htmlArg contained formmethod formnovalidate formtarget hidden
|
||||||
|
syn keyword htmlArg contained high icon inputmode keytype kind list loop low
|
||||||
|
syn keyword htmlArg contained max min minlength muted nonce novalidate open
|
||||||
|
syn keyword htmlArg contained optimum pattern placeholder poster preload
|
||||||
|
syn keyword htmlArg contained radiogroup required reversed sandbox spellcheck
|
||||||
|
syn keyword htmlArg contained sizes srcset srcdoc srclang step title translate
|
||||||
|
syn keyword htmlArg contained typemustmatch
|
||||||
|
|
||||||
" special characters
|
" special characters
|
||||||
syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,8};"
|
syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,8};"
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Matlab
|
" Language: Matlab
|
||||||
" Maintainer: Maurizio Tranchero - maurizio(.)tranchero(@)gmail(.)com
|
" Maintainer: Alex Burka <vim@alexburka.com>
|
||||||
" Credits: Preben 'Peppe' Guldberg <peppe-vim@wielders.org>
|
" Credits: Preben 'Peppe' Guldberg <peppe-vim@wielders.org>
|
||||||
|
" Maurizio Tranchero - maurizio(.)tranchero(@)gmail(.)com
|
||||||
" Original author: Mario Eusebio
|
" Original author: Mario Eusebio
|
||||||
" Last Change: Wed Jan 13 11:12:34 CET 2010
|
" Last Change: Mon Jan 23 2017
|
||||||
" sinh added to matlab implicit commands
|
" added support for cell mode
|
||||||
" Change History:
|
" Change History:
|
||||||
|
" - now highlights cell-mode separator comments
|
||||||
" - 'global' and 'persistent' keyword are now recognized
|
" - 'global' and 'persistent' keyword are now recognized
|
||||||
|
|
||||||
" quit when a syntax file was already loaded
|
" quit when a syntax file was already loaded
|
||||||
@ -60,6 +62,7 @@ syn match matlabComment "%.*$" contains=matlabTodo,matlabTab
|
|||||||
" MT_ADDON - correctly highlights words after '...' as comments
|
" MT_ADDON - correctly highlights words after '...' as comments
|
||||||
syn match matlabComment "\.\.\..*$" contains=matlabTodo,matlabTab
|
syn match matlabComment "\.\.\..*$" contains=matlabTodo,matlabTab
|
||||||
syn region matlabMultilineComment start=+%{+ end=+%}+ contains=matlabTodo,matlabTab
|
syn region matlabMultilineComment start=+%{+ end=+%}+ contains=matlabTodo,matlabTab
|
||||||
|
syn match matlabCellComment "^%%.*$"
|
||||||
|
|
||||||
syn keyword matlabOperator break zeros default margin round ones rand
|
syn keyword matlabOperator break zeros default margin round ones rand
|
||||||
syn keyword matlabOperator ceil floor size clear zeros eye mean std cov
|
syn keyword matlabOperator ceil floor size clear zeros eye mean std cov
|
||||||
@ -96,6 +99,7 @@ hi def link matlabOO Statement
|
|||||||
hi def link matlabSemicolon SpecialChar
|
hi def link matlabSemicolon SpecialChar
|
||||||
hi def link matlabComment Comment
|
hi def link matlabComment Comment
|
||||||
hi def link matlabMultilineComment Comment
|
hi def link matlabMultilineComment Comment
|
||||||
|
hi def link matlabCellComment Todo
|
||||||
hi def link matlabScope Type
|
hi def link matlabScope Type
|
||||||
|
|
||||||
hi def link matlabArithmeticOperator matlabOperator
|
hi def link matlabArithmeticOperator matlabOperator
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: NASM - The Netwide Assembler (v0.98)
|
" Language: NASM - The Netwide Assembler (v0.98)
|
||||||
" Maintainer: Andriy Sokolov <andriy145@gmail.com>
|
" Maintainer: Andrii Sokolov <andriy145@gmail.com>
|
||||||
" Original Author: Manuel M.H. Stol <Manuel.Stol@allieddata.nl>
|
" Original Author: Manuel M.H. Stol <Manuel.Stol@allieddata.nl>
|
||||||
" Former Maintainer: Manuel M.H. Stol <Manuel.Stol@allieddata.nl>
|
" Former Maintainer: Manuel M.H. Stol <Manuel.Stol@allieddata.nl>
|
||||||
" Last Change: 2012 Feb 7
|
" Contributors: Leonard König <leonard.r.koenig@gmail.com> (C string highlighting)
|
||||||
|
" Last Change: 2017 Jan 23
|
||||||
" NASM Home: http://www.nasm.us/
|
" NASM Home: http://www.nasm.us/
|
||||||
|
|
||||||
|
|
||||||
@ -67,8 +68,23 @@ syn match nasmLabelError "\<\~\s*\(\k*\s*:\|\$\=\.\k*\)"
|
|||||||
|
|
||||||
|
|
||||||
" Constants:
|
" Constants:
|
||||||
syn match nasmStringError +["']+
|
syn match nasmStringError +["'`]+
|
||||||
|
" NASM is case sensitive here: eg. u-prefix allows for 4-digit, U-prefix for
|
||||||
|
" 8-digit Unicode characters
|
||||||
|
syn case match
|
||||||
|
" one-char escape-sequences
|
||||||
|
syn match nasmCStringEscape display contained "\\[’"‘\\\?abtnvfre]"
|
||||||
|
" hex and octal numbers
|
||||||
|
syn match nasmCStringEscape display contained "\\\(x\x\{2}\|\o\{1,3}\)"
|
||||||
|
" Unicode characters
|
||||||
|
syn match nasmCStringEscape display contained "\\\(u\x\{4}\|U\x\{8}\)"
|
||||||
|
" ISO C99 format strings (copied from cFormat in runtime/syntax/c.vim)
|
||||||
|
syn match nasmCStringFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlLjzt]\|ll\|hh\)\=\([aAbdiuoxXDOUfFeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained
|
||||||
|
syn match nasmCStringFormat display "%%" contained
|
||||||
syn match nasmString +\("[^"]\{-}"\|'[^']\{-}'\)+
|
syn match nasmString +\("[^"]\{-}"\|'[^']\{-}'\)+
|
||||||
|
" Highlight C escape- and format-sequences within ``-strings
|
||||||
|
syn match nasmCString +\(`[^`]\{-}`\)+ contains=nasmCStringEscape,nasmCStringFormat extend
|
||||||
|
syn case ignore
|
||||||
syn match nasmBinNumber "\<[0-1]\+b\>"
|
syn match nasmBinNumber "\<[0-1]\+b\>"
|
||||||
syn match nasmBinNumber "\<\~[0-1]\+b\>"lc=1
|
syn match nasmBinNumber "\<\~[0-1]\+b\>"lc=1
|
||||||
syn match nasmOctNumber "\<\o\+q\>"
|
syn match nasmOctNumber "\<\o\+q\>"
|
||||||
@ -443,7 +459,10 @@ hi def link nasmInCommentTodo Todo
|
|||||||
|
|
||||||
" Constant Group:
|
" Constant Group:
|
||||||
hi def link nasmString String
|
hi def link nasmString String
|
||||||
|
hi def link nasmCString String
|
||||||
hi def link nasmStringError Error
|
hi def link nasmStringError Error
|
||||||
|
hi def link nasmCStringEscape SpecialChar
|
||||||
|
hi def link nasmCStringFormat SpecialChar
|
||||||
hi def link nasmBinNumber Number
|
hi def link nasmBinNumber Number
|
||||||
hi def link nasmOctNumber Number
|
hi def link nasmOctNumber Number
|
||||||
hi def link nasmDecNumber Number
|
hi def link nasmDecNumber Number
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
" Language: shell (sh) Korn shell (ksh) bash (sh)
|
||||||
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||||
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
" Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||||
" Last Change: Sep 22, 2016
|
" Last Change: Jan 03, 2017
|
||||||
" Version: 165
|
" Version: 167
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
||||||
" For options and settings, please use: :help ft-sh-syntax
|
" For options and settings, please use: :help ft-sh-syntax
|
||||||
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
|
" This file includes many ideas from Eric Brunet (eric.brunet@ens.fr)
|
||||||
@ -386,7 +386,7 @@ ShFoldHereDoc syn region shHereDoc matchgroup=shHereDoc15 start="<<-\s*\\\z([^ \
|
|||||||
" Here Strings: {{{1
|
" Here Strings: {{{1
|
||||||
" =============
|
" =============
|
||||||
" available for: bash; ksh (really should be ksh93 only) but not if its a posix
|
" available for: bash; ksh (really should be ksh93 only) but not if its a posix
|
||||||
if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("g:is_posix"))
|
if exists("b:is_bash") || (exists("b:is_kornshell") && !exists("b:is_posix"))
|
||||||
syn match shHereString "<<<" skipwhite nextgroup=shCmdParenRegion
|
syn match shHereString "<<<" skipwhite nextgroup=shCmdParenRegion
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -407,7 +407,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Functions: {{{1
|
" Functions: {{{1
|
||||||
if !exists("g:is_posix")
|
if !exists("b:is_posix")
|
||||||
syn keyword shFunctionKey function skipwhite skipnl nextgroup=shFunctionTwo
|
syn keyword shFunctionKey function skipwhite skipnl nextgroup=shFunctionTwo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -533,7 +533,7 @@ endif
|
|||||||
" ====================
|
" ====================
|
||||||
if exists("b:is_kornshell") || exists("b:is_bash")
|
if exists("b:is_kornshell") || exists("b:is_bash")
|
||||||
syn keyword shStatement autoload bg false fc fg functions getopts hash history integer jobs let nohup printf r stop suspend times true type unalias whence
|
syn keyword shStatement autoload bg false fc fg functions getopts hash history integer jobs let nohup printf r stop suspend times true type unalias whence
|
||||||
if exists("g:is_posix")
|
if exists("b:is_posix")
|
||||||
syn keyword shStatement command
|
syn keyword shStatement command
|
||||||
else
|
else
|
||||||
syn keyword shStatement time
|
syn keyword shStatement time
|
||||||
@ -542,7 +542,7 @@ if exists("b:is_kornshell") || exists("b:is_bash")
|
|||||||
" Useful bash Keywords: {{{1
|
" Useful bash Keywords: {{{1
|
||||||
" =====================
|
" =====================
|
||||||
if exists("b:is_bash")
|
if exists("b:is_bash")
|
||||||
syn keyword shStatement bind builtin dirs disown enable help local logout popd pushd shopt source
|
syn keyword shStatement bind builtin dirs disown enable help logout popd pushd shopt source
|
||||||
else
|
else
|
||||||
syn keyword shStatement login newgrp
|
syn keyword shStatement login newgrp
|
||||||
endif
|
endif
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: TeX
|
" Language: TeX
|
||||||
" Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM>
|
" Maintainer: Charles E. Campbell <NdrchipO@ScampbellPfamily.AbizM>
|
||||||
" Last Change: Sep 20, 2016
|
" Last Change: Dec 07, 2016
|
||||||
" Version: 101
|
" Version: 102
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
|
||||||
"
|
"
|
||||||
" Notes: {{{1
|
" Notes: {{{1
|
||||||
@ -494,13 +494,11 @@ if !exists("g:tex_no_math")
|
|||||||
\ ['\\backslash' , '\'] ,
|
\ ['\\backslash' , '\'] ,
|
||||||
\ ['\\downarrow' , '↓'] ,
|
\ ['\\downarrow' , '↓'] ,
|
||||||
\ ['\\Downarrow' , '⇓'] ,
|
\ ['\\Downarrow' , '⇓'] ,
|
||||||
\ ['\\langle' , '<'] ,
|
|
||||||
\ ['\\lbrace' , '['] ,
|
\ ['\\lbrace' , '['] ,
|
||||||
\ ['\\lceil' , '⌈'] ,
|
\ ['\\lceil' , '⌈'] ,
|
||||||
\ ['\\lfloor' , '⌊'] ,
|
\ ['\\lfloor' , '⌊'] ,
|
||||||
\ ['\\lgroup' , '⌊'] ,
|
\ ['\\lgroup' , '⌊'] ,
|
||||||
\ ['\\lmoustache' , '⎛'] ,
|
\ ['\\lmoustache' , '⎛'] ,
|
||||||
\ ['\\rangle' , '>'] ,
|
|
||||||
\ ['\\rbrace' , ']'] ,
|
\ ['\\rbrace' , ']'] ,
|
||||||
\ ['\\rceil' , '⌉'] ,
|
\ ['\\rceil' , '⌉'] ,
|
||||||
\ ['\\rfloor' , '⌋'] ,
|
\ ['\\rfloor' , '⌋'] ,
|
||||||
@ -510,6 +508,15 @@ if !exists("g:tex_no_math")
|
|||||||
\ ['\\Uparrow' , '↑'] ,
|
\ ['\\Uparrow' , '↑'] ,
|
||||||
\ ['\\updownarrow', '↕'] ,
|
\ ['\\updownarrow', '↕'] ,
|
||||||
\ ['\\Updownarrow', '⇕']]
|
\ ['\\Updownarrow', '⇕']]
|
||||||
|
if &ambw == "double" || exists("g:tex_usedblwidth")
|
||||||
|
let s:texMathDelimList= s:texMathDelimList + [
|
||||||
|
\ ['\\langle' , '〈'] ,
|
||||||
|
\ ['\\rangle' , '〉'] ,
|
||||||
|
else
|
||||||
|
let s:texMathDelimList= s:texMathDelimList + [
|
||||||
|
\ ['\\langle' , '<'] ,
|
||||||
|
\ ['\\rangle' , '>']]
|
||||||
|
endif
|
||||||
syn match texMathDelim '\\[bB]igg\=[lr]' contained nextgroup=texMathDelimBad
|
syn match texMathDelim '\\[bB]igg\=[lr]' contained nextgroup=texMathDelimBad
|
||||||
for texmath in s:texMathDelimList
|
for texmath in s:texMathDelimList
|
||||||
exe "syn match texMathDelim '\\\\[bB]igg\\=[lr]\\=".texmath[0]."' contained conceal cchar=".texmath[1]
|
exe "syn match texMathDelim '\\\\[bB]igg\\=[lr]\\=".texmath[0]."' contained conceal cchar=".texmath[1]
|
||||||
@ -680,6 +687,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['backslash' , '∖'],
|
\ ['backslash' , '∖'],
|
||||||
\ ['barwedge' , '⊼'],
|
\ ['barwedge' , '⊼'],
|
||||||
\ ['because' , '∵'],
|
\ ['because' , '∵'],
|
||||||
|
\ ['beth' , 'ܒ'],
|
||||||
\ ['between' , '≬'],
|
\ ['between' , '≬'],
|
||||||
\ ['bigcap' , '∩'],
|
\ ['bigcap' , '∩'],
|
||||||
\ ['bigcirc' , '○'],
|
\ ['bigcirc' , '○'],
|
||||||
@ -699,6 +707,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['boxminus' , '⊟'],
|
\ ['boxminus' , '⊟'],
|
||||||
\ ['boxplus' , '⊞'],
|
\ ['boxplus' , '⊞'],
|
||||||
\ ['boxtimes' , '⊠'],
|
\ ['boxtimes' , '⊠'],
|
||||||
|
\ ['Box' , '☐'],
|
||||||
\ ['bullet' , '•'],
|
\ ['bullet' , '•'],
|
||||||
\ ['bumpeq' , '≏'],
|
\ ['bumpeq' , '≏'],
|
||||||
\ ['Bumpeq' , '≎'],
|
\ ['Bumpeq' , '≎'],
|
||||||
@ -748,6 +757,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['eqslantgtr' , '⪖'],
|
\ ['eqslantgtr' , '⪖'],
|
||||||
\ ['eqslantless' , '⪕'],
|
\ ['eqslantless' , '⪕'],
|
||||||
\ ['equiv' , '≡'],
|
\ ['equiv' , '≡'],
|
||||||
|
\ ['eth' , 'ð'],
|
||||||
\ ['exists' , '∃'],
|
\ ['exists' , '∃'],
|
||||||
\ ['fallingdotseq' , '≒'],
|
\ ['fallingdotseq' , '≒'],
|
||||||
\ ['flat' , '♭'],
|
\ ['flat' , '♭'],
|
||||||
@ -757,6 +767,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['geq' , '≥'],
|
\ ['geq' , '≥'],
|
||||||
\ ['geqq' , '≧'],
|
\ ['geqq' , '≧'],
|
||||||
\ ['gets' , '←'],
|
\ ['gets' , '←'],
|
||||||
|
\ ['gimel' , 'ℷ'],
|
||||||
\ ['gg' , '⟫'],
|
\ ['gg' , '⟫'],
|
||||||
\ ['gneqq' , '≩'],
|
\ ['gneqq' , '≩'],
|
||||||
\ ['gtrdot' , '⋗'],
|
\ ['gtrdot' , '⋗'],
|
||||||
@ -767,13 +778,17 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['heartsuit' , '♡'],
|
\ ['heartsuit' , '♡'],
|
||||||
\ ['hookleftarrow' , '↩'],
|
\ ['hookleftarrow' , '↩'],
|
||||||
\ ['hookrightarrow' , '↪'],
|
\ ['hookrightarrow' , '↪'],
|
||||||
|
\ ['iff' , '⇔'],
|
||||||
\ ['iiint' , '∭'],
|
\ ['iiint' , '∭'],
|
||||||
\ ['iint' , '∬'],
|
\ ['iint' , '∬'],
|
||||||
\ ['Im' , 'ℑ'],
|
\ ['Im' , 'ℑ'],
|
||||||
\ ['imath' , 'ɩ'],
|
\ ['imath' , 'ɩ'],
|
||||||
|
\ ['implies' , '⇒'],
|
||||||
\ ['in' , '∈'],
|
\ ['in' , '∈'],
|
||||||
\ ['infty' , '∞'],
|
\ ['infty' , '∞'],
|
||||||
\ ['int' , '∫'],
|
\ ['int' , '∫'],
|
||||||
|
\ ['jmath' , '𝚥'],
|
||||||
|
\ ['land' , '∧'],
|
||||||
\ ['lceil' , '⌈'],
|
\ ['lceil' , '⌈'],
|
||||||
\ ['ldots' , '…'],
|
\ ['ldots' , '…'],
|
||||||
\ ['le' , '≤'],
|
\ ['le' , '≤'],
|
||||||
@ -800,6 +815,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['ll' , '≪'],
|
\ ['ll' , '≪'],
|
||||||
\ ['lmoustache' , '╭'],
|
\ ['lmoustache' , '╭'],
|
||||||
\ ['lneqq' , '≨'],
|
\ ['lneqq' , '≨'],
|
||||||
|
\ ['lor' , '∨'],
|
||||||
\ ['ltimes' , '⋉'],
|
\ ['ltimes' , '⋉'],
|
||||||
\ ['mapsto' , '↦'],
|
\ ['mapsto' , '↦'],
|
||||||
\ ['measuredangle' , '∡'],
|
\ ['measuredangle' , '∡'],
|
||||||
@ -826,6 +842,7 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['nless' , '≮'],
|
\ ['nless' , '≮'],
|
||||||
\ ['nmid' , '∤'],
|
\ ['nmid' , '∤'],
|
||||||
\ ['notin' , '∉'],
|
\ ['notin' , '∉'],
|
||||||
|
\ ['nparallel' , '∦'],
|
||||||
\ ['nprec' , '⊀'],
|
\ ['nprec' , '⊀'],
|
||||||
\ ['nrightarrow' , '↛'],
|
\ ['nrightarrow' , '↛'],
|
||||||
\ ['nRightarrow' , '⇏'],
|
\ ['nRightarrow' , '⇏'],
|
||||||
@ -927,10 +944,12 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
\ ['trianglerighteq', '⊵'],
|
\ ['trianglerighteq', '⊵'],
|
||||||
\ ['twoheadleftarrow', '↞'],
|
\ ['twoheadleftarrow', '↞'],
|
||||||
\ ['twoheadrightarrow', '↠'],
|
\ ['twoheadrightarrow', '↠'],
|
||||||
|
\ ['ulcorner' , '⌜'],
|
||||||
\ ['uparrow' , '↑'],
|
\ ['uparrow' , '↑'],
|
||||||
\ ['Uparrow' , '⇑'],
|
\ ['Uparrow' , '⇑'],
|
||||||
\ ['updownarrow' , '↕'],
|
\ ['updownarrow' , '↕'],
|
||||||
\ ['Updownarrow' , '⇕'],
|
\ ['Updownarrow' , '⇕'],
|
||||||
|
\ ['urcorner' , '⌝'],
|
||||||
\ ['varnothing' , '∅'],
|
\ ['varnothing' , '∅'],
|
||||||
\ ['vartriangle' , '∆'],
|
\ ['vartriangle' , '∆'],
|
||||||
\ ['vdash' , '⊢'],
|
\ ['vdash' , '⊢'],
|
||||||
@ -946,6 +965,15 @@ if has("conceal") && &enc == 'utf-8'
|
|||||||
" \ ['jmath' , 'X']
|
" \ ['jmath' , 'X']
|
||||||
" \ ['uminus' , 'X']
|
" \ ['uminus' , 'X']
|
||||||
" \ ['uplus' , 'X']
|
" \ ['uplus' , 'X']
|
||||||
|
if &ambw == "double" || exists("g:tex_usedblwidth")
|
||||||
|
let s:texMathList= s:texMathList + [
|
||||||
|
\ ['right\\rangle' , '〉'],
|
||||||
|
\ ['left\\langle' , '〈']]
|
||||||
|
else
|
||||||
|
let s:texMathList= s:texMathList + [
|
||||||
|
\ ['right\\rangle' , '>'],
|
||||||
|
\ ['left\\langle' , '<']]
|
||||||
|
endif
|
||||||
for texmath in s:texMathList
|
for texmath in s:texMathList
|
||||||
if texmath[0] =~# '\w$'
|
if texmath[0] =~# '\w$'
|
||||||
exe "syn match texMathSymbol '\\\\".texmath[0]."\\>' contained conceal cchar=".texmath[1]
|
exe "syn match texMathSymbol '\\\\".texmath[0]."\\>' contained conceal cchar=".texmath[1]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Vim 8.0 script
|
" Language: Vim 8.0 script
|
||||||
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
|
||||||
" Last Change: September 29, 2016
|
" Last Change: Jan 19, 2017
|
||||||
" Version: 8.0-01
|
" Version: 8.0-02
|
||||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
||||||
" Automatically generated keyword lists: {{{1
|
" Automatically generated keyword lists: {{{1
|
||||||
|
|
||||||
@ -164,6 +164,7 @@ endif
|
|||||||
syn match vimNumber "\<\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
syn match vimNumber "\<\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
||||||
syn match vimNumber "-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
syn match vimNumber "-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
|
||||||
syn match vimNumber "\<0[xX]\x\+"
|
syn match vimNumber "\<0[xX]\x\+"
|
||||||
|
syn match vimNumber "\<0[bB][01]\+"
|
||||||
syn match vimNumber "\%(^\|[^a-zA-Z]\)\zs#\x\{6}"
|
syn match vimNumber "\%(^\|[^a-zA-Z]\)\zs#\x\{6}"
|
||||||
|
|
||||||
" All vimCommands are contained by vimIsCommands. {{{2
|
" All vimCommands are contained by vimIsCommands. {{{2
|
||||||
@ -225,7 +226,7 @@ endif
|
|||||||
" Functions : Tag is provided for those who wish to highlight tagged functions {{{2
|
" Functions : Tag is provided for those who wish to highlight tagged functions {{{2
|
||||||
" =========
|
" =========
|
||||||
syn cluster vimFuncList contains=vimCommand,vimFunctionError,vimFuncKey,Tag,vimFuncSID
|
syn cluster vimFuncList contains=vimCommand,vimFunctionError,vimFuncKey,Tag,vimFuncSID
|
||||||
syn cluster vimFuncBodyList contains=vimAbb,vimAddress,vimAugroupKey,vimAutoCmd,vimCmplxRepeat,vimComment,vimComment,vimContinue,vimCtrlChar,vimEcho,vimEchoHL,vimExecute,vimIf,vimIsCommand,vimFBVar,vimFunc,vimFunction,vimFuncVar,vimGlobal,vimHighlight,vimIsCommand,vimLet,vimLineComment,vimMap,vimMark,vimNorm,vimNotation,vimNotFunc,vimNumber,vimOper,vimOperParen,vimRegion,vimRegister,vimSet,vimSpecFile,vimString,vimSubst,vimSynLine,vimUnmap,vimUserCommand
|
syn cluster vimFuncBodyList contains=vimAbb,vimAddress,vimAugroupKey,vimAutoCmd,vimCmplxRepeat,vimComment,vimContinue,vimCtrlChar,vimEcho,vimEchoHL,vimExecute,vimIf,vimIsCommand,vimFBVar,vimFunc,vimFunction,vimFuncVar,vimGlobal,vimHighlight,vimIsCommand,vimLet,vimLineComment,vimMap,vimMark,vimNorm,vimNotation,vimNotFunc,vimNumber,vimOper,vimOperParen,vimRegion,vimRegister,vimSet,vimSpecFile,vimString,vimSubst,vimSynLine,vimUnmap,vimUserCommand
|
||||||
syn match vimFunction "\<fu\%[nction]!\=\s\+\%(<[sS][iI][dD]>\|[sSgGbBwWtTlL]:\)\=\%(\i\|[#.]\|{.\{-1,}}\)*\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody
|
syn match vimFunction "\<fu\%[nction]!\=\s\+\%(<[sS][iI][dD]>\|[sSgGbBwWtTlL]:\)\=\%(\i\|[#.]\|{.\{-1,}}\)*\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody
|
||||||
|
|
||||||
if exists("g:vimsyn_folding") && g:vimsyn_folding =~# 'f'
|
if exists("g:vimsyn_folding") && g:vimsyn_folding =~# 'f'
|
||||||
|
@ -2894,7 +2894,8 @@ msgstr "-X\t\t\t不连接到 X Server"
|
|||||||
msgid "--remote <files>\tEdit <files> in a Vim server if possible"
|
msgid "--remote <files>\tEdit <files> in a Vim server if possible"
|
||||||
msgstr "--remote <files>\t如有可能,在 Vim 服务器上编辑文件 <files>"
|
msgstr "--remote <files>\t如有可能,在 Vim 服务器上编辑文件 <files>"
|
||||||
|
|
||||||
msgid "--remote-silent <files> Same, don't complain if there is no server"
|
msgid ""
|
||||||
|
"--remote-silent <files> Same, don't complain if there is no server"
|
||||||
msgstr "--remote-silent <files> 同上,找不到服务器时不抱怨"
|
msgstr "--remote-silent <files> 同上,找不到服务器时不抱怨"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -241,9 +241,8 @@ msgstr "
|
|||||||
msgid " Tag completion (^]^N^P)"
|
msgid " Tag completion (^]^N^P)"
|
||||||
msgstr " Tag 补全 (^]^N^P)"
|
msgstr " Tag 补全 (^]^N^P)"
|
||||||
|
|
||||||
#, fuzzy
|
msgid " Path pattern completion (^N^P)"
|
||||||
#~ msgid " Path pattern completion (^N^P)"
|
msgstr " 头文件模式补全 (^N^P)"
|
||||||
#~ msgstr " 路径模式补全 (^N^P)"
|
|
||||||
|
|
||||||
msgid " Definition completion (^D^N^P)"
|
msgid " Definition completion (^D^N^P)"
|
||||||
msgstr " 定义补全 (^D^N^P)"
|
msgstr " 定义补全 (^D^N^P)"
|
||||||
@ -2896,7 +2895,7 @@ msgid "--remote <files>\tEdit <files> in a Vim server if possible"
|
|||||||
msgstr "--remote <files>\t如有可能,在 Vim 服务器上编辑文件 <files>"
|
msgstr "--remote <files>\t如有可能,在 Vim 服务器上编辑文件 <files>"
|
||||||
|
|
||||||
msgid "--remote-silent <files> Same, don't complain if there is no server"
|
msgid "--remote-silent <files> Same, don't complain if there is no server"
|
||||||
msgstr "--remote-silent <files> 同上,找不到服务器时槐г<EFBFBD>"
|
msgstr "--remote-silent <files> 同上,找不到服务器时不抱怨"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"--remote-wait <files> As --remote but wait for files to have been edited"
|
"--remote-wait <files> As --remote but wait for files to have been edited"
|
||||||
@ -5284,7 +5283,7 @@ msgstr "Vim:
|
|||||||
|
|
||||||
#. must display the prompt
|
#. must display the prompt
|
||||||
msgid "No undo possible; continue anyway"
|
msgid "No undo possible; continue anyway"
|
||||||
msgstr "无法撤销;请继续"
|
msgstr "无法撤销;仍然继续"
|
||||||
|
|
||||||
msgid "Already at oldest change"
|
msgid "Already at oldest change"
|
||||||
msgstr "已位于最旧的改变"
|
msgstr "已位于最旧的改变"
|
||||||
@ -5601,13 +5600,13 @@ msgid "type :help cp-default<Enter> for info on this"
|
|||||||
msgstr "输入 :help cp-default<Enter> 查看相关说明 "
|
msgstr "输入 :help cp-default<Enter> 查看相关说明 "
|
||||||
|
|
||||||
msgid "menu Help->Orphans for information "
|
msgid "menu Help->Orphans for information "
|
||||||
msgstr "菜单 Help->Orphans 查看说明 "
|
msgstr "菜单 帮助->孤儿 查看说明 "
|
||||||
|
|
||||||
msgid "Running modeless, typed text is inserted"
|
msgid "Running modeless, typed text is inserted"
|
||||||
msgstr "无模式运行,输入文字即插入"
|
msgstr "无模式运行,输入文字即插入"
|
||||||
|
|
||||||
msgid "menu Edit->Global Settings->Toggle Insert Mode "
|
msgid "menu Edit->Global Settings->Toggle Insert Mode "
|
||||||
msgstr "菜单 Edit->Global Settings->Toggle Insert Mode "
|
msgstr "菜单 编辑->全局设定->开/关插入模式 "
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#~ msgid " for two modes "
|
#~ msgid " for two modes "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user