mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
06879e2e89
commit
2e64752250
@ -2,7 +2,7 @@
|
|||||||
" vim: tw=0 ts=4 sw=4
|
" vim: tw=0 ts=4 sw=4
|
||||||
" Vim color file
|
" Vim color file
|
||||||
" Maintainer: Ron Aaron <ron@ronware.org>
|
" Maintainer: Ron Aaron <ron@ronware.org>
|
||||||
" Last Change: 2013 May 23
|
" Last Change: 2016 Sep 04
|
||||||
|
|
||||||
hi clear
|
hi clear
|
||||||
set background=dark
|
set background=dark
|
||||||
@ -45,6 +45,7 @@ hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white g
|
|||||||
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
|
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
|
||||||
hi Underlined term=underline cterm=bold,underline ctermfg=lightblue guifg=lightblue gui=bold,underline
|
hi Underlined term=underline cterm=bold,underline ctermfg=lightblue guifg=lightblue gui=bold,underline
|
||||||
hi Ignore ctermfg=black ctermbg=black guifg=black guibg=black
|
hi Ignore ctermfg=black ctermbg=black guifg=black guibg=black
|
||||||
|
hi EndOfBuffer term=bold cterm=bold ctermfg=darkred guifg=#cc0000 gui=bold
|
||||||
hi link IncSearch Visual
|
hi link IncSearch Visual
|
||||||
hi link String Constant
|
hi link String Constant
|
||||||
hi link Character Constant
|
hi link Character Constant
|
||||||
|
@ -422,8 +422,8 @@ BufUnload Before unloading a buffer. This is when the
|
|||||||
NOTE: When this autocommand is executed, the
|
NOTE: When this autocommand is executed, the
|
||||||
current buffer "%" may be different from the
|
current buffer "%" may be different from the
|
||||||
buffer being unloaded "<afile>".
|
buffer being unloaded "<afile>".
|
||||||
Don't change to another buffer, it will cause
|
Don't change to another buffer or window, it
|
||||||
problems.
|
will cause problems!
|
||||||
When exiting and v:dying is 2 or more this
|
When exiting and v:dying is 2 or more this
|
||||||
event is not triggered.
|
event is not triggered.
|
||||||
*BufWinEnter*
|
*BufWinEnter*
|
||||||
@ -794,7 +794,9 @@ QuickFixCmdPre Before a quickfix command is run (|:make|,
|
|||||||
|:vimgrepadd|, |:lvimgrepadd|, |:cscope|,
|
|:vimgrepadd|, |:lvimgrepadd|, |:cscope|,
|
||||||
|:cfile|, |:cgetfile|, |:caddfile|, |:lfile|,
|
|:cfile|, |:cgetfile|, |:caddfile|, |:lfile|,
|
||||||
|:lgetfile|, |:laddfile|, |:helpgrep|,
|
|:lgetfile|, |:laddfile|, |:helpgrep|,
|
||||||
|:lhelpgrep|).
|
|:lhelpgrep|, |:cexpr|, |:cgetexpr|,
|
||||||
|
|:caddexpr|, |:cbuffer|, |:cgetbuffer|,
|
||||||
|
|:caddbuffer|).
|
||||||
The pattern is matched against the command
|
The pattern is matched against the command
|
||||||
being run. When |:grep| is used but 'grepprg'
|
being run. When |:grep| is used but 'grepprg'
|
||||||
is set to "internal" it still matches "grep".
|
is set to "internal" it still matches "grep".
|
||||||
@ -1086,6 +1088,9 @@ Note that for all systems the '/' character is used for path separator (even
|
|||||||
Windows). This was done because the backslash is difficult to use in a pattern
|
Windows). This was done because the backslash is difficult to use in a pattern
|
||||||
and to make the autocommands portable across different systems.
|
and to make the autocommands portable across different systems.
|
||||||
|
|
||||||
|
It is possible to use |pattern| items, but they may not work as expected,
|
||||||
|
because of the translation done for the above.
|
||||||
|
|
||||||
*autocmd-changes*
|
*autocmd-changes*
|
||||||
Matching with the pattern is done when an event is triggered. Changing the
|
Matching with the pattern is done when an event is triggered. Changing the
|
||||||
buffer name in one of the autocommands, or even deleting the buffer, does not
|
buffer name in one of the autocommands, or even deleting the buffer, does not
|
||||||
@ -1184,11 +1189,12 @@ name!
|
|||||||
different from existing {event} names, as this
|
different from existing {event} names, as this
|
||||||
most likely will not do what you intended.
|
most likely will not do what you intended.
|
||||||
|
|
||||||
*:augroup-delete* *E367* *W19*
|
*:augroup-delete* *E367* *W19* *E936*
|
||||||
:aug[roup]! {name} Delete the autocmd group {name}. Don't use
|
:aug[roup]! {name} Delete the autocmd group {name}. Don't use
|
||||||
this if there is still an autocommand using
|
this if there is still an autocommand using
|
||||||
this group! You will get a warning if doing
|
this group! You will get a warning if doing
|
||||||
it anyway.
|
it anyway. when the group is the current group
|
||||||
|
you will get error E936.
|
||||||
|
|
||||||
To enter autocommands for a specific group, use this method:
|
To enter autocommands for a specific group, use this method:
|
||||||
1. Select the group with ":augroup {name}".
|
1. Select the group with ":augroup {name}".
|
||||||
|
@ -107,7 +107,7 @@ To test for a non-empty string, use empty(): >
|
|||||||
*non-zero-arg*
|
*non-zero-arg*
|
||||||
Function arguments often behave slightly different from |TRUE|: If the
|
Function arguments often behave slightly different from |TRUE|: If the
|
||||||
argument is present and it evaluates to a non-zero Number, |v:true| or a
|
argument is present and it evaluates to a non-zero Number, |v:true| or a
|
||||||
non-empty String, then the value is considere to be TRUE.
|
non-empty String, then the value is considered to be TRUE.
|
||||||
Note that " " and "0" are also non-empty strings, thus cause the mode to be
|
Note that " " and "0" are also non-empty strings, thus cause the mode to be
|
||||||
cleared. A List, Dictionary or Float is not a Number or String, thus
|
cleared. A List, Dictionary or Float is not a Number or String, thus
|
||||||
evaluates to FALSE.
|
evaluates to FALSE.
|
||||||
|
@ -48,7 +48,11 @@ Example: >
|
|||||||
print 'EAT ME'
|
print 'EAT ME'
|
||||||
EOF
|
EOF
|
||||||
endfunction
|
endfunction
|
||||||
<
|
|
||||||
|
To see what version of Python you have: >
|
||||||
|
:python import sys
|
||||||
|
:python print(sys.version)
|
||||||
|
|
||||||
Note: Python is very sensitive to the indenting. Make sure the "class" line
|
Note: Python is very sensitive to the indenting. Make sure the "class" line
|
||||||
and "EOF" do not have any indent.
|
and "EOF" do not have any indent.
|
||||||
|
|
||||||
@ -693,6 +697,10 @@ The `:py3` and `:python3` commands work similar to `:python`. A simple check
|
|||||||
if the `:py3` command is working: >
|
if the `:py3` command is working: >
|
||||||
:py3 print("Hello")
|
:py3 print("Hello")
|
||||||
< *:py3file*
|
< *:py3file*
|
||||||
|
To see what version of Python you have: >
|
||||||
|
:py3 import sys
|
||||||
|
:py3 print(sys.version)
|
||||||
|
|
||||||
The `:py3file` command works similar to `:pyfile`.
|
The `:py3file` command works similar to `:pyfile`.
|
||||||
*:py3do*
|
*:py3do*
|
||||||
The `:py3do` command works similar to `:pydo`.
|
The `:py3do` command works similar to `:pydo`.
|
||||||
|
@ -39,6 +39,7 @@ back.
|
|||||||
Note: If the output has been stopped with "q" at the more prompt, it will only
|
Note: If the output has been stopped with "q" at the more prompt, it will only
|
||||||
be displayed up to this point.
|
be displayed up to this point.
|
||||||
The previous command output is cleared when another command produces output.
|
The previous command output is cleared when another command produces output.
|
||||||
|
The "g<" output is not redirected.
|
||||||
|
|
||||||
If you want to find help on a specific (error) message, use the ID at the
|
If you want to find help on a specific (error) message, use the ID at the
|
||||||
start of the message. For example, to get help on the message: >
|
start of the message. For example, to get help on the message: >
|
||||||
|
@ -3920,10 +3920,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
global
|
global
|
||||||
Changes the special characters that can be used in search patterns.
|
Changes the special characters that can be used in search patterns.
|
||||||
See |pattern|.
|
See |pattern|.
|
||||||
NOTE: To avoid portability problems with using patterns, always keep
|
WARNING: Switching this option off most likely breaks plugins! That
|
||||||
this option at the default "on". Only switch it off when working with
|
is because many patterns assume it's on and will fail when it's off.
|
||||||
old Vi scripts. In any other situation write patterns that work when
|
Only switch it off when working with old Vi scripts. In any other
|
||||||
'magic' is on. Include "\M" when you want to |/\M|.
|
situation write patterns that work when 'magic' is on. Include "\M"
|
||||||
|
when you want to |/\M|.
|
||||||
|
|
||||||
*'makeef'* *'mef'*
|
*'makeef'* *'mef'*
|
||||||
'makeef' 'mef' string (default: "")
|
'makeef' 'mef' string (default: "")
|
||||||
|
@ -369,7 +369,7 @@ N *+statusline* Options 'statusline', 'rulerformat' and special
|
|||||||
formats of 'titlestring' and 'iconstring'
|
formats of 'titlestring' and 'iconstring'
|
||||||
N *+syntax* Syntax highlighting |syntax|
|
N *+syntax* Syntax highlighting |syntax|
|
||||||
N *+tablineat* 'tabline' option recognizing %@Func@ items.
|
N *+tablineat* 'tabline' option recognizing %@Func@ items.
|
||||||
N *+tag_binary* binary searching in tags file |tag-binary-search|
|
T *+tag_binary* binary searching in tags file |tag-binary-search|
|
||||||
N *+tag_old_static* old method for static tags |tag-old-static|
|
N *+tag_old_static* old method for static tags |tag-old-static|
|
||||||
m *+tag_any_white* any white space allowed in tags file |tag-any-white|
|
m *+tag_any_white* any white space allowed in tags file |tag-any-white|
|
||||||
B *+termguicolors* 24-bit color in xterm-compatible terminals support
|
B *+termguicolors* 24-bit color in xterm-compatible terminals support
|
||||||
|
@ -32,6 +32,4 @@ setlocal includeexpr='substitute(v:fname,"\\.","/","g")'
|
|||||||
setlocal path+=src/main/scala,src/test/scala
|
setlocal path+=src/main/scala,src/test/scala
|
||||||
setlocal suffixesadd=.scala
|
setlocal suffixesadd=.scala
|
||||||
|
|
||||||
compiler sbt
|
|
||||||
|
|
||||||
" vim:set sw=2 sts=2 ts=8 et:
|
" vim:set sw=2 sts=2 ts=8 et:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: awk, nawk, gawk, mawk
|
" Language: awk, nawk, gawk, mawk
|
||||||
" Maintainer: Antonio Colombo <azc100@gmail.com>
|
" Maintainer: Antonio Colombo <azc100@gmail.com>
|
||||||
" Last Change: 2016 Jul 15
|
" Last Change: 2016 Sep 05
|
||||||
|
|
||||||
" AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
|
" AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
|
||||||
" The AWK Programming Language, Addison-Wesley, 1988
|
" The AWK Programming Language, Addison-Wesley, 1988
|
||||||
@ -71,6 +71,10 @@ syn keyword awkVariables ARGC ARGV ARGIND ENVIRON ERRNO FILENAME
|
|||||||
syn keyword awkVariables FNR NF FUNCTAB NR PROCINFO RLENGTH RSTART
|
syn keyword awkVariables FNR NF FUNCTAB NR PROCINFO RLENGTH RSTART
|
||||||
syn keyword awkVariables RT SYMTAB
|
syn keyword awkVariables RT SYMTAB
|
||||||
|
|
||||||
|
" Arithmetic operators: +, and - take care of ++, and --
|
||||||
|
syn match awkOperator "+\|-\|\*\|/\|%\|="
|
||||||
|
syn match awkOperator "+=\|-=\|\*=\|/=\|%="
|
||||||
|
syn match awkOperator "\^\|\^="
|
||||||
|
|
||||||
" Octal format character.
|
" Octal format character.
|
||||||
syn match awkSpecialCharacter display contained "\\[0-7]\{1,3\}"
|
syn match awkSpecialCharacter display contained "\\[0-7]\{1,3\}"
|
||||||
@ -124,11 +128,6 @@ syn case match
|
|||||||
|
|
||||||
"syn match awkIdentifier "\<[a-zA-Z_][a-zA-Z0-9_]*\>"
|
"syn match awkIdentifier "\<[a-zA-Z_][a-zA-Z0-9_]*\>"
|
||||||
|
|
||||||
" Arithmetic operators: +, and - take care of ++, and --
|
|
||||||
syn match awkOperator "+\|-\|\*\|/\|%\|="
|
|
||||||
syn match awkOperator "+=\|-=\|\*=\|/=\|%="
|
|
||||||
syn match awkOperator "^\|^="
|
|
||||||
|
|
||||||
" Comparison expressions.
|
" Comparison expressions.
|
||||||
syn match awkExpression "==\|>=\|=>\|<=\|=<\|\!="
|
syn match awkExpression "==\|>=\|=>\|<=\|=<\|\!="
|
||||||
syn match awkExpression "\~\|\!\~"
|
syn match awkExpression "\~\|\!\~"
|
||||||
@ -167,7 +166,6 @@ syn region awkArray transparent start="\[" end="\]" contains=awkArray,awkArrayE
|
|||||||
syn sync ccomment awkArray maxlines=10
|
syn sync ccomment awkArray maxlines=10
|
||||||
|
|
||||||
" Define the default highlighting.
|
" Define the default highlighting.
|
||||||
" Only used when an item doesn't have highlighting yet
|
|
||||||
hi def link awkConditional Conditional
|
hi def link awkConditional Conditional
|
||||||
hi def link awkFunction Function
|
hi def link awkFunction Function
|
||||||
hi def link awkRepeat Repeat
|
hi def link awkRepeat Repeat
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Vim help file
|
" Language: Vim help file
|
||||||
" Maintainer: Bram Moolenaar (Bram@vim.org)
|
" Maintainer: Bram Moolenaar (Bram@vim.org)
|
||||||
" Last Change: 2016 Apr 01
|
" Last Change: 2016 Sep 02
|
||||||
|
|
||||||
" Quit when a (custom) syntax file was already loaded
|
" Quit when a (custom) syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@ -50,6 +50,7 @@ else
|
|||||||
syn match helpIgnore "." contained
|
syn match helpIgnore "." contained
|
||||||
endif
|
endif
|
||||||
syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes:
|
syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes:
|
||||||
|
syn keyword helpWarning WARNING: Warning:
|
||||||
syn match helpSpecial "\<N\>"
|
syn match helpSpecial "\<N\>"
|
||||||
syn match helpSpecial "\<N\.$"me=e-1
|
syn match helpSpecial "\<N\.$"me=e-1
|
||||||
syn match helpSpecial "\<N\.\s"me=e-2
|
syn match helpSpecial "\<N\.\s"me=e-2
|
||||||
@ -161,6 +162,7 @@ hi def link helpExample Comment
|
|||||||
hi def link helpOption Type
|
hi def link helpOption Type
|
||||||
hi def link helpSpecial Special
|
hi def link helpSpecial Special
|
||||||
hi def link helpNote Todo
|
hi def link helpNote Todo
|
||||||
|
hi def link helpWarning Todo
|
||||||
|
|
||||||
hi def link helpComment Comment
|
hi def link helpComment Comment
|
||||||
hi def link helpConstant Constant
|
hi def link helpConstant Constant
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: PROLOG
|
" Language: PROLOG
|
||||||
" Maintainers: Thomas Koehler <jean-luc@picard.franken.de>
|
" Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
|
||||||
" Last Change: 2013 May 23
|
" Please be aware: I'm often slow to answer email due to a high
|
||||||
|
" non-computer related workload (sometimes 4-8 weeks)
|
||||||
|
" Last Change: 2016 September 6
|
||||||
" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/prolog.vim
|
" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/prolog.vim
|
||||||
|
|
||||||
" There are two sets of highlighting in here:
|
" There are two sets of highlighting in here:
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Motif UIL (User Interface Language)
|
" Language: Motif UIL (User Interface Language)
|
||||||
" Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
|
" Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
|
||||||
" Last Change: 2013 May 23
|
" Please be aware: I'm often slow to answer email due to a high
|
||||||
|
" non-computer related workload (sometimes 4-8 weeks)
|
||||||
|
" Last Change: 2016 September 6
|
||||||
" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/uil.vim
|
" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/uil.vim
|
||||||
|
|
||||||
" quit when a syntax file was already loaded
|
" quit when a syntax file was already loaded
|
||||||
|
Loading…
Reference in New Issue
Block a user