vim-patch:4f4d51a942cc

Update runtime files.
4f4d51a942

Omit "??" operator.
Patches v8.2.1794,v8.2.1798 are not ported yet.
This commit is contained in:
Jan Edmund Lazo 2021-05-01 14:08:45 -04:00
parent b084f49496
commit b16c7c515c
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
19 changed files with 99 additions and 93 deletions

View File

@ -1,7 +1,8 @@
"python3complete.vim - Omni Completion for python "python3complete.vim - Omni Completion for python
" Maintainer: Aaron Griffin <aaronmgriffin@gmail.com> " Maintainer: <vacancy>
" Previous Maintainer: Aaron Griffin <aaronmgriffin@gmail.com>
" Version: 0.9 " Version: 0.9
" Last Updated: 18 Jun 2009 (small fix 2015 Sep 14 from Debian) " Last Updated: 2020 Oct 9
" "
" Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim " Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim
" "
@ -83,7 +84,7 @@ function! python3complete#Complete(findstart, base)
break break
endif endif
endwhile endwhile
execute "py3 vimpy3complete('" . cword . "', '" . a:base . "')" execute "py3 vimpy3complete('" . escape(cword, "'") . "', '" . escape(a:base, "'") . "')"
return g:python3complete_completions return g:python3complete_completions
endif endif
endfunction endfunction

View File

@ -1,7 +1,8 @@
"pythoncomplete.vim - Omni Completion for python "pythoncomplete.vim - Omni Completion for python
" Maintainer: Aaron Griffin <aaronmgriffin@gmail.com> " Maintainer: <vacancy>
" Previous Maintainer: Aaron Griffin <aaronmgriffin@gmail.com>
" Version: 0.9 " Version: 0.9
" Last Updated: 18 Jun 2009 " Last Updated: 2020 Oct 9
" "
" Changes " Changes
" TODO: " TODO:
@ -81,7 +82,7 @@ function! pythoncomplete#Complete(findstart, base)
break break
endif endif
endwhile endwhile
execute "python vimcomplete('" . cword . "', '" . a:base . "')" execute "python vimcomplete('" . escape(cword, "'") . "', '" . escape(a:base, "'") . "')"
return g:pythoncomplete_completions return g:pythoncomplete_completions
endif endif
endfunction endfunction

View File

@ -67,7 +67,7 @@ You can use ":highlight" to find out the current colors. Exception: the
ctermfg and ctermbg values are numbers, which are only valid for the current ctermfg and ctermbg values are numbers, which are only valid for the current
terminal. Use the color names instead. See ":help cterm-colors". terminal. Use the color names instead. See ":help cterm-colors".
The default color settings can be found in the source file src/syntax.c. The default color settings can be found in the source file src/highlight.c.
Search for "highlight_init". Search for "highlight_init".
If you think you have a color scheme that is good enough to be used by others, If you think you have a color scheme that is good enough to be used by others,

View File

@ -2891,6 +2891,8 @@ byteidxcomp({expr}, {nr}) *byteidxcomp()*
< The first and third echo result in 3 ('e' plus composing < The first and third echo result in 3 ('e' plus composing
character is 3 bytes), the second echo results in 1 ('e' is character is 3 bytes), the second echo results in 1 ('e' is
one byte). one byte).
Only works differently from byteidx() when 'encoding' is set to
a Unicode encoding.
call({func}, {arglist} [, {dict}]) *call()* *E699* call({func}, {arglist} [, {dict}]) *call()* *E699*
Call function {func} with the items in |List| {arglist} as Call function {func} with the items in |List| {arglist} as

View File

@ -771,10 +771,10 @@ tag char note action in Normal mode ~
lines down lines down
|gk| gk 1 like "k", but when 'wrap' on go N screen |gk| gk 1 like "k", but when 'wrap' on go N screen
lines up lines up
|gn| gn 1,2 find the next match with the last used
search pattern and Visually select it
|gm| gm 1 go to character at middle of the screenline |gm| gm 1 go to character at middle of the screenline
|gM| gM 1 go to character at middle of the text line |gM| gM 1 go to character at middle of the text line
|gn| gn 1,2 find the next match with the last used
search pattern and Visually select it
|go| go 1 cursor to byte N in the buffer |go| go 1 cursor to byte N in the buffer
|gp| ["x]gp 2 put the text [from register x] after the |gp| ["x]gp 2 put the text [from register x] after the
cursor N times, leave the cursor after it cursor N times, leave the cursor after it

View File

@ -231,6 +231,12 @@ For abbreviations |v:char| is set to the character that was typed to trigger
the abbreviation. You can use this to decide how to expand the {lhs}. You the abbreviation. You can use this to decide how to expand the {lhs}. You
should not either insert or change the v:char. should not either insert or change the v:char.
In case you want the mapping to not do anything, you can have the expression
evaluate to an empty string. If something changed that requires Vim to
go through the main loop (e.g. to update the display), return "\<Ignore>".
This is similar to "nothing" but makes Vim return from the loop that waits for
input.
Also, keep in mind that the expression may be evaluated when looking for Also, keep in mind that the expression may be evaluated when looking for
typeahead, before the previous command has been executed. For example: > typeahead, before the previous command has been executed. For example: >
func StoreColumn() func StoreColumn()

View File

@ -1858,7 +1858,7 @@ A jump table for the options with a short description can be found at |Q_op|.
"x" delete each combining character on its own. When it is off (the "x" delete each combining character on its own. When it is off (the
default) the character along with its combining characters are default) the character along with its combining characters are
deleted. deleted.
Note: When 'delcombine' is set "xx" may work different from "2x"! Note: When 'delcombine' is set "xx" may work differently from "2x"!
This is useful for Arabic, Hebrew and many other languages where one This is useful for Arabic, Hebrew and many other languages where one
may have combining characters overtop of base characters, and want may have combining characters overtop of base characters, and want
@ -3554,7 +3554,7 @@ A jump table for the options with a short description can be found at |Q_op|.
characters. Example: "abc;ABC" characters. Example: "abc;ABC"
Example: "aA,fgh;FGH,cCdDeE" Example: "aA,fgh;FGH,cCdDeE"
Special characters need to be preceded with a backslash. These are Special characters need to be preceded with a backslash. These are
";", ',' and backslash itself. ";", ',', '"', '|' and backslash itself.
This will allow you to activate vim actions without having to switch This will allow you to activate vim actions without having to switch
back and forth between the languages. Your language characters will back and forth between the languages. Your language characters will

View File

@ -253,6 +253,9 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
directories are added to 'runtimepath'. This is directories are added to 'runtimepath'. This is
useful in your .vimrc. The plugins will then be useful in your .vimrc. The plugins will then be
loaded during initialization, see |load-plugins|. loaded during initialization, see |load-plugins|.
Note that for ftdetect scripts to be loaded
you will need to write `filetype plugin indent on`
AFTER all `packadd!` commands.
Also see |pack-add|. Also see |pack-add|.

View File

@ -3,6 +3,7 @@
" Author: Steven Oliver <oliver.steven@gmail.com> " Author: Steven Oliver <oliver.steven@gmail.com>
" Copyright: Copyright (c) 2009-2013 Steven Oliver " Copyright: Copyright (c) 2009-2013 Steven Oliver
" License: You may redistribute this under the same terms as Vim itself " License: You may redistribute this under the same terms as Vim itself
" Last Update: 2020 Oct 10
" -------------------------------------------------------------------------- " --------------------------------------------------------------------------
" Only do this when not done yet for this buffer " Only do this when not done yet for this buffer
@ -14,7 +15,7 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo&vim set cpo&vim
setlocal softtabstop=4 shiftwidth=4 fileencoding=utf-8 setlocal softtabstop=4 shiftwidth=4
setlocal suffixesadd=.fal,.ftd setlocal suffixesadd=.fal,.ftd
" Matchit support " Matchit support

View File

@ -1,13 +1,13 @@
" Vim settings file " Vim settings file
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66) " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66)
" Version: 0.50 " Version: (v52) 2020 October 07
" Last Change: 2020 Apr 20
" Patched By: Eisuke Kawashima
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
" Usage: For instructions, do :help fortran-plugin from Vim " Usage: For instructions, do :help fortran-plugin from Vim
" Credits: " Credits:
" Useful suggestions were made by Stefano Zacchiroli, Hendrik Merx, Ben " Version 0.1 was created in September 2000 by Ajit Thakkar.
" Fritz, and David Barnett. " Since then, useful suggestions and contributions have been made, in order, by:
" Stefano Zacchiroli, Hendrik Merx, Ben Fritz, David Barnett, Eisuke Kawashima,
" and Doug Kearns.
" Only do these settings when not done yet for this buffer " Only do these settings when not done yet for this buffer
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
@ -119,7 +119,7 @@ if !exists("b:match_words")
endif endif
" File filters for :browse e " File filters for :browse e
if has("gui_win32") && !exists("b:browsefilter") if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "Fortran Files (*.f;*.for;*.f77;*.f90;*.f95;*.f03;*.f08;*.fpp;*.ftn)\t*.f;*.for;*.f77;*.f90;*.f95;*.f03;*.f08;*.fpp;*.ftn\n" . let b:browsefilter = "Fortran Files (*.f;*.for;*.f77;*.f90;*.f95;*.f03;*.f08;*.fpp;*.ftn)\t*.f;*.for;*.f77;*.f90;*.f95;*.f03;*.f08;*.fpp;*.ftn\n" .
\ "All Files (*.*)\t*.*\n" \ "All Files (*.*)\t*.*\n"
endif endif

View File

@ -3,7 +3,7 @@
" Maintainer: Tom Picton <tom@tompicton.co.uk> " Maintainer: Tom Picton <tom@tompicton.co.uk>
" Previous Maintainer: James Sully <sullyj3@gmail.com> " Previous Maintainer: James Sully <sullyj3@gmail.com>
" Previous Maintainer: Johannes Zellner <johannes@zellner.org> " Previous Maintainer: Johannes Zellner <johannes@zellner.org>
" Last Change: Sun 17 Mar 2019 " Last Change: Mon, 5 October 2020
" https://github.com/tpict/vim-ftplugin-python " https://github.com/tpict/vim-ftplugin-python
if exists("b:did_ftplugin") | finish | endif if exists("b:did_ftplugin") | finish | endif
@ -14,6 +14,7 @@ set cpo&vim
setlocal cinkeys-=0# setlocal cinkeys-=0#
setlocal indentkeys-=0# setlocal indentkeys-=0#
setlocal include=^\\s*\\(from\\\|import\\) setlocal include=^\\s*\\(from\\\|import\\)
setlocal define=^\\s*\\(def\\\|class\\)
" For imports with leading .., append / and replace additional .s with ../ " For imports with leading .., append / and replace additional .s with ../
let b:grandparent_match = '^\(.\.\)\(\.*\)' let b:grandparent_match = '^\(.\.\)\(\.*\)'
@ -115,35 +116,18 @@ endif
if !exists("g:python_recommended_style") || g:python_recommended_style != 0 if !exists("g:python_recommended_style") || g:python_recommended_style != 0
" As suggested by PEP8. " As suggested by PEP8.
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8 setlocal expandtab tabstop=4 softtabstop=4 shiftwidth=4
endif endif
" First time: try finding "pydoc". " Use pydoc for keywordprg.
if !exists('g:pydoc_executable') " Unix users preferentially get pydoc3, then pydoc2.
if executable('pydoc') " Windows doesn't have a standalone pydoc executable in $PATH by default, nor
let g:pydoc_executable = 1 " does it have separate python2/3 executables, so Windows users just get
else " whichever version corresponds to their installed Python version.
let g:pydoc_executable = 0 if executable('python3')
endif setlocal keywordprg=python3\ -m\ pydoc
endif elseif executable('python')
setlocal keywordprg=python\ -m\ pydoc
" Windows-specific pydoc setup
if has('win32') || has('win64')
if executable('python')
" available as Tools\scripts\pydoc.py
let g:pydoc_executable = 1
else
let g:pydoc_executable = 0
endif
endif
" If "pydoc" was found use it for keywordprg.
if g:pydoc_executable
if has('win32') || has('win64')
setlocal keywordprg=python\ -m\ pydoc\
else
setlocal keywordprg=pydoc
endif
endif endif
" Script for filetype switching to undo the local stuff we may have changed " Script for filetype switching to undo the local stuff we may have changed

View File

@ -1,13 +1,13 @@
" Vim indent file " Vim indent file
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77)
" Version: 47 " Version: (v48) 2020 October 07
" Last Change: 2020 Apr 20
" Patched By: Eisuke Kawashima
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
" Usage: For instructions, do :help fortran-indent from Vim " Usage: For instructions, do :help fortran-indent from Vim
" Credits: " Credits:
" Useful suggestions were made, in chronological order, by: " Version 0.1 was created in September 2000 by Ajit Thakkar.
" Albert Oliver Serra, Takuya Fujiwara and Philipp Edelmann. " Since then, useful suggestions and contributions have been made, in order, by:
" Albert Oliver Serra, Takuya Fujiwara, Philipp Edelmann, Eisuke Kawashima,
" and Louis Cochen.
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -146,7 +146,7 @@ function FortranGetIndent(lnum)
\. 'type\|forall\|associate\|enum\|block\)\)\>' \. 'type\|forall\|associate\|enum\|block\)\)\>'
let ind = ind - shiftwidth() let ind = ind - shiftwidth()
" Fix indent for case statement immediately after select " Fix indent for case statement immediately after select
if prevstat =~? '\<select\s\+\(case\|type\)\>' if prevstat =~? '\<select\s*\(case\|type\)\>'
let ind = ind + shiftwidth() let ind = ind + shiftwidth()
endif endif
endif endif

View File

@ -3,7 +3,7 @@
" Maintainer: David Necas (Yeti) <yeti@physics.muni.cz> " Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
" License: This file can be redistribued and/or modified under the same terms " License: This file can be redistribued and/or modified under the same terms
" as Vim itself. " as Vim itself.
" Last Change: 2018-12-06 " Last Change: 2020 Oct 07
" Notes: Last synced with apache-2.2.3, version 1.x is no longer supported " Notes: Last synced with apache-2.2.3, version 1.x is no longer supported
" TODO: see particular FIXME's scattered through the file " TODO: see particular FIXME's scattered through the file
" make it really linewise? " make it really linewise?
@ -42,6 +42,8 @@ syn keyword apacheOption user group
syn match apacheOption "\<valid-user\>" syn match apacheOption "\<valid-user\>"
syn case match syn case match
syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained
" Added as suggested by Mikko Koivunalho
syn keyword apacheMethodOption BASELINE-CONTROL CHECKIN CHECKOUT LABEL MERGE MKACTIVITY MKWORKSPACE REPORT UNCHECKOUT UPDATE VERSION-CONTROL contained
syn case ignore syn case ignore
syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything
syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError

View File

@ -19,7 +19,7 @@ syn match asteriskComment ";.*" contains=asteriskTodo
syn match asteriskContext "\[.\{-}\]" syn match asteriskContext "\[.\{-}\]"
syn match asteriskExten "^\s*\zsexten\s*=>\?\s*[^,]\+\ze," contains=asteriskPattern nextgroup=asteriskPriority syn match asteriskExten "^\s*\zsexten\s*=>\?\s*[^,]\+\ze," contains=asteriskPattern nextgroup=asteriskPriority
syn match asteriskExten "^\s*\zssame\s*=>\?\s*\ze" nextgroup=asteriskPriority syn match asteriskExten "^\s*\zssame\s*=>\?\s*\ze" nextgroup=asteriskPriority
syn match asteriskExten "^\s*\(register\|channel\|ignorepat\|include\|\(no\)\?load\)\s*=>\?" syn match asteriskExten "^\s*\(register\|channel\|ignorepat\|include\|l\?e\?switch\|\(no\)\?load\)\s*=>\?"
syn match asteriskPattern "_\(\[[[:alnum:]#*\-]\+\]\|[[:alnum:]#*]\)*\.\?" contained syn match asteriskPattern "_\(\[[[:alnum:]#*\-]\+\]\|[[:alnum:]#*]\)*\.\?" contained
syn match asteriskPattern "[^A-Za-z0-9,]\zs[[:alnum:]#*]\+\ze" contained syn match asteriskPattern "[^A-Za-z0-9,]\zs[[:alnum:]#*]\+\ze" contained
syn match asteriskApp ",\zs[a-zA-Z]\+\ze$" syn match asteriskApp ",\zs[a-zA-Z]\+\ze$"
@ -39,7 +39,7 @@ syn match asteriskVarLen "\${_\{0,2}[[:alpha:]][[:alnum:]_]*(.*)}
syn match asteriskVarLen "(\zs[[:alpha:]][[:alnum:]_]*(.\{-})\ze=" contains=asteriskVar,asteriskVarLen,asteriskExp syn match asteriskVarLen "(\zs[[:alpha:]][[:alnum:]_]*(.\{-})\ze=" contains=asteriskVar,asteriskVarLen,asteriskExp
syn match asteriskExp "\$\[.\{-}\]" contains=asteriskVar,asteriskVarLen,asteriskExp syn match asteriskExp "\$\[.\{-}\]" contains=asteriskVar,asteriskVarLen,asteriskExp
syn match asteriskCodecsPermit "^\s*\(allow\|disallow\)\s*=\s*.*$" contains=asteriskCodecs syn match asteriskCodecsPermit "^\s*\(allow\|disallow\)\s*=\s*.*$" contains=asteriskCodecs
syn match asteriskCodecs "\(g723\|gsm\|ulaw\|alaw\|g726\|adpcm\|slin\|lpc10\|g729\|speex\|ilbc\|all\s*$\)" syn match asteriskCodecs "\(vp9\|vp8\|h264\|h263p\|h263\|h261\|jpeg\|opus\|g722\|g723\|gsm\|ulaw\|alaw\|g719\|g726\|g726aal2\|siren7\|siren14\|adpcm\|slin\|lpc10\|g729\|speex\|ilbc\|wav\|all\s*$\)"
syn match asteriskError "^\(type\|auth\|permit\|deny\|bindaddr\|host\)\s*=.*$" syn match asteriskError "^\(type\|auth\|permit\|deny\|bindaddr\|host\)\s*=.*$"
syn match asteriskType "^\zstype=\ze\<\(peer\|user\|friend\)\>$" contains=asteriskTypeType syn match asteriskType "^\zstype=\ze\<\(peer\|user\|friend\)\>$" contains=asteriskTypeType
syn match asteriskTypeType "\<\(peer\|user\|friend\)\>" contained syn match asteriskTypeType "\<\(peer\|user\|friend\)\>" contained

View File

@ -61,7 +61,7 @@ syn match cssClassName "\.-\=[A-Za-z_][A-Za-z0-9_-]*" contains=cssClassNameDot
syn match cssClassNameDot contained '\.' syn match cssClassNameDot contained '\.'
try try
syn match cssIdentifier "#[A-Za-zÀ-ÿ_@][A-Za-zÀ-ÿ0-9_@-]*" syn match cssIdentifier "#[A-Za-zÀ-ÿ_@][A-Za-zÀ-ÿ0-9_@-]*"
catch /^.*/ catch /^.*/
syn match cssIdentifier "#[A-Za-z_@][A-Za-z0-9_@-]*" syn match cssIdentifier "#[A-Za-z_@][A-Za-z0-9_@-]*"
endtry endtry
@ -649,5 +649,5 @@ endif
let &cpo = s:cpo_save let &cpo = s:cpo_save
unlet s:cpo_save unlet s:cpo_save
" vim: ts=8
" vim: ts=8

View File

@ -1,18 +1,17 @@
" Vim syntax file " Vim syntax file
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77) " Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77)
" Version: 102 " Version: (v103) 2020 October 07
" Last Change: 2020 Apr 20
" Patched By: Eisuke Kawashima
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/> " Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www2.unb.ca/~ajit/>
" Usage: For instructions, do :help fortran-syntax from Vim " Usage: For instructions, do :help fortran-syntax from Vim
" Credits: " Credits:
" Version 0.1 for Fortran 95 was created (April 2000) by Ajit Thakkar from the " Version 0.1 for Fortran 95 was created in April 2000 by Ajit Thakkar from an
" Fortran 77 syntax file by Mario Eusebio and Preben Guldberg. " older Fortran 77 syntax file by Mario Eusebio and Preben Guldberg.
" Since then, useful suggestions and contributions have been made, in order, by: " Since then, useful suggestions and contributions have been made, in order, by:
" Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile, " Andrej Panjkov, Bram Moolenaar, Thomas Olsen, Michael Sternberg, Christian Reile,
" Walter Dieudonné, Alexander Wagner, Roman Bertle, Charles Rendleman, " Walter Dieudonné, Alexander Wagner, Roman Bertle, Charles Rendleman,
" Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann, " Andrew Griffiths, Joe Krahn, Hendrik Merx, Matt Thompson, Jan Hermann,
" Stefano Zaghi, Vishnu V. Krishnan, Judicaël Grasset, and Takuma Yoshida " Stefano Zaghi, Vishnu V. Krishnan, Judicaël Grasset, Takuma Yoshida,
" Eisuke Kawashima, and André Chalella.`
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@ -102,6 +101,8 @@ syn match fortranUnitHeader "\<end\>"
syn match fortranType "\<character\>" syn match fortranType "\<character\>"
syn match fortranType "\<complex\>" syn match fortranType "\<complex\>"
syn match fortranType "\<integer\>" syn match fortranType "\<integer\>"
syn match fortranType "\<real\>"
syn match fortranType "\<logical\>"
syn keyword fortranType intrinsic syn keyword fortranType intrinsic
syn match fortranType "\<implicit\>" syn match fortranType "\<implicit\>"
syn keyword fortranStructure dimension syn keyword fortranStructure dimension
@ -149,11 +150,9 @@ syn keyword fortranExtraIntrinsic algama cdabs cdcos cdexp cdlog cdsin cdsqrt cq
syn keyword fortranIntrinsic abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh syn keyword fortranIntrinsic abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh
syn match fortranIntrinsic "\<len\s*[(,]"me=s+3 syn match fortranIntrinsic "\<len\s*[(,]"me=s+3
syn match fortranIntrinsic "\<real\s*("me=s+4 syn match fortranIntrinsic "\<real\s*("me=s+4
syn match fortranType "\<implicit\s\+real"
syn match fortranType "^\s*real\>"
syn match fortranIntrinsic "\<logical\s*("me=s+7 syn match fortranIntrinsic "\<logical\s*("me=s+7
syn match fortranType "\<implicit\s\+logical" syn match fortranType "\<implicit\s\+real\>"
syn match fortranType "^\s*logical\>" syn match fortranType "\<implicit\s\+logical\>"
"Numbers of various sorts "Numbers of various sorts
" Integers " Integers
@ -168,6 +167,12 @@ syn match fortranFloatIll display "\<\d\+\.\([deq][-+]\=\d\+\)\=\(_\a\w*\)\=\>"
syn match fortranFloatIll display "\<\d\+\.\d\+\([dq][-+]\=\d\+\)\=\(_\a\w*\)\=\>" syn match fortranFloatIll display "\<\d\+\.\d\+\([dq][-+]\=\d\+\)\=\(_\a\w*\)\=\>"
" floating point number " floating point number
syn match fortranFloat display "\<\d\+\.\d\+\(e[-+]\=\d\+\)\=\(_\a\w*\)\=\>" syn match fortranFloat display "\<\d\+\.\d\+\(e[-+]\=\d\+\)\=\(_\a\w*\)\=\>"
" binary number
syn match fortranBinary display "b["'][01]\+["']"
" octal number
syn match fortranOctal display "o["'][0-7]\+["']"
" hexadecimal number
syn match fortranHex display "z["'][0-9A-F]\+["']"
" Numbers in formats " Numbers in formats
syn match fortranFormatSpec display "\d*f\d\+\.\d\+" syn match fortranFormatSpec display "\d*f\d\+\.\d\+"
syn match fortranFormatSpec display "\d*e[sn]\=\d\+\.\d\+\(e\d+\>\)\=" syn match fortranFormatSpec display "\d*e[sn]\=\d\+\.\d\+\(e\d+\>\)\="
@ -215,7 +220,6 @@ syn match fortranUnitHeader "\<submodule\>"
syn keyword fortranUnitHeader use only contains syn keyword fortranUnitHeader use only contains
syn keyword fortranUnitHeader result operator assignment syn keyword fortranUnitHeader result operator assignment
syn match fortranUnitHeader "\<interface\>" syn match fortranUnitHeader "\<interface\>"
syn match fortranUnitHeader "\<recursive\>"
syn keyword fortranKeyword allocate deallocate nullify cycle exit syn keyword fortranKeyword allocate deallocate nullify cycle exit
syn match fortranConditional "\<select\>" syn match fortranConditional "\<select\>"
syn keyword fortranConditional case default where elsewhere syn keyword fortranConditional case default where elsewhere
@ -274,6 +278,7 @@ syn keyword fortranIntrinsic null cpu_time
syn match fortranType "\<elemental\>" syn match fortranType "\<elemental\>"
syn match fortranType "\<pure\>" syn match fortranType "\<pure\>"
syn match fortranType "\<impure\>" syn match fortranType "\<impure\>"
syn match fortranType "\<recursive\>"
if exists("fortran_more_precise") if exists("fortran_more_precise")
syn match fortranConstructName "\(\<end\s*forall\s\+\)\@15<=\a\w*\>" syn match fortranConstructName "\(\<end\s*forall\s\+\)\@15<=\a\w*\>"
endif endif
@ -453,6 +458,9 @@ hi def link fortranTodo Todo
hi def link fortranContinueMark Special hi def link fortranContinueMark Special
hi def link fortranString String hi def link fortranString String
hi def link fortranNumber Number hi def link fortranNumber Number
hi def link fortranBinary Number
hi def link fortranOctal Number
hi def link fortranHex Number
hi def link fortranOperator Operator hi def link fortranOperator Operator
hi def link fortranBoolean Boolean hi def link fortranBoolean Boolean
hi def link fortranLabelError Error hi def link fortranLabelError Error

View File

@ -1,10 +1,9 @@
" Vim syntax file " Vim syntax file
" Language: IA-64 (Itanium) assembly language " Language: IA-64 (Itanium) assembly language
" Maintainer: Parth Malwankar <pmalwankar@yahoo.com> " Maintainer: Doug Kearns <dougkearns@gmail.com>
" URL: http://www.geocities.com/pmalwankar (Home Page with link to my Vim page) " Previous Maintainer: Parth Malwankar <pmalwankar@yahoo.com>
" http://www.geocities.com/pmalwankar/vim.htm (for VIM) " File Version: 0.8
" File Version: 0.7 " Last Change: 2020 Sep 25
" Last Change: 2006 Sep 08
" quit when a syntax file was already loaded " quit when a syntax file was already loaded
if exists("b:current_syntax") if exists("b:current_syntax")
@ -15,16 +14,16 @@ endif
"ignore case for assembly "ignore case for assembly
syn case ignore syn case ignore
" Identifier Keyword characters (defines \k)
setlocal iskeyword=@,48-57,#,$,.,:,?,@-@,_,~
syn sync minlines=5 syn sync minlines=5
" Read the MASM syntax to start with " Read the MASM syntax to start with
" This is needed as both IA-64 as well as IA-32 instructions are supported " This is needed as both IA-64 as well as IA-32 instructions are supported
source <sfile>:p:h/masm.vim source <sfile>:p:h/masm.vim
syn region ia64Comment start="//" end="$" contains=ia64Todo " Identifier Keyword characters (defines \k)
syn iskeyword @,48-57,#,$,.,:,?,@-@,_,~
syn region ia64Comment start="//" end="$" contains=ia64Todo
syn region ia64Comment start="/\*" end="\*/" contains=ia64Todo syn region ia64Comment start="/\*" end="\*/" contains=ia64Todo
syn match ia64Identifier "[a-zA-Z_$][a-zA-Z0-9_$]*" syn match ia64Identifier "[a-zA-Z_$][a-zA-Z0-9_$]*"
@ -266,22 +265,22 @@ syn match ia64data "stringz\=\(\(\(\.ua\)\=\(\.msb\|\.lsb\)\=\)\|\(\(\.msb\|\.ls
"put masm groups with our groups "put masm groups with our groups
hi def link masmOperator ia64operator hi def link masmOperator ia64operator
hi def link masmDirective ia64Directive hi def link masmDirective ia64Directive
hi def link masmOpcode ia64Opcode hi def link masmOpcode ia64Opcode
hi def link masmIdentifier ia64Identifier hi def link masmIdentifier ia64Identifier
hi def link masmFloat ia64Float hi def link masmFloat ia64Float
"ia64 specific stuff "ia64 specific stuff
hi def link ia64Label Define hi def link ia64Label Define
hi def link ia64Comment Comment hi def link ia64Comment Comment
hi def link ia64Directive Type hi def link ia64Directive Type
hi def link ia64opcode Statement hi def link ia64opcode Statement
hi def link ia64registers Operator hi def link ia64registers Operator
hi def link ia64string String hi def link ia64string String
hi def link ia64Hex Number hi def link ia64Hex Number
hi def link ia64Binary Number hi def link ia64Binary Number
hi def link ia64Octal Number hi def link ia64Octal Number
hi def link ia64Float Float hi def link ia64Float Float
hi def link ia64Decimal Number hi def link ia64Decimal Number
hi def link ia64Identifier Identifier hi def link ia64Identifier Identifier
hi def link ia64data Type hi def link ia64data Type
hi def link ia64delimiter Delimiter hi def link ia64delimiter Delimiter

View File

@ -2,14 +2,13 @@
" Language: less " Language: less
" Maintainer: Alessandro Vioni <jenoma@gmail.com> " Maintainer: Alessandro Vioni <jenoma@gmail.com>
" URL: https://github.com/genoma/vim-less " URL: https://github.com/genoma/vim-less
" Last Change: 2014 November 24 " Last Change: 2020 Sep 29
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
endif endif
runtime! syntax/css.vim runtime! syntax/css.vim
runtime! after/syntax/css.vim
syn case ignore syn case ignore

View File

@ -2,7 +2,7 @@
" This is a GENERATED FILE. Please always refer to source file at the URI below. " This is a GENERATED FILE. Please always refer to source file at the URI below.
" Language: XKB (X Keyboard Extension) components " Language: XKB (X Keyboard Extension) components
" Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
" Last Change: 2003-04-13 " Last Change: 2020 Oct 06
" URL: http://trific.ath.cx/Ftp/vim/syntax/xkb.vim " URL: http://trific.ath.cx/Ftp/vim/syntax/xkb.vim
" Setup " Setup