Skip to content

Commit 74e2ea1

Browse files
committed
Update syntax.{txt,jax}
1 parent 3b85c4a commit 74e2ea1

File tree

2 files changed

+33
-31
lines changed

2 files changed

+33
-31
lines changed

doc/syntax.jax

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 22
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2463,7 +2463,8 @@ msql構文ハイライトには2つのオプションがある。
24632463
:let msql_minlines = 200
24642464
24652465
2466-
NEOMUTT *neomutt.vim* *ft-neomuttrc-syntax* *ft-neomuttlog-syntax*
2466+
NEOMUTT *neomutt.vim* *ft-neomuttrc-syntax*
2467+
*ft-neomuttlog-syntax*
24672468

24682469
デフォルトの NeoMutt ログの色を無効にするには: >
24692470
@@ -3803,7 +3804,7 @@ tfの構文ハイライトには1つのオプションがある。
38033804
:let tf_minlines = your choice
38043805
<
38053806
TYPESCRIPT *typescript.vim* *ft-typescript-syntax*
3806-
*typescriptreact.vim* *ft-typescriptreact-syntax*
3807+
*typescriptreact.vim* *ft-typescriptreact-syntax*
38073808

38083809
TypeScript 構文のハイライトを制御する 1 つのオプションがある。
38093810

en/syntax.txt

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 22
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Nov 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1679,20 +1679,20 @@ on" command in your .vimrc file.
16791679
When you edit an existing Fortran file, the syntax script will assume free
16801680
source form if the fortran_free_source variable has been set, and assumes
16811681
fixed source form if the fortran_fixed_source variable has been set. Suppose
1682-
neither of these variables have been set. In that case, the syntax script attempts to
1683-
determine which source form has been used by examining the file extension
1684-
using conventions common to the ifort, gfortran, Cray, NAG, and PathScale
1685-
compilers (.f, .for, .f77 for fixed-source, .f90, .f95, .f03, .f08 for
1686-
free-source). No default is used for the .fpp and .ftn file extensions because
1687-
different compilers treat them differently. If none of this works, then the
1688-
script examines the first five columns of the first 500 lines of your file. If
1689-
no signs of free source form are detected, then the file is assumed to be in
1690-
fixed source form. The algorithm should work in the vast majority of cases.
1691-
In some cases, such as a file that begins with 500 or more full-line comments,
1692-
the script may incorrectly decide that the code is in fixed form. If that
1693-
happens, just add a non-comment statement beginning anywhere in the first five
1694-
columns of the first twenty-five lines, save (:w), and then reload (:e!) the
1695-
file.
1682+
neither of these variables have been set. In that case, the syntax script
1683+
attempts to determine which source form has been used by examining the file
1684+
extension using conventions common to the ifort, gfortran, Cray, NAG, and
1685+
PathScale compilers (.f, .for, .f77 for fixed-source, .f90, .f95, .f03, .f08
1686+
for free-source). No default is used for the .fpp and .ftn file extensions
1687+
because different compilers treat them differently. If none of this works,
1688+
then the script examines the first five columns of the first 500 lines of your
1689+
file. If no signs of free source form are detected, then the file is assumed
1690+
to be in fixed source form. The algorithm should work in the vast majority of
1691+
cases. In some cases, such as a file that begins with 500 or more full-line
1692+
comments, the script may incorrectly decide that the code is in fixed form.
1693+
If that happens, just add a non-comment statement beginning anywhere in the
1694+
first five columns of the first twenty-five lines, save (:w), and then reload
1695+
(:e!) the file.
16961696

16971697
Vendor extensions ~
16981698
Fixed-form Fortran requires a maximum line length of 72 characters but the
@@ -2226,9 +2226,9 @@ define the vim variable 'lace_case_insensitive' in your startup file: >
22262226
LF (LFRC) *lf.vim* *ft-lf-syntax* *g:lf_shell_syntax*
22272227
*b:lf_shell_syntax*
22282228

2229-
For the lf file manager configuration files (lfrc) the shell commands
2230-
syntax highlighting can be changed globally and per buffer by setting
2231-
a different 'include' command search pattern using these variables:
2229+
For the lf file manager configuration files (lfrc) the shell commands syntax
2230+
highlighting can be changed globally and per buffer by setting a different
2231+
'include' command search pattern using these variables: >
22322232
let g:lf_shell_syntax = "syntax/dosbatch.vim"
22332233
let b:lf_shell_syntax = "syntax/zsh.vim"
22342234
@@ -2538,9 +2538,10 @@ set "msql_minlines" to the value you desire. Example: >
25382538
:let msql_minlines = 200
25392539
25402540
2541-
NEOMUTT *neomutt.vim* *ft-neomuttrc-syntax* *ft-neomuttlog-syntax*
2541+
NEOMUTT *neomutt.vim* *ft-neomuttrc-syntax*
2542+
*ft-neomuttlog-syntax*
25422543

2543-
To disable the default NeoMutt log colors >
2544+
To disable the default NeoMutt log colors: >
25442545
25452546
:let g:neolog_disable_default_colors = 1
25462547
@@ -2710,9 +2711,9 @@ specified. Default = 1 >
27102711
27112712
:let g:pandoc#syntax#codeblocks#embeds#use = 1
27122713
2713-
For specify what languages and using what syntax files to highlight embeds. This is a
2714-
list of language names. When the language pandoc and vim use don't match, you
2715-
can use the "PANDOC=VIM" syntax. For example: >
2714+
For specify what languages and using what syntax files to highlight embeds.
2715+
This is a list of language names. When the language pandoc and vim use don't
2716+
match, you can use the "PANDOC=VIM" syntax. For example: >
27162717
27172718
:let g:pandoc#syntax#codeblocks#embeds#langs = ["ruby", "bash=sh"]
27182719
@@ -3922,7 +3923,7 @@ set "tf_minlines" to the value you desire. Example: >
39223923
:let tf_minlines = your choice
39233924
<
39243925
TYPESCRIPT *typescript.vim* *ft-typescript-syntax*
3925-
*typescriptreact.vim* *ft-typescriptreact-syntax*
3926+
*typescriptreact.vim* *ft-typescriptreact-syntax*
39263927

39273928
There is one option to control the TypeScript syntax highlighting.
39283929

@@ -5309,9 +5310,9 @@ of colors by using the `:colorscheme` command, for example: >
53095310
This is basically the same as >
53105311
:echo g:colors_name
53115312
< In case g:colors_name has not been defined :colo will
5312-
output "default". Its palette is defined in the file
5313+
output "default". Its palette is defined in the file
53135314
"$VIMRUNTIME/syntax/syncolor.vim" and is based on
5314-
legacy versions of peachpuff and desert. When compiled
5315+
legacy versions of peachpuff and desert. When compiled
53155316
without the |+eval| feature it will output "unknown".
53165317

53175318
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
@@ -5721,8 +5722,8 @@ guisp={color-name} *highlight-guisp*
57215722
:highlight Comment guifg=#11f0c3 guibg=#ff00ff
57225723
<
57235724
If you are authoring a color scheme and use the same hexadecimal value
5724-
repeatedly, you can define a (lower case) name for it in |v:colornames|.
5725-
For example: >
5725+
repeatedly, you can define a (lower case) name for it in
5726+
|v:colornames|. For example: >
57265727
57275728
# provide a default value for this color but allow the user to
57285729
# override it.

0 commit comments

Comments
 (0)