vim-patch:partial:3f32a5f1601a (#18555)

Update runtime files and translations
3f32a5f160

skip eval.txt (requires 8.2.4883)
This commit is contained in:
Christian Clason 2022-05-13 15:20:58 +02:00 committed by GitHub
parent c196119acb
commit eb4b337d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 137 additions and 126 deletions

View File

@ -1,7 +1,8 @@
" scdoc compiler for Vim " scdoc compiler for Vim
" Compiler: scdoc " Compiler: scdoc
" Maintainer: Greg Anders <greg@gpanders.com> " Maintainer: Gregory Anders <contact@gpanders.com>
" Last Updated: 2019-10-24 " Last Updated: 2019-10-24
" Upstream: https://github.com/gpanders/vim-scdoc
if exists('current_compiler') if exists('current_compiler')
finish finish

View File

@ -3137,10 +3137,13 @@ text...
:for {var} in {object} *:for* *E690* *E732* :for {var} in {object} *:for* *E690* *E732*
:endfo[r] *:endfo* *:endfor* :endfo[r] *:endfo* *:endfor*
Repeat the commands between `:for` and `:endfor` for Repeat the commands between `:for` and `:endfor` for
each item in {object}. {object} can be a |List| or each item in {object}. {object} can be a |List|,
a |Blob|. Variable {var} is set to the value of each a |Blob| or a |String|.
item. When an error is detected for a command inside
the loop, execution continues after the `endfor`. Variable {var} is set to the value of each item.
When an error is detected for a command inside the
loop, execution continues after the `endfor`.
Changing {object} inside the loop affects what items Changing {object} inside the loop affects what items
are used. Make a copy if this is unwanted: > are used. Make a copy if this is unwanted: >
:for item in copy(mylist) :for item in copy(mylist)

View File

@ -453,7 +453,7 @@ your own highlight colors for the progress bar. Example: >
hi TOhtmlProgress guifg=#c0ffee ctermbg=7 hi TOhtmlProgress guifg=#c0ffee ctermbg=7
< <
*g:html_number_lines* *g:html_number_lines*
Default: current 'number' setting. Default: Current 'number' setting.
When 0, buffer text is displayed in the generated HTML without line numbering. When 0, buffer text is displayed in the generated HTML without line numbering.
When 1, a column of line numbers is added to the generated HTML with the same When 1, a column of line numbers is added to the generated HTML with the same
highlighting as the line number column in Vim (|hl-LineNr|). highlighting as the line number column in Vim (|hl-LineNr|).
@ -542,7 +542,7 @@ folded text will open the fold as if |g:html_hover_unfold| were set.
:let g:html_no_foldcolumn = 1 :let g:html_no_foldcolumn = 1
< <
*TOhtml-uncopyable-text* *g:html_prevent_copy* *TOhtml-uncopyable-text* *g:html_prevent_copy*
Default: empty string. Default: Empty string.
This option prevents certain regions of the generated HTML from being copied, This option prevents certain regions of the generated HTML from being copied,
when you select all text in document rendered in a browser and copy it. Useful when you select all text in document rendered in a browser and copy it. Useful
for allowing users to copy-paste only the source text even if a fold column or for allowing users to copy-paste only the source text even if a fold column or
@ -568,7 +568,7 @@ uncopyable regions. In some browsers, especially older browsers, after
selecting an entire page and copying the selection, the <input> tags are not selecting an entire page and copying the selection, the <input> tags are not
pasted with the page text. If |g:html_no_invalid| is 0, the <input> tags have pasted with the page text. If |g:html_no_invalid| is 0, the <input> tags have
invalid type; this works in more browsers, but the page will not validate. invalid type; this works in more browsers, but the page will not validate.
Note: this method does NOT work in recent versions of Chrome and equivalent Note: This method does NOT work in recent versions of Chrome and equivalent
browsers; the <input> tags get pasted with the text. browsers; the <input> tags get pasted with the text.
When "fallback" (default value), the same <input> elements are generated for When "fallback" (default value), the same <input> elements are generated for
@ -624,12 +624,12 @@ To append a string "_mystring" to the end of each ID: >
:let g:html_id_expr = '"_mystring"' :let g:html_id_expr = '"_mystring"'
< <
Note, when converting a diff view to HTML, the expression will only be Note: When converting a diff view to HTML, the expression will only be
evaluated for the first window in the diff, and the result used for all the evaluated for the first window in the diff, and the result used for all the
windows. windows.
*TOhtml-wrap-text* *g:html_pre_wrap* *TOhtml-wrap-text* *g:html_pre_wrap*
Default: current 'wrap' setting. Default: Current 'wrap' setting.
When 0, if |g:html_no_pre| is 0 or unset, the text in the generated HTML does When 0, if |g:html_no_pre| is 0 or unset, the text in the generated HTML does
not wrap at the edge of the browser window. not wrap at the edge of the browser window.
When 1, if |g:html_use_css| is 1, the CSS 2.0 "white-space:pre-wrap" value is When 1, if |g:html_use_css| is 1, the CSS 2.0 "white-space:pre-wrap" value is
@ -689,7 +689,7 @@ wide browser support. However, you can override this to support specific
encodings that may not be automatically detected by default (see options encodings that may not be automatically detected by default (see options
below). See http://www.iana.org/assignments/character-sets for the IANA names. below). See http://www.iana.org/assignments/character-sets for the IANA names.
Note, by default all Unicode encodings are converted to UTF-8 with no BOM in Note: By default all Unicode encodings are converted to UTF-8 with no BOM in
the generated HTML, as recommended by W3C: the generated HTML, as recommended by W3C:
http://www.w3.org/International/questions/qa-choosing-encodings http://www.w3.org/International/questions/qa-choosing-encodings
@ -1293,8 +1293,8 @@ the global or buffer-local variable load_doxygen_syntax. This is done by
adding the following to your vimrc. > adding the following to your vimrc. >
:let g:load_doxygen_syntax=1 :let g:load_doxygen_syntax=1
There are a couple of variables that have an effect on syntax highlighting, and There are a couple of variables that have an effect on syntax highlighting,
are to do with non-standard highlighting options. and are to do with non-standard highlighting options.
Variable Default Effect ~ Variable Default Effect ~
g:doxygen_enhanced_color g:doxygen_enhanced_color
@ -1436,8 +1436,8 @@ To enable highlighting some special atoms, put this in your vimrc: >
ELIXIR *elixir.vim* *ft-elixir-syntax* ELIXIR *elixir.vim* *ft-elixir-syntax*
Elixir is a dynamic, functional language for building scalable and maintainable Elixir is a dynamic, functional language for building scalable and
applications. maintainable applications.
The following file extensions are auto-detected as Elixir file types: The following file extensions are auto-detected as Elixir file types:
@ -1453,7 +1453,7 @@ Elixir.
FLEXWIKI *flexwiki.vim* *ft-flexwiki-syntax* FLEXWIKI *flexwiki.vim* *ft-flexwiki-syntax*
FlexWiki is an ASP.NET-based wiki package available at http://www.flexwiki.com FlexWiki is an ASP.NET-based wiki package available at http://www.flexwiki.com
NOTE: this site currently doesn't work, on Wikipedia is mentioned that NOTE: This site currently doesn't work, on Wikipedia is mentioned that
development stopped in 2009. development stopped in 2009.
Syntax highlighting is available for the most common elements of FlexWiki Syntax highlighting is available for the most common elements of FlexWiki
@ -1533,8 +1533,8 @@ syntax highlighting will not be correct if the form is incorrectly set.
When you create a new fortran file, the syntax script assumes fixed source When you create a new fortran file, the syntax script assumes fixed source
form. If you always use free source form, then > form. If you always use free source form, then >
:let fortran_free_source=1 :let fortran_free_source=1
in your vimrc prior to the :syntax on command. If you always use fixed source in your vimrc prior to the :syntax on command. If you always use fixed
form, then > source form, then >
:let fortran_fixed_source=1 :let fortran_fixed_source=1
in your vimrc prior to the :syntax on command. in your vimrc prior to the :syntax on command.
@ -1807,8 +1807,8 @@ ends with -->) you can define >
JavaScript and Visual Basic embedded inside HTML documents are highlighted as JavaScript and Visual Basic embedded inside HTML documents are highlighted as
'Special' with statements, comments, strings and so on colored as in standard 'Special' with statements, comments, strings and so on colored as in standard
programming languages. Note that only JavaScript and Visual Basic are currently programming languages. Note that only JavaScript and Visual Basic are
supported, no other scripting language has been added yet. currently supported, no other scripting language has been added yet.
Embedded and inlined cascading style sheets (CSS) are highlighted too. Embedded and inlined cascading style sheets (CSS) are highlighted too.
@ -1912,8 +1912,8 @@ The java.vim syntax highlighting file offers several options:
In Java 1.0.2 it was never possible to have braces inside parens, so this was In Java 1.0.2 it was never possible to have braces inside parens, so this was
flagged as an error. Since Java 1.1 this is possible (with anonymous flagged as an error. Since Java 1.1 this is possible (with anonymous
classes), and therefore is no longer marked as an error. If you prefer the old classes), and therefore is no longer marked as an error. If you prefer the
way, put the following line into your vim startup file: > old way, put the following line into your vim startup file: >
:let java_mark_braces_in_parens_as_errors=1 :let java_mark_braces_in_parens_as_errors=1
All identifiers in java.lang.* are always visible in all classes. To All identifiers in java.lang.* are always visible in all classes. To
@ -2031,10 +2031,10 @@ LISP *lisp.vim* *ft-lisp-syntax*
The lisp syntax highlighting provides two options: > The lisp syntax highlighting provides two options: >
g:lisp_instring : if it exists, then "(...)" strings are highlighted g:lisp_instring : If it exists, then "(...)" strings are highlighted
as if the contents of the string were lisp. as if the contents of the string were lisp.
Useful for AutoLisp. Useful for AutoLisp.
g:lisp_rainbow : if it exists and is nonzero, then differing levels g:lisp_rainbow : If it exists and is nonzero, then differing levels
of parenthesization will receive different of parenthesization will receive different
highlighting. highlighting.
< <
@ -2440,8 +2440,8 @@ If you do not want complex things like '@{${"foo"}}' to be parsed: >
(In Vim 6.x it was the other way around: "perl_extended_vars" enabled it.) (In Vim 6.x it was the other way around: "perl_extended_vars" enabled it.)
The coloring strings can be changed. By default strings and qq friends will be The coloring strings can be changed. By default strings and qq friends will
highlighted like the first line. If you set the variable be highlighted like the first line. If you set the variable
perl_string_as_statement, it will be highlighted as in the second line. perl_string_as_statement, it will be highlighted as in the second line.
"hello world!"; qq|hello world|; "hello world!"; qq|hello world|;
@ -2453,8 +2453,8 @@ perl_string_as_statement, it will be highlighted as in the second line.
The syncing has 3 options. The first two switch off some triggering of The syncing has 3 options. The first two switch off some triggering of
synchronization and should only be needed in case it fails to work properly. synchronization and should only be needed in case it fails to work properly.
If while scrolling all of a sudden the whole screen changes color completely If while scrolling all of a sudden the whole screen changes color completely
then you should try and switch off one of those. Let me know if you can figure then you should try and switch off one of those. Let me know if you can
out the line that causes the mistake. figure out the line that causes the mistake.
One triggers on "^\s*sub\s*" and the other on "^[$@%]" more or less. > One triggers on "^\s*sub\s*" and the other on "^[$@%]" more or less. >
@ -2491,7 +2491,7 @@ behavior, set 'perl_nofold_packages': >
PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax* PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax*
[note: previously this was called "php3", but since it now also supports php4 [Note: Previously this was called "php3", but since it now also supports php4
it has been renamed to "php"] it has been renamed to "php"]
There are the following options for the php syntax highlighting. There are the following options for the php syntax highlighting.
@ -2561,15 +2561,15 @@ PPWizard is a preprocessor for HTML and OS/2 INF files
This syntax file has the options: This syntax file has the options:
- ppwiz_highlight_defs : determines highlighting mode for PPWizard's - ppwiz_highlight_defs : Determines highlighting mode for PPWizard's
definitions. Possible values are definitions. Possible values are
ppwiz_highlight_defs = 1 : PPWizard #define statements retain the ppwiz_highlight_defs = 1 : PPWizard #define statements retain the
colors of their contents (e.g. PPWizard macros and variables) colors of their contents (e.g. PPWizard macros and variables).
ppwiz_highlight_defs = 2 : preprocessor #define and #evaluate ppwiz_highlight_defs = 2 : Preprocessor #define and #evaluate
statements are shown in a single color with the exception of line statements are shown in a single color with the exception of line
continuation symbols continuation symbols.
The default setting for ppwiz_highlight_defs is 1. The default setting for ppwiz_highlight_defs is 1.
@ -2608,7 +2608,7 @@ highlighted by defining the postscr_level variable as follows: >
If this variable is not defined it defaults to 2 (level 2) since this is If this variable is not defined it defaults to 2 (level 2) since this is
the most prevalent version currently. the most prevalent version currently.
Note, not all PS interpreters will support all language features for a Note: Not all PS interpreters will support all language features for a
particular language level. In particular the %!PS-Adobe-3.0 at the start of particular language level. In particular the %!PS-Adobe-3.0 at the start of
PS files does NOT mean the PostScript present is level 3 PostScript! PS files does NOT mean the PostScript present is level 3 PostScript!
@ -2710,7 +2710,7 @@ If you want all possible Python highlighting (the same as setting the
preceding last option and unsetting all other ones): > preceding last option and unsetting all other ones): >
:let python_highlight_all = 1 :let python_highlight_all = 1
Note: only existence of these options matter, not their value. You can replace Note: Only existence of these options matter, not their value. You can replace
1 above with anything. 1 above with anything.
QUAKE *quake.vim* *ft-quake-syntax* QUAKE *quake.vim* *ft-quake-syntax*
@ -3150,16 +3150,16 @@ The Speedup syntax file has some options:
the DECLARE section; if you defined own types, you have to include the DECLARE section; if you defined own types, you have to include
them in the syntax file. them in the syntax file.
- oneline_comments : this value ranges from 1 to 3 and determines the - oneline_comments : This value ranges from 1 to 3 and determines the
highlighting of # style comments. highlighting of # style comments.
oneline_comments = 1 : allow normal Speedup code after an even oneline_comments = 1 : Allow normal Speedup code after an even
number of #s. number of #s.
oneline_comments = 2 : show code starting with the second # as oneline_comments = 2 : Show code starting with the second # as
error. This is the default setting. error. This is the default setting.
oneline_comments = 3 : show the whole line as error if it contains oneline_comments = 3 : Show the whole line as error if it contains
more than one #. more than one #.
Since especially OPERATION sections tend to become very large due to Since especially OPERATION sections tend to become very large due to
@ -3198,8 +3198,8 @@ This covers the shell named "tcsh". It is a superset of csh. See |csh.vim|
for how the filetype is detected. for how the filetype is detected.
Tcsh does not allow \" in strings unless the "backslash_quote" shell variable Tcsh does not allow \" in strings unless the "backslash_quote" shell variable
is set. If you want VIM to assume that no backslash quote constructs exist add is set. If you want VIM to assume that no backslash quote constructs exist
this line to your vimrc: > add this line to your vimrc: >
:let tcsh_backslash_quote = 0 :let tcsh_backslash_quote = 0
@ -3552,7 +3552,7 @@ start and end tags. This can be turned on by >
:let g:xml_syntax_folding = 1 :let g:xml_syntax_folding = 1
:set foldmethod=syntax :set foldmethod=syntax
Note: syntax folding might slow down syntax highlighting significantly, Note: Syntax folding might slow down syntax highlighting significantly,
especially for large files. especially for large files.
@ -4982,8 +4982,8 @@ ctermbg={color-nr} *highlight-ctermbg*
a number instead of a color name. a number instead of a color name.
Note that for 16 color ansi style terminals (including xterms), the Note that for 16 color ansi style terminals (including xterms), the
numbers in the NR-8 column is used. Here '*' means 'add 8' so that Blue numbers in the NR-8 column is used. Here '*' means 'add 8' so that
is 12, DarkGray is 8 etc. Blue is 12, DarkGray is 8 etc.
Note that for some color terminals these names may result in the wrong Note that for some color terminals these names may result in the wrong
colors! colors!
@ -5096,56 +5096,56 @@ These are the builtin highlighting groups. Note that the highlighting depends
on the value of 'background'. You can see the current settings with the on the value of 'background'. You can see the current settings with the
":highlight" command. ":highlight" command.
*hl-ColorColumn* *hl-ColorColumn*
ColorColumn used for the columns set with 'colorcolumn' ColorColumn Used for the columns set with 'colorcolumn'.
*hl-Conceal* *hl-Conceal*
Conceal placeholder characters substituted for concealed Conceal Placeholder characters substituted for concealed
text (see 'conceallevel') text (see 'conceallevel').
*hl-CurSearch* *hl-CurSearch*
CurSearch used for highlighting a search pattern under the cursor CurSearch Used for highlighting a search pattern under the cursor
(see 'hlsearch') (see 'hlsearch').
*hl-Cursor* *hl-Cursor*
Cursor character under the cursor Cursor Character under the cursor.
lCursor the character under the cursor when |language-mapping| lCursor Character under the cursor when |language-mapping|
is used (see 'guicursor') is used (see 'guicursor').
*hl-CursorIM* *hl-CursorIM*
CursorIM like Cursor, but used when in IME mode |CursorIM| CursorIM Like Cursor, but used when in IME mode. |CursorIM|
*hl-CursorColumn* *hl-CursorColumn*
CursorColumn Screen-column at the cursor, when 'cursorcolumn' is set. CursorColumn Screen-column at the cursor, when 'cursorcolumn' is set.
*hl-CursorLine* *hl-CursorLine*
CursorLine Screen-line at the cursor, when 'cursorline' is set. CursorLine Screen-line at the cursor, when 'cursorline' is set.
Low-priority if foreground (ctermfg OR guifg) is not set. Low-priority if foreground (ctermfg OR guifg) is not set.
*hl-Directory* *hl-Directory*
Directory directory names (and other special names in listings) Directory Directory names (and other special names in listings).
*hl-DiffAdd* *hl-DiffAdd*
DiffAdd diff mode: Added line |diff.txt| DiffAdd Diff mode: Added line. |diff.txt|
*hl-DiffChange* *hl-DiffChange*
DiffChange diff mode: Changed line |diff.txt| DiffChange Diff mode: Changed line. |diff.txt|
*hl-DiffDelete* *hl-DiffDelete*
DiffDelete diff mode: Deleted line |diff.txt| DiffDelete Diff mode: Deleted line. |diff.txt|
*hl-DiffText* *hl-DiffText*
DiffText diff mode: Changed text within a changed line |diff.txt| DiffText Diff mode: Changed text within a changed line. |diff.txt|
*hl-EndOfBuffer* *hl-EndOfBuffer*
EndOfBuffer filler lines (~) after the end of the buffer. EndOfBuffer Filler lines (~) after the end of the buffer.
By default, this is highlighted like |hl-NonText|. By default, this is highlighted like |hl-NonText|.
*hl-TermCursor* *hl-TermCursor*
TermCursor cursor in a focused terminal TermCursor Cursor in a focused terminal.
*hl-TermCursorNC* *hl-TermCursorNC*
TermCursorNC cursor in an unfocused terminal TermCursorNC Cursor in an unfocused terminal.
*hl-ErrorMsg* *hl-ErrorMsg*
ErrorMsg error messages on the command line ErrorMsg Error messages on the command line.
*hl-WinSeparator* *hl-WinSeparator*
WinSeparator separators between window splits WinSeparator Separators between window splits.
*hl-Folded* *hl-Folded*
Folded line used for closed folds Folded Line used for closed folds.
*hl-FoldColumn* *hl-FoldColumn*
FoldColumn 'foldcolumn' FoldColumn 'foldcolumn'
*hl-SignColumn* *hl-SignColumn*
SignColumn column where |signs| are displayed SignColumn Column where |signs| are displayed.
*hl-IncSearch* *hl-IncSearch*
IncSearch 'incsearch' highlighting; also used for the text replaced with IncSearch 'incsearch' highlighting; also used for the text replaced with
":s///c" ":s///c".
*hl-Substitute* *hl-Substitute*
Substitute |:substitute| replacement text highlighting Substitute |:substitute| replacement text highlighting.
*hl-LineNr* *hl-LineNr*
LineNr Line number for ":number" and ":#" commands, and when 'number' LineNr Line number for ":number" and ":#" commands, and when 'number'
@ -5164,15 +5164,15 @@ CursorLineSign Like SignColumn when 'cursorline' is set for the cursor line.
*hl-CursorLineFold* *hl-CursorLineFold*
CursorLineFold Like FoldColumn when 'cursorline' is set for the cursor line. CursorLineFold Like FoldColumn when 'cursorline' is set for the cursor line.
*hl-MatchParen* *hl-MatchParen*
MatchParen The character under the cursor or just before it, if it MatchParen Character under the cursor or just before it, if it
is a paired bracket, and its match. |pi_paren.txt| is a paired bracket, and its match. |pi_paren.txt|
*hl-ModeMsg* *hl-ModeMsg*
ModeMsg 'showmode' message (e.g., "-- INSERT --") ModeMsg 'showmode' message (e.g., "-- INSERT --").
*hl-MsgArea* *hl-MsgArea*
MsgArea Area for messages and cmdline MsgArea Area for messages and cmdline.
*hl-MsgSeparator* *hl-MsgSeparator*
MsgSeparator Separator for scrolled messages, `msgsep` flag of 'display' MsgSeparator Separator for scrolled messages, `msgsep` flag of 'display'.
*hl-MoreMsg* *hl-MoreMsg*
MoreMsg |more-prompt| MoreMsg |more-prompt|
*hl-NonText* *hl-NonText*
@ -5181,21 +5181,21 @@ NonText '@' at the end of the window, characters from 'showbreak'
(e.g., ">" displayed when a double-wide character doesn't (e.g., ">" displayed when a double-wide character doesn't
fit at the end of the line). See also |hl-EndOfBuffer|. fit at the end of the line). See also |hl-EndOfBuffer|.
*hl-Normal* *hl-Normal*
Normal normal text Normal Normal text.
*hl-NormalFloat* *hl-NormalFloat*
NormalFloat Normal text in floating windows. NormalFloat Normal text in floating windows.
*hl-NormalNC* *hl-NormalNC*
NormalNC normal text in non-current windows NormalNC Normal text in non-current windows.
*hl-Pmenu* *hl-Pmenu*
Pmenu Popup menu: normal item. Pmenu Popup menu: Normal item.
*hl-PmenuSel* *hl-PmenuSel*
PmenuSel Popup menu: selected item. PmenuSel Popup menu: Selected item.
*hl-PmenuSbar* *hl-PmenuSbar*
PmenuSbar Popup menu: scrollbar. PmenuSbar Popup menu: Scrollbar.
*hl-PmenuThumb* *hl-PmenuThumb*
PmenuThumb Popup menu: Thumb of the scrollbar. PmenuThumb Popup menu: Thumb of the scrollbar.
*hl-Question* *hl-Question*
Question |hit-enter| prompt and yes/no questions Question |hit-enter| prompt and yes/no questions.
*hl-QuickFixLine* *hl-QuickFixLine*
QuickFixLine Current |quickfix| item in the quickfix window. Combined with QuickFixLine Current |quickfix| item in the quickfix window. Combined with
|hl-CursorLine| when the cursor is there. |hl-CursorLine| when the cursor is there.
@ -5203,7 +5203,7 @@ QuickFixLine Current |quickfix| item in the quickfix window. Combined with
Search Last search pattern highlighting (see 'hlsearch'). Search Last search pattern highlighting (see 'hlsearch').
Also used for similar items that need to stand out. Also used for similar items that need to stand out.
*hl-SpecialKey* *hl-SpecialKey*
SpecialKey Unprintable characters: text displayed differently from what SpecialKey Unprintable characters: Text displayed differently from what
it really is. But not 'listchars' whitespace. |hl-Whitespace| it really is. But not 'listchars' whitespace. |hl-Whitespace|
*hl-SpellBad* *hl-SpellBad*
SpellBad Word that is not recognized by the spellchecker. |spell| SpellBad Word that is not recognized by the spellchecker. |spell|
@ -5220,30 +5220,30 @@ SpellRare Word that is recognized by the spellchecker as one that is
hardly ever used. |spell| hardly ever used. |spell|
Combined with the highlighting used otherwise. Combined with the highlighting used otherwise.
*hl-StatusLine* *hl-StatusLine*
StatusLine status line of current window StatusLine Status line of current window.
*hl-StatusLineNC* *hl-StatusLineNC*
StatusLineNC status lines of not-current windows StatusLineNC Status lines of not-current windows.
Note: if this is equal to "StatusLine" Vim will use "^^^" in Note: If this is equal to "StatusLine", Vim will use "^^^" in
the status line of the current window. the status line of the current window.
*hl-TabLine* *hl-TabLine*
TabLine tab pages line, not active tab page label TabLine Tab pages line, not active tab page label.
*hl-TabLineFill* *hl-TabLineFill*
TabLineFill tab pages line, where there are no labels TabLineFill Tab pages line, where there are no labels.
*hl-TabLineSel* *hl-TabLineSel*
TabLineSel tab pages line, active tab page label TabLineSel Tab pages line, active tab page label.
*hl-Title* *hl-Title*
Title titles for output from ":set all", ":autocmd" etc. Title Titles for output from ":set all", ":autocmd" etc.
*hl-Visual* *hl-Visual*
Visual Visual mode selection Visual Visual mode selection.
*hl-VisualNOS* *hl-VisualNOS*
VisualNOS Visual mode selection when vim is "Not Owning the Selection". VisualNOS Visual mode selection when vim is "Not Owning the Selection".
*hl-WarningMsg* *hl-WarningMsg*
WarningMsg warning messages WarningMsg Warning messages.
*hl-Whitespace* *hl-Whitespace*
Whitespace "nbsp", "space", "tab", "multispace", "lead" and "trail" Whitespace "nbsp", "space", "tab", "multispace", "lead" and "trail"
in 'listchars' in 'listchars'.
*hl-WildMenu* *hl-WildMenu*
WildMenu current match in 'wildmenu' completion WildMenu Current match in 'wildmenu' completion.
*hl-User1* *hl-User1..9* *hl-User9* *hl-User1* *hl-User1..9* *hl-User9*
The 'statusline' syntax allows the use of 9 different highlights in the The 'statusline' syntax allows the use of 9 different highlights in the

View File

@ -983,7 +983,7 @@ modified, but is forced (with '!') to be removed from a window, and
'autowrite' is off or the buffer can't be written. 'autowrite' is off or the buffer can't be written.
You can make a hidden buffer not hidden by starting to edit it with any You can make a hidden buffer not hidden by starting to edit it with any
command. Or by deleting it with the ":bdelete" command. command, or by deleting it with the ":bdelete" command.
The 'hidden' is global, it is used for all buffers. The 'bufhidden' option The 'hidden' is global, it is used for all buffers. The 'bufhidden' option
can be used to make an exception for a specific buffer. It can take these can be used to make an exception for a specific buffer. It can take these

View File

@ -1,6 +1,7 @@
" scdoc filetype plugin " scdoc filetype plugin
" Maintainer: Gregory Anders <greg@gpanders.com> " Maintainer: Gregory Anders <contact@gpanders.com>
" Last Updated: 2021-08-04 " Last Updated: 2022-05-09
" Upstream: https://github.com/gpanders/vim-scdoc
" Only do this when not done yet for this buffer " Only do this when not done yet for this buffer
if exists('b:did_ftplugin') if exists('b:did_ftplugin')
@ -19,8 +20,3 @@ setlocal softtabstop=0
setlocal textwidth=80 setlocal textwidth=80
let b:undo_ftplugin = 'setl com< cms< fo< et< sw< sts< tw<' let b:undo_ftplugin = 'setl com< cms< fo< et< sw< sts< tw<'
if has('conceal')
setlocal conceallevel=2
let b:undo_ftplugin .= ' cole<'
endif

View File

@ -3,7 +3,7 @@
" Maintainer: Debian Vim Maintainers " Maintainer: Debian Vim Maintainers
" Former Maintainers: Gerfried Fuchs <alfie@ist.org> " Former Maintainers: Gerfried Fuchs <alfie@ist.org>
" Wichert Akkerman <wakkerma@debian.org> " Wichert Akkerman <wakkerma@debian.org>
" Last Change: 2022 Mar 28 " Last Change: 2022 May 01
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim " URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debchangelog.vim
" Standard syntax initialization " Standard syntax initialization
@ -24,7 +24,7 @@ let s:supported = [
\ 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm', \ 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm',
\ 'trixie', 'sid', 'rc-buggy', \ 'trixie', 'sid', 'rc-buggy',
\ \
\ 'trusty', 'xenial', 'bionic', 'focal', 'impish', 'jammy', \ 'trusty', 'xenial', 'bionic', 'focal', 'impish', 'jammy', 'kinetic',
\ 'devel' \ 'devel'
\ ] \ ]
let s:unsupported = [ let s:unsupported = [

View File

@ -3,7 +3,7 @@
" Maintainer: Debian Vim Maintainers " Maintainer: Debian Vim Maintainers
" Former Maintainers: Gerfried Fuchs <alfie@ist.org> " Former Maintainers: Gerfried Fuchs <alfie@ist.org>
" Wichert Akkerman <wakkerma@debian.org> " Wichert Akkerman <wakkerma@debian.org>
" Last Change: 2021 Nov 26 " Last Change: 2022 May 11
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debcontrol.vim " URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debcontrol.vim
" Standard syntax initialization " Standard syntax initialization
@ -17,7 +17,7 @@ set cpo&vim
" Should match case except for the keys of each field " Should match case except for the keys of each field
syn case match syn case match
syn iskeyword @,48-57,-,/ syn iskeyword @,48-57,-
" Everything that is not explicitly matched by the rules below " Everything that is not explicitly matched by the rules below
syn match debcontrolElse "^.*$" syn match debcontrolElse "^.*$"

View File

@ -2,7 +2,7 @@
" Language: Debian sources.list " Language: Debian sources.list
" Maintainer: Debian Vim Maintainers " Maintainer: Debian Vim Maintainers
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl> " Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
" Last Change: 2022 Mar 28 " Last Change: 2022 May 01
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debsources.vim " URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/debsources.vim
" Standard syntax initialization " Standard syntax initialization
@ -26,7 +26,7 @@ let s:supported = [
\ 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm', \ 'jessie', 'stretch', 'buster', 'bullseye', 'bookworm',
\ 'trixie', 'sid', 'rc-buggy', \ 'trixie', 'sid', 'rc-buggy',
\ \
\ 'trusty', 'xenial', 'bionic', 'focal', 'impish', 'jammy', \ 'trusty', 'xenial', 'bionic', 'focal', 'impish', 'jammy', 'kinetic',
\ 'devel' \ 'devel'
\ ] \ ]
let s:unsupported = [ let s:unsupported = [

View File

@ -1,6 +1,7 @@
" Syntax file for scdoc files " Syntax file for scdoc files
" Maintainer: Gregory Anders <greg@gpanders.com> " Maintainer: Gregory Anders <contact@gpanders.com>
" Last Updated: 2021-08-04 " Last Updated: 2022-05-09
" Upstream: https://github.com/gpanders/vim-scdoc
if exists('b:current_syntax') if exists('b:current_syntax')
finish finish
@ -20,33 +21,43 @@ syntax match scdocIndentError "^[ ]\+"
syntax match scdocLineBreak "++$" syntax match scdocLineBreak "++$"
syntax match scdocOrderedListMarker "^\s*\.\%(\s\+\S\)\@=" syntax region scdocOrderedListItem matchgroup=scdocOrderedListMarker start="^\z(\s*\)\." skip="^\z1 .*$" end="^" contains=scdocBold,scdocUnderline
syntax match scdocListMarker "^\s*-\%(\s\+\S\)\@=" syntax region scdocListItem matchgroup=scdocListMarker start="^\z(\s*\)-" skip="^\z1 .*$" end="^" contains=scdocBold,scdocUnderline
syntax match scdocTableStartMarker "^[\[|\]][\[\-\]]" " Tables cannot start with a column
syntax match scdocTableMarker "^[|:][\[\-\] ]" syntax match scdocTableError "^:"
syntax region scdocTable matchgroup=scdocTableEntry start="^[\[|\]][\[\-\]<=>]" end="^$" contains=scdocTableEntry,scdocTableError,scdocTableContinuation,scdocBold,scdocUnderline,scdocPre
syntax match scdocTableError "^.*$" contained
syntax match scdocTableContinuation "^ \+\S\+" contained
syntax match scdocTableEntry "^[|:][\[\-\]<=> ]" contained
syntax match scdocTableError "^[|:][\[\-\]<=> ]\S.*$" contained
syntax region scdocBold concealends matchgroup=scdocBoldDelimiter start="\\\@<!\*" end="\\\@<!\*" syntax region scdocBold concealends matchgroup=scdocBoldDelimiter start="\\\@<!\*" end="\\\@<!\*"
syntax region scdocUnderline concealends matchgroup=scdocUnderlineDelimiter start="\<\\\@<!_" end="\\\@<!_\>" syntax region scdocUnderline concealends matchgroup=scdocUnderlineDelimiter start="\<\\\@<!_" end="\\\@<!_\>"
syntax region scdocPre matchgroup=scdocPreDelimiter start="^\t*```" end="^\t*```" syntax region scdocPre matchgroup=scdocPreDelimiter start="^\t*```" end="^\t*```"
hi link scdocFirstLineValid Comment syntax sync minlines=50
hi link scdocComment Comment
hi link scdocHeader Title
hi link scdocOrderedListMarker Statement
hi link scdocListMarker scdocOrderedListMarker
hi link scdocLineBreak Special
hi link scdocTableMarker Statement
hi link scdocTableStartMarker scdocTableMarker
hi link scdocFirstLineError Error hi default link scdocFirstLineValid Comment
hi link scdocCommentError Error hi default link scdocComment Comment
hi link scdocHeaderError Error hi default link scdocHeader Title
hi link scdocIndentError Error hi default link scdocOrderedListMarker Statement
hi default link scdocListMarker scdocOrderedListMarker
hi default link scdocLineBreak Special
hi default link scdocTableSpecifier Statement
hi default link scdocTableEntry Statement
hi link scdocPreDelimiter Delimiter hi default link scdocFirstLineError Error
hi default link scdocCommentError Error
hi default link scdocHeaderError Error
hi default link scdocIndentError Error
hi default link scdocTableError Error
hi default link scdocTableError Error
hi scdocBold term=bold cterm=bold gui=bold hi default link scdocPreDelimiter Delimiter
hi scdocUnderline term=underline cterm=underline gui=underline
hi link scdocBoldDelimiter scdocBold hi default scdocBold term=bold cterm=bold gui=bold
hi link scdocUnderlineDelimiter scdocUnderline hi default scdocUnderline term=underline cterm=underline gui=underline
hi default link scdocBoldDelimiter scdocBold
hi default link scdocUnderlineDelimiter scdocUnderline