|
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 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -1679,20 +1679,20 @@ on" command in your .vimrc file.
|
1679 | 1679 | When you edit an existing Fortran file, the syntax script will assume free
|
1680 | 1680 | source form if the fortran_free_source variable has been set, and assumes
|
1681 | 1681 | 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. |
1696 | 1696 |
|
1697 | 1697 | Vendor extensions ~
|
1698 | 1698 | 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: >
|
2226 | 2226 | LF (LFRC) *lf.vim* *ft-lf-syntax* *g:lf_shell_syntax*
|
2227 | 2227 | *b:lf_shell_syntax*
|
2228 | 2228 |
|
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: > |
2232 | 2232 | let g:lf_shell_syntax = "syntax/dosbatch.vim"
|
2233 | 2233 | let b:lf_shell_syntax = "syntax/zsh.vim"
|
2234 | 2234 |
|
@@ -2538,9 +2538,10 @@ set "msql_minlines" to the value you desire. Example: >
|
2538 | 2538 | :let msql_minlines = 200
|
2539 | 2539 |
|
2540 | 2540 |
|
2541 |
| -NEOMUTT *neomutt.vim* *ft-neomuttrc-syntax* *ft-neomuttlog-syntax* |
| 2541 | +NEOMUTT *neomutt.vim* *ft-neomuttrc-syntax* |
| 2542 | + *ft-neomuttlog-syntax* |
2542 | 2543 |
|
2543 |
| -To disable the default NeoMutt log colors > |
| 2544 | +To disable the default NeoMutt log colors: > |
2544 | 2545 |
|
2545 | 2546 | :let g:neolog_disable_default_colors = 1
|
2546 | 2547 |
|
@@ -2710,9 +2711,9 @@ specified. Default = 1 >
|
2710 | 2711 |
|
2711 | 2712 | :let g:pandoc#syntax#codeblocks#embeds#use = 1
|
2712 | 2713 |
|
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: > |
2716 | 2717 |
|
2717 | 2718 | :let g:pandoc#syntax#codeblocks#embeds#langs = ["ruby", "bash=sh"]
|
2718 | 2719 |
|
@@ -3922,7 +3923,7 @@ set "tf_minlines" to the value you desire. Example: >
|
3922 | 3923 | :let tf_minlines = your choice
|
3923 | 3924 | <
|
3924 | 3925 | TYPESCRIPT *typescript.vim* *ft-typescript-syntax*
|
3925 |
| - *typescriptreact.vim* *ft-typescriptreact-syntax* |
| 3926 | + *typescriptreact.vim* *ft-typescriptreact-syntax* |
3926 | 3927 |
|
3927 | 3928 | There is one option to control the TypeScript syntax highlighting.
|
3928 | 3929 |
|
@@ -5309,9 +5310,9 @@ of colors by using the `:colorscheme` command, for example: >
|
5309 | 5310 | This is basically the same as >
|
5310 | 5311 | :echo g:colors_name
|
5311 | 5312 | < 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 |
5313 | 5314 | "$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 |
5315 | 5316 | without the |+eval| feature it will output "unknown".
|
5316 | 5317 |
|
5317 | 5318 | :colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
|
@@ -5721,8 +5722,8 @@ guisp={color-name} *highlight-guisp*
|
5721 | 5722 | :highlight Comment guifg=#11f0c3 guibg=#ff00ff
|
5722 | 5723 | <
|
5723 | 5724 | 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: > |
5726 | 5727 |
|
5727 | 5728 | # provide a default value for this color but allow the user to
|
5728 | 5729 | # override it.
|
|
0 commit comments