mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
commit
92d27b7290
@ -447,7 +447,7 @@ function ada#Switch_Session (New_Session)
|
||||
|
||||
if a:New_Session != v:this_session
|
||||
"
|
||||
" We actualy got a new session - otherwise there
|
||||
" We actually got a new session - otherwise there
|
||||
" is nothing to do.
|
||||
"
|
||||
if strlen (v:this_session) > 0
|
||||
|
@ -588,7 +588,7 @@ function! sqlcomplete#DrillIntoTable()
|
||||
else
|
||||
" If the popup is not visible, simple perform the normal
|
||||
" key behaviour.
|
||||
" Must use exec since they key must be preceeded by "\"
|
||||
" Must use exec since the key must be preceded by "\"
|
||||
" or feedkeys will simply push each character of the string
|
||||
" rather than the "key press".
|
||||
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_right.'", "n")'
|
||||
@ -605,7 +605,7 @@ function! sqlcomplete#DrillOutOfColumns()
|
||||
else
|
||||
" If the popup is not visible, simple perform the normal
|
||||
" key behaviour.
|
||||
" Must use exec since they key must be preceeded by "\"
|
||||
" Must use exec since the key must be preceded by "\"
|
||||
" or feedkeys will simply push each character of the string
|
||||
" rather than the "key press".
|
||||
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_left.'", "n")'
|
||||
@ -831,7 +831,7 @@ function! s:SQLCGetColumns(table_name, list_type)
|
||||
|
||||
" Start characterwise visual mode
|
||||
" Advance right one character
|
||||
" Search foward until one of the following:
|
||||
" Search forward until one of the following:
|
||||
" 1. Another select/update/delete statement
|
||||
" 2. A ; at the end of a line (the delimiter)
|
||||
" 3. The end of the file (incase no delimiter)
|
||||
|
@ -548,7 +548,7 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
||||
" let syn_list = substitute( @l, '^.*xxx\s*\%(contained\s*\)\?', "", '' )
|
||||
" let syn_list = substitute( @l, '^.*xxx\s*', "", '' )
|
||||
|
||||
" We only want the words for the lines begining with
|
||||
" We only want the words for the lines beginning with
|
||||
" containedin, but there could be other items.
|
||||
|
||||
" Tried to remove all lines that do not begin with contained
|
||||
|
@ -14,6 +14,6 @@ endif
|
||||
|
||||
CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain
|
||||
|
||||
" sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
|
||||
" sample error: WebTable.java:282: '+=' is not preceded with whitespace.
|
||||
" WebTable.java:201:1: '{' should be on the previous line.
|
||||
CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#
|
||||
|
@ -334,7 +334,7 @@ A. You have two possible solutions depending on what you want:
|
||||
:!start /min ctags -R .
|
||||
< When it has finished you should see file named "tags" in your current
|
||||
directory. You should notice the window title blinking on your taskbar.
|
||||
This is more noticable for commands that take longer.
|
||||
This is more noticeable for commands that take longer.
|
||||
Now delete the "tags" file and run this command: >
|
||||
:!start /b ctags -R .
|
||||
< You should have the same "tags" file, but this time there will be no
|
||||
|
@ -219,7 +219,7 @@ function GetAdaIndent()
|
||||
" Move indent in twice (next 'when' will move back)
|
||||
let ind = ind + 2 * &sw
|
||||
elseif line =~ '^\s*end\s*record\>'
|
||||
" Move indent back to tallying 'type' preceeding the 'record'.
|
||||
" Move indent back to tallying 'type' preceding the 'record'.
|
||||
" Allow indent to be equal to 'end record's.
|
||||
let ind = s:MainBlockIndent( ind+&sw, lnum, 'type\>', '' )
|
||||
elseif line =~ '\(^\s*new\>.*\)\@<!)\s*[;,]\s*$'
|
||||
|
@ -223,7 +223,7 @@ syn match asm68kOperator "<>" " inequality
|
||||
syn match asm68kOperator "=" " must be before other ops containing '='
|
||||
syn match asm68kOperator ">="
|
||||
syn match asm68kOperator "<="
|
||||
syn match asm68kOperator "==" " operand existance - used in macro definitions
|
||||
syn match asm68kOperator "==" " operand existence - used in macro definitions
|
||||
|
||||
" Condition code style operators
|
||||
syn match asm68kOperator "<[CV][CS]>"
|
||||
|
@ -40,7 +40,7 @@ syn match AspVBSVariableComplex contained "\<\(arr\|ary\|obj\)\u\w*"
|
||||
|
||||
|
||||
" Functions and methods that are in VB but will cause errors in an ASP page
|
||||
" This is helpfull if your porting VB code to ASP
|
||||
" This is helpful if you're porting VB code to ASP
|
||||
" I removed (Count, Item) because these are common variable names in AspVBScript
|
||||
syn keyword AspVBSError contained Val Str CVar CVDate DoEvents GoSub Return GoTo
|
||||
syn keyword AspVBSError contained Stop LinkExecute Add Type LinkPoke
|
||||
@ -62,7 +62,7 @@ syn match AspVBSError contained "\<Option\s\+\(Base\|Compare\|Private\s\+Module\
|
||||
syn match AspVBSError contained "Respon\?ce\.\S*"
|
||||
syn match AspVBSError contained "Respose\.\S*"
|
||||
" When I looked up the VBScript syntax it mentioned that Property Get/Set/Let
|
||||
" statements are illegal, however, I have recived reports that they do work.
|
||||
" statements are illegal, however, I have received reports that they do work.
|
||||
" So I commented it out for now.
|
||||
" syn match AspVBSError contained "\<Property\s\+\(Get\|Let\|Set\)\>"
|
||||
|
||||
|
@ -27,7 +27,7 @@ syn keyword chillLogical NOT not
|
||||
syn keyword chillRepeat while WHILE for FOR do DO od OD TO to
|
||||
syn keyword chillProcess START start STACKSIZE stacksize PRIORITY priority THIS this STOP stop
|
||||
syn keyword chillBlock PROC proc PROCESS process
|
||||
syn keyword chillSignal RECEIVE receive SEND send NONPERSISTENT nonpersistent PERSISTENT peristent SET set EVER ever
|
||||
syn keyword chillSignal RECEIVE receive SEND send NONPERSISTENT nonpersistent PERSISTENT persistent SET set EVER ever
|
||||
|
||||
syn keyword chillTodo contained TODO FIXME XXX
|
||||
|
||||
|
@ -109,7 +109,7 @@ else
|
||||
endif
|
||||
syntax match clipperCommentError "\*/"
|
||||
|
||||
" Lines beggining with an "*" are comments too
|
||||
" Lines beginning with an "*" are comments too
|
||||
syntax match clipperComment "^\*.*"
|
||||
|
||||
|
||||
|
@ -387,7 +387,7 @@ hi def link dPragmaIdentifier Identifier
|
||||
hi def link dExtern dExternal
|
||||
hi def link dExternIdentifier Identifier
|
||||
|
||||
" Marks contents of the asm statment body as special
|
||||
" Marks contents of the asm statement body as special
|
||||
|
||||
syn match dAsmStatement "\<asm\>"
|
||||
syn region dAsmBody start="asm[\n]*\s*{"hs=e+1 end="}"he=e-1 contains=dAsmStatement,dAsmOpCode,@dComment,DUserLabel
|
||||
|
@ -47,7 +47,7 @@ exec 'syn match dtraceProbe "'.s:oneProbe.'\%(,\_s*'.s:oneProbe.'\)*\ze\_s\%({\|
|
||||
" Also be careful not to eat `c = a / b; b = a / 2;`. We use the same
|
||||
" technique as the dtrace lexer: a predicate has to be followed by {, ;, or
|
||||
" EOF. Also note that dtrace doesn't allow an empty predicate // (we do).
|
||||
" This regex doesn't allow a divison operator in the predicate.
|
||||
" This regex doesn't allow a division operator in the predicate.
|
||||
" Make sure that this matches the empty predicate as well.
|
||||
" XXX: This doesn't work if followed by a comment.
|
||||
syn match dtracePredicate "/\*\@!\_[^/]*/\ze\_s*\%({\|;\|\%$\)"
|
||||
|
@ -56,7 +56,7 @@ syn keyword ia64opcode pshradd2 psub4 rfi rsm rum shl shladd shladdp4
|
||||
syn keyword ia64opcode shrp ssm sub sum sync.i tak thash
|
||||
syn keyword ia64opcode tpa ttag xor
|
||||
|
||||
"put to override these being recognized as floats. They are orignally from masm.vim
|
||||
"put to override these being recognized as floats. They are originally from masm.vim
|
||||
"put here to avoid confusion with float
|
||||
syn match ia64Directive "\.186"
|
||||
syn match ia64Directive "\.286"
|
||||
|
@ -10,7 +10,7 @@
|
||||
" 26 April 2001: RMH
|
||||
" Removed development comments from distro version
|
||||
" Renamed "Kix*" to "kix*" for consistancy
|
||||
" Changes made in preperation for VIM version 5.8/6.00
|
||||
" Changes made in preparation for VIM version 5.8/6.00
|
||||
|
||||
" TODO:
|
||||
" Handle arrays highlighting
|
||||
|
@ -18,7 +18,7 @@ if exists("mel_space_errors")
|
||||
sy match melSpaceError " \+\t"me=e-1
|
||||
endif
|
||||
|
||||
" A bunch of usefull MEL keyworks
|
||||
" A bunch of useful MEL keywords
|
||||
sy keyword melBoolean true false yes no on off
|
||||
|
||||
sy keyword melFunction proc
|
||||
|
@ -110,7 +110,7 @@ if exists( "php_htmlInStrings")
|
||||
syn cluster phpAddStrings add=@htmlTop
|
||||
endif
|
||||
|
||||
" make sure we can use \ at the begining of the line to do a continuation
|
||||
" make sure we can use \ at the beginning of the line to do a continuation
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
|
@ -503,11 +503,11 @@ if postscr_level == 2 || postscr_level == 3
|
||||
" Page duplexing operators
|
||||
syn keyword postscrL2Operator duplexmode firstside newsheet setduplexmode settumble tumble
|
||||
|
||||
" Device compatability operators
|
||||
" Device compatibility operators
|
||||
syn keyword postscrL2Operator devdismount devformat devmount devstatus
|
||||
syn keyword postscrL2Repeat devforall
|
||||
|
||||
" Imagesetter compatability operators
|
||||
" Imagesetter compatibility operators
|
||||
syn keyword postscrL2Operator accuratescreens checkscreen pagemargin pageparams setaccuratescreens setpage
|
||||
syn keyword postscrL2Operator setpagemargin setpageparams
|
||||
|
||||
|
@ -934,7 +934,7 @@ highlight redifFieldDeprecated term=undercurl cterm=undercurl gui=undercurl guis
|
||||
" Sync: The template-type (ReDIF-Paper, ReDIF-Archive, etc.) influences which
|
||||
" fields can follow. Thus sync must search backwards for it.
|
||||
"
|
||||
" I would like to simply ask VIM to search backward for the first occurence of
|
||||
" I would like to simply ask VIM to search backward for the first occurrence of
|
||||
" /^Template-Type:/, but it does not seem to be possible, so I have to start
|
||||
" from the beginning of the file... This might slow down a lot for files that
|
||||
" contain a lot of Template-Type statements.
|
||||
|
@ -55,7 +55,7 @@ syn keyword sambaKeyword contained only open oplock oplocks options order os
|
||||
syn keyword sambaKeyword contained output packet page panic passwd password
|
||||
syn keyword sambaKeyword contained passwords path permissions pipe port ports
|
||||
syn keyword sambaKeyword contained postexec postscript prediction preexec
|
||||
syn keyword sambaKeyword contained prefered preferred preload preserve print
|
||||
syn keyword sambaKeyword contained preferred preload preserve print
|
||||
syn keyword sambaKeyword contained printable printcap printer printers
|
||||
syn keyword sambaKeyword contained printing program protocol proxy public
|
||||
syn keyword sambaKeyword contained queuepause queueresume raw read readonly
|
||||
|
@ -4,7 +4,7 @@
|
||||
" URL: http://www.fleiner.com/vim/syntax/sather.vim
|
||||
" Last Change: 2003 May 11
|
||||
|
||||
" Sather is a OO-language developped at the International Computer Science
|
||||
" Sather is a OO-language developed at the International Computer Science
|
||||
" Institute (ICSI) in Berkeley, CA. pSather is a parallel extension to Sather.
|
||||
" Homepage: http://www.icsi.berkeley.edu/~sather
|
||||
" Sather files use .sa as suffix
|
||||
|
@ -111,8 +111,8 @@ syn region specmanString start=+"+ end=+"+
|
||||
|
||||
|
||||
"**********************************************************************
|
||||
" I took this section from c.vim but I didnt succeded to make it work
|
||||
" ANY one who dare jumping to this deep watter is more than welocome!
|
||||
" I took this section from c.vim, but I didn't succeed in making it work
|
||||
" ANY one who dares to jump into this deep water is more than welcome!
|
||||
"**********************************************************************
|
||||
""catch errors caused by wrong parenthesis and brackets
|
||||
|
||||
|
@ -38,7 +38,7 @@ endif
|
||||
|
||||
" one line comment syntax (# comments)
|
||||
" 1. allow appended code after comment, do not complain
|
||||
" 2. show code beginnig with the second # as an error
|
||||
" 2. show code beginning with the second # as an error
|
||||
" 3. show whole lines with more than one # as an error
|
||||
if !exists("oneline_comments")
|
||||
let oneline_comments = 2
|
||||
|
@ -171,7 +171,7 @@ syn region tcltkCommand matchgroup=tcltkCommandColor start="\<format\>" matchgro
|
||||
|
||||
" PACK
|
||||
" commands associated with pack
|
||||
syn keyword tcltkPackSwitch contained forget info propogate slaves
|
||||
syn keyword tcltkPackSwitch contained forget info propagate slaves
|
||||
syn keyword tcltkPackConfSwitch contained after anchor before expand fill in ipadx ipady padx pady side
|
||||
syn region tcltkCommand matchgroup=tcltkCommandColor start="\<pack\>" matchgroup=NONE skip="^\s*$" end="]\|[^\\]*\s*$"he=e-1 contains=tclLineContinue,tcltkPackSwitch,tcltkPackConf,tcltkPackConfSwitch,tclNumber,tclVarRef,tclString,tcltkCommand keepend
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user