Compare commits
162 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c920d93443 | ||
|
|
4a99175e39 | ||
|
|
a65a52d684 | ||
|
|
f08ab2f4d7 | ||
|
|
2a01e59671 | ||
|
|
23c77d8ec8 | ||
|
|
f0e874a129 | ||
|
|
abecad5af0 | ||
|
|
3db4c3a20b | ||
|
|
ab24858cf5 | ||
|
|
f03155aa2a | ||
|
|
8b25d90b08 | ||
|
|
403ba303b9 | ||
|
|
8ae45e4202 | ||
|
|
d8c4774273 | ||
|
|
88b00d1c57 | ||
|
|
591db923ba | ||
|
|
f7e239bd0e | ||
|
|
bc7f736a39 | ||
|
|
7cb86f46cb | ||
|
|
b467b56ef0 | ||
|
|
ee49669e8f | ||
|
|
de7a5b5425 | ||
|
|
e85e3e5d85 | ||
|
|
bec23ef65c | ||
|
|
77b8a12f82 | ||
|
|
f281493c49 | ||
|
|
37d61dae72 | ||
|
|
29fa934344 | ||
|
|
8e41c34aba | ||
|
|
8af0f098c3 | ||
|
|
3fb5e58fbc | ||
|
|
950f501a18 | ||
|
|
702d32e161 | ||
|
|
8aecd377f0 | ||
|
|
3a9e1bb7e2 | ||
|
|
38237411e4 | ||
|
|
78302b7b4a | ||
|
|
f45ed6465d | ||
|
|
74019bea8c | ||
|
|
7784fac15f | ||
|
|
a70b7a85af | ||
|
|
51f1447d2a | ||
|
|
1b65cfbac5 | ||
|
|
852f4f43ca | ||
|
|
bfebd1209b | ||
|
|
e0781bd5bf | ||
|
|
e3d9929109 | ||
|
|
ef1ecc3b61 | ||
|
|
5ef1eec5c5 | ||
|
|
3a8b9e09b2 | ||
|
|
2020e0bade | ||
|
|
ec76ac620b | ||
|
|
6b8d2262d3 | ||
|
|
3a1ac7ced2 | ||
|
|
4f610f07b7 | ||
|
|
abd74fa122 | ||
|
|
124f8becec | ||
|
|
fbec828c7e | ||
|
|
84ae09dd79 | ||
|
|
2f00656b34 | ||
|
|
7644d9d611 | ||
|
|
9694ff58fe | ||
|
|
b207b5a2a3 | ||
|
|
c895390e58 | ||
|
|
b9871cef10 | ||
|
|
58124789aa | ||
|
|
9299332917 | ||
|
|
4cbdef8e30 | ||
|
|
0ab4316fce | ||
|
|
4bcc8ba93d | ||
|
|
c06002f3cb | ||
|
|
7ccc273a4c | ||
|
|
40fc78f0a1 | ||
|
|
88fb739918 | ||
|
|
cf947e7ef0 | ||
|
|
2bfddbea47 | ||
|
|
1903020b82 | ||
|
|
b10159bcc2 | ||
|
|
8c7d824b73 | ||
|
|
0c998003bc | ||
|
|
3bfffcc290 | ||
|
|
20a124a6e0 | ||
|
|
bb807ebc8a | ||
|
|
cb0b4cf45c | ||
|
|
9d3019104c | ||
|
|
77677c33de | ||
|
|
190cb3c2b9 | ||
|
|
fde5a56ecb | ||
|
|
5c700152ae | ||
|
|
3bd25c63b4 | ||
|
|
e1e92fea92 | ||
|
|
2219c89013 | ||
|
|
e25933014c | ||
|
|
e4413c5df7 | ||
|
|
59e59a62b4 | ||
|
|
7b218ae98c | ||
|
|
cf5d7102b9 | ||
|
|
d25f8d1b2c | ||
|
|
ec8b8bd82a | ||
|
|
587447ec64 | ||
|
|
ba85f88fe9 | ||
|
|
7f3243e3a8 | ||
|
|
7da90de1cb | ||
|
|
f793e98068 | ||
|
|
620557bd48 | ||
|
|
e7e35b9e38 | ||
|
|
77499e009a | ||
|
|
3ac7b97439 | ||
|
|
bd8716178e | ||
|
|
20e98ff1cc | ||
|
|
af494af5ff | ||
|
|
c2bda0add9 | ||
|
|
6453a7c440 | ||
|
|
458fed4f65 | ||
|
|
c5de8231f4 | ||
|
|
bd0f3e6da5 | ||
|
|
41c3379bdf | ||
|
|
e7745b7cbf | ||
|
|
6146f3382f | ||
|
|
30b4240730 | ||
|
|
6cb4173294 | ||
|
|
e47daed442 | ||
|
|
2d43240659 | ||
|
|
7e76514896 | ||
|
|
ae196b2d58 | ||
|
|
3958188f6a | ||
|
|
f1a9449206 | ||
|
|
7070a85d94 | ||
|
|
0bc64b19a2 | ||
|
|
dd9b31fb62 | ||
|
|
a622dda915 | ||
|
|
96be27309c | ||
|
|
036e40e6d8 | ||
|
|
22aedc4a90 | ||
|
|
076366bd4e | ||
|
|
c23bfd7922 | ||
|
|
3cc7d50716 | ||
|
|
1ce03d674a | ||
|
|
2baef82cd1 | ||
|
|
bf6892aaab | ||
|
|
0ca1121d1f | ||
|
|
8d9c383aaf | ||
|
|
8f9cde4592 | ||
|
|
807f2cd789 | ||
|
|
1de887681d | ||
|
|
e7eef554f3 | ||
|
|
0c2ac3480a | ||
|
|
32a30cb5a0 | ||
|
|
1940bcb243 | ||
|
|
5f7c52408f | ||
|
|
10b57290d3 | ||
|
|
0f9218851d | ||
|
|
521eac1877 | ||
|
|
44f707da6a | ||
|
|
f194676c93 | ||
|
|
cee8fd73eb | ||
|
|
2ea4a7c3b7 | ||
|
|
10040bc9cd | ||
|
|
33f3965087 | ||
|
|
3918f3232f | ||
|
|
16d28548d2 |
2
.github/MAINTAINERS
vendored
2
.github/MAINTAINERS
vendored
@@ -133,6 +133,7 @@ runtime/doc/xxd-ru.1 @RestorerZ
|
||||
runtime/doc/xxd-ru.UTF-8.1 @RestorerZ
|
||||
runtime/ftplugin/abaqus.vim @costerwi
|
||||
runtime/ftplugin/abnf.vim @A4-Tacks
|
||||
runtime/ftplugin/algol68.vim @dkearns
|
||||
runtime/ftplugin/antlr4.vim @jiangyinzuo
|
||||
runtime/ftplugin/apache.vim @dubgeiser
|
||||
runtime/ftplugin/arduino.vim @k-takata
|
||||
@@ -472,6 +473,7 @@ runtime/syntax/shared/hgcommitDiff.vim @vegerot
|
||||
runtime/syntax/abaqus.vim @costerwi
|
||||
runtime/syntax/abnf.vim @A4-Tacks
|
||||
runtime/syntax/aidl.vim @dpelle
|
||||
runtime/syntax/algol68.vim @dkearns
|
||||
runtime/syntax/amiga.vim @sodero
|
||||
runtime/syntax/ant.vim @dkearns
|
||||
runtime/syntax/antlr4.vim @jiangyinzuo
|
||||
|
||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
GCC_VER: 14
|
||||
CLANG_VER: 21
|
||||
CLANG_VER: 22
|
||||
TEST: test
|
||||
SRCDIR: ./src
|
||||
LEAK_CFLAGS: -DEXITFREE
|
||||
@@ -435,7 +435,7 @@ jobs:
|
||||
echo "SODIUM_DIR=${SODIUM_DIR}" >> $GITHUB_ENV
|
||||
echo "GETTEXT_PATH=D:\gettext${{ matrix.arch == 'x64' && '64' || '32' }}" >> $GITHUB_ENV
|
||||
|
||||
- uses: msys2/setup-msys2@v2.31.0
|
||||
- uses: msys2/setup-msys2@v2.31.1
|
||||
if: matrix.toolchain == 'mingw'
|
||||
with:
|
||||
update: true
|
||||
@@ -459,7 +459,7 @@ jobs:
|
||||
echo %GETTEXT64_URL%>> urls.txt
|
||||
|
||||
- name: Cache downloaded files
|
||||
uses: actions/cache@v5.0.4
|
||||
uses: actions/cache@v5.0.5
|
||||
with:
|
||||
path: downloads
|
||||
key: ${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('urls.txt') }}
|
||||
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v4.35.1
|
||||
uses: github/codeql-action/init@v4.35.4
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v4.35.1
|
||||
uses: github/codeql-action/autobuild@v4.35.4
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
@@ -73,4 +73,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v4.35.1
|
||||
uses: github/codeql-action/analyze@v4.35.4
|
||||
|
||||
2
.github/workflows/label.yml
vendored
2
.github/workflows/label.yml
vendored
@@ -17,6 +17,6 @@ jobs:
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v6
|
||||
- uses: actions/labeler@v6.1.0
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
325
AGENTS.md
Normal file
325
AGENTS.md
Normal file
@@ -0,0 +1,325 @@
|
||||
# AGENTS.md
|
||||
|
||||
Guidance for AI coding agents working in the Vim repository.
|
||||
|
||||
## Project
|
||||
|
||||
Vim is a text editor written in C. The canonical repository is
|
||||
https://github.com/vim/vim. The code is old and has grown organically over
|
||||
the past 30+ years. Some files are vendored from upstream projects
|
||||
(`src/xdiff`, `src/libvterm`); parts of the runtime are occasionally shared
|
||||
with forks like Neovim.
|
||||
|
||||
Vim strives to be portable across several different operating systems and
|
||||
aims to be a stable, robust editor gradually developing new features while
|
||||
remaining backwards compatible as much as possible.
|
||||
|
||||
At the same time, Vim can be compiled with different feature sets, from the
|
||||
POSIX compatible minimal vi to a full-fledged GUI editor which includes
|
||||
additional scripting interfaces.
|
||||
|
||||
See `runtime/doc/develop.txt` for the high level design goals.
|
||||
|
||||
## Build and test
|
||||
|
||||
# Full build on Unix/Linux (from src/):
|
||||
make
|
||||
|
||||
# Run the full test suite:
|
||||
make test
|
||||
|
||||
# Generate proto files
|
||||
make proto
|
||||
|
||||
# Run a single test file:
|
||||
cd src/testdir && make test_name.res
|
||||
|
||||
Output is in testdir/messages and testdir/test.log
|
||||
|
||||
Builds on Windows depend on the Environment, see `src/INSTALLpc.txt`
|
||||
for Cygwin/MSYS and MSVC ways to build Vim
|
||||
|
||||
Before submitting any patch, at minimum:
|
||||
1. The build succeeds without new warnings.
|
||||
2. Relevant tests pass.
|
||||
3. The code matches the style of the file being edited.
|
||||
|
||||
## Layout
|
||||
|
||||
- `src/` - the C source. Subsystem names are usually obvious from filenames
|
||||
(`buffer.c`, `window.c`, `search.c`, `vim9compile.c`, etc.).
|
||||
- `src/proto/` - function prototypes, one `.pro` file per source file.
|
||||
Regenerated; do not hand-edit unless you know what you're doing.
|
||||
- `src/po` - Translations
|
||||
- `src/xxd` - for the xxd subproject
|
||||
- `src/xdiff` - for the xdiff library (imported from git)
|
||||
- `src/libvterm` - for the libvterm library
|
||||
- `src/testdir/` - tests. Vim-script files named `test_*.vim`.
|
||||
Screendump expected output lives in `src/testdir/dumps/`.
|
||||
- `runtime/doc/` - user-facing documentation in Vim help format, when updating,
|
||||
also update the Last Change header
|
||||
- `runtime/syntax/generator` - Syntax script for Vim Script, automatically generated
|
||||
from Vims source
|
||||
- `runtime/` - runtime files shipped with Vim, when updating, also update the
|
||||
Last Change header and a short description if this file has no maintainer
|
||||
If the file has a maintainer, changes should go via them (so make a merge
|
||||
request against the upstream repo instead)
|
||||
- `src/version.c` - contains the `included_patches[]` list. Every
|
||||
patch touching anything below `src/` (with the exception of `src/po`) needs a
|
||||
new entry at the top, will be updated only when merging into
|
||||
the master tree.
|
||||
|
||||
## Commit format
|
||||
|
||||
Vim uses a strict commit message format. The subject line is a
|
||||
one-sentence **problem statement**, not a description of the fix:
|
||||
|
||||
patch 9.2.NNNN: short description of the problem
|
||||
|
||||
Problem: Restatement of the problem as a full sentence, possibly
|
||||
with a reporter attribution in parentheses.
|
||||
Solution: Short description of the fix, ending with the author's
|
||||
name in parentheses.
|
||||
|
||||
optional longer description of the problem and solution goes here in prose.
|
||||
Do not use bullet points.
|
||||
|
||||
fixes: #NNNN
|
||||
related: #NNNN
|
||||
closes: #NNNN
|
||||
|
||||
Co-authored-by: Name
|
||||
Signed-off-by: Author Name <email>
|
||||
|
||||
Rules:
|
||||
|
||||
- **Subject line states the problem**, not the solution. "fix typo" is
|
||||
wrong; "typo in foo() causes OOB read" is right.
|
||||
- **Problem line is a full sentence with a trailing period.** It mirrors
|
||||
the subject.
|
||||
- **Solution line ends with `(Author Name)`** — parentheses, period
|
||||
after them.
|
||||
- **Longer prose**, if any, goes after the Problem/Solution header
|
||||
- **`fixes:` references the issue** the patch fixes.
|
||||
**`closes:` references the PR** that introduces the fix.
|
||||
**`related:` references related issues**, including issues that caused this
|
||||
one.
|
||||
All can appear. Colon, aligned, no trailing period.
|
||||
- **`Signed-off-by:` is required** — DCO.
|
||||
- **`Co-Authored-By:` is allowed** and is the accepted way to
|
||||
acknowledge AI assistance transparently. Human
|
||||
coauthors should usually also have their own Signed-off-by.
|
||||
|
||||
## C code conventions
|
||||
|
||||
- **Indentation is 4 spaces per level.** Existing files use tabs with
|
||||
`ts=8 sts=4 sw=4 noet` (set by the modeline in the file),
|
||||
so tabs of width 8 appear where two levels of indent collapse. `sign.c`,
|
||||
`sound.c`, and any new file must use spaces only and follow the style from
|
||||
the .editorconfig file.
|
||||
- **Opening braces go on their own line (Allman style)** — for function
|
||||
definitions and for control-flow constructs (`if`/`else`/`for`/`while`/
|
||||
`do`) alike.
|
||||
- **Function definitions**: return type on its own indented line, with
|
||||
the function name beginning on the next line.
|
||||
- Initialize locals where a reader cannot trivially see the first
|
||||
assignment (common for pointers and return-value accumulators).
|
||||
Don't add `= 0` initializers for values that are always assigned
|
||||
before use — they can hide real uninitialized-read bugs from
|
||||
the compiler.
|
||||
- `for (int i = 0; ...)` loop declarations are fine in files that
|
||||
use them; older files may declare the counter at the top of the
|
||||
block.
|
||||
- **Function-scope declarations at the top of a block** is the historical
|
||||
style, but mid-block declarations are acceptable in files that have
|
||||
adopted them. Match the surrounding code.
|
||||
- **Custom types end in `_T`** (e.g., `buf_T`, `linenr_T`, `pos_T`).
|
||||
Never use `_t` — it collides with POSIX typedefs.
|
||||
- **C language is C95 plus specific C99 features**: `//` comments,
|
||||
mixed declarations and statements, `__func__`, `bool`/`_Bool`,
|
||||
variadic macros, compound literals, `static inline`, trailing enum
|
||||
commas. Do not reach for later C standards — Vim still must build
|
||||
with Compaq C on OpenVMS. See `*assumptions-C-compiler*` in
|
||||
`develop.txt` for the full list.
|
||||
- **`bool` / `true` / `false` are acceptable.** Vim is transitioning
|
||||
from `int` with `TRUE`/`FALSE` to C99 `bool`. Do not "fix" `bool`
|
||||
back to `int`. Within a single patch, be consistent — don't mix
|
||||
`true` and `TRUE` in new code.
|
||||
- **Do not mass-convert** `TRUE`/`FALSE` to `true`/`false` across files
|
||||
unless that is the patch's explicit purpose. Opportunistic
|
||||
conversions create noise in diffs.
|
||||
- **`STRLEN_LITERAL("...")`** should be used when the length of a
|
||||
string literal is needed. Avoid `STRLEN()` on literals.
|
||||
- **`vim_snprintf_safelen()`** returns the written length; prefer it
|
||||
over `vim_snprintf()` when the length is then needed.
|
||||
- **Prefer `dict_add_string_len()`** when the string length is already
|
||||
known, over `dict_add_string()` which calls `STRLEN()`.
|
||||
- **String/buffer parameters go `(char_u *buf, size_t buflen)`** —
|
||||
length alongside pointer, in bytes. Use `size_t` for byte counts,
|
||||
`int` only where required by legacy APIs.
|
||||
- **Guards before divisions.** Check for divisor zero explicitly, even
|
||||
when a composite earlier guard would prevent it. Relying on
|
||||
transitive guards is fragile.
|
||||
- When introducing new allocations, verify the cleanup paths handle all exit
|
||||
conditions (early return, error branches, etc).
|
||||
|
||||
**Use Vim wrappers instead of libc where one exists:**
|
||||
|
||||
| libc | Vim | Why |
|
||||
|---------------|------------------------|-----------------------------|
|
||||
| `free()` | `vim_free()` | Tolerates NULL |
|
||||
| `malloc()` | `alloc()` / `lalloc()` | Checks for OOM |
|
||||
| `strcpy()` | `STRCPY()` | Cast for `char_u *` |
|
||||
| `strchr()` | `vim_strchr()` | Handles special characters |
|
||||
| `strrchr()` | `vim_strrchr()` | Handles special characters |
|
||||
| `memcpy()` | `mch_memmove()` | Handles overlapping copies |
|
||||
| `bcopy()` | `mch_memmove()` | Handles overlapping copies |
|
||||
| `memset()` | `vim_memset()` | Uniform across systems |
|
||||
| `isspace()` | `vim_isspace()` | Handles bytes > 127 |
|
||||
| `iswhite()` | `vim_iswhite()` | TRUE only for tab and space |
|
||||
|
||||
Further rules, not spelled out here, live in `runtime/doc/develop.txt`:
|
||||
|
||||
- `*style-names*` — reserved name patterns (`is*`, `to*`, `str*`, `mem*`,
|
||||
`wcs*`, `.*_t`, `__.*`), forbidden identifiers (`delete`, `this`, `new`,
|
||||
`time`, `index`), and the 31-character function-name limit.
|
||||
- `*style-spaces*`, `*style-examples*` — spacing and one-statement-per-line.
|
||||
- `*style-various*` — `FEAT_` feature prefix, uppercase `#define`,
|
||||
`#ifdef HAVE_X` rather than `#if HAVE_X`, no `'\"'`.
|
||||
- `*assumptions-makefiles*` — POSIX.1-2001 `make` only in the main
|
||||
Makefiles (no `%` rules, `:=`, `.ONESHELL`, GNU conditionals).
|
||||
- Vim uses `char_u` instead of `char` type
|
||||
- Vim uses the macros `STRLEN`, `STRCPY`, `STRCMP`, `STRCAT` that work
|
||||
with the `char_u` type.
|
||||
- `*style-clang-format*` — `sign.c` and `sound.c` are formatted with
|
||||
`clang-format`; re-run it after editing those files.
|
||||
|
||||
## Vim9 script conventions (in tests and runtime files)
|
||||
|
||||
- Write modern Vim style (new files can use Vim9 script, but compatibility
|
||||
with Neovim and other forks is a concern, so in doubt please ask!)
|
||||
- **Drop `l:` prefix from local variables** in Vim-script tests.
|
||||
- **Don't add `CheckFeature` inside individual tests** if it's already
|
||||
at the top of the file.
|
||||
- If a test file doesn't gate features at the top, add CheckFeature to
|
||||
individual tests that depend on specific build features.
|
||||
|
||||
## Test conventions
|
||||
|
||||
- Tests are in `src/testdir/test_*.vim`.
|
||||
- Reproducible tests beat "it doesn't crash" tests. If a patch fixes
|
||||
a rendering bug, add a screendump test. If it fixes incorrect output,
|
||||
assert the output.
|
||||
- Add comprehensive tests for newly added features and include them
|
||||
in existing tests if possible
|
||||
- **Screendump tests** use `CheckScreendump`, `RunVimInTerminal`,
|
||||
`VerifyScreenDump`, and live dumps in `src/testdir/dumps/`.
|
||||
- `v9.CheckScriptSuccess(lines)` / `v9.CheckScriptFailure(lines, error, lnum)`
|
||||
are the standard way to test Vim9 script behavior at script-load time.
|
||||
- When fixing a bug reported as an issue, include a test that
|
||||
reproduces the original report, not just a minimal synthetic case.
|
||||
- Tests for Syntax runtime are in `runtime/syntax/testdir`
|
||||
- Tests for Indent runtime are in `runtime/indent/testdir`
|
||||
|
||||
## Common gotchas
|
||||
|
||||
- **Distinguish what code enforces from what docs claim.** If a patch
|
||||
changes documented behavior, say so in the Problem/Solution.
|
||||
- **Generated files** (`src/auto/configure`, generated Wayland protocol
|
||||
C, etc.) should only be regenerated when their source changes.
|
||||
Mixing unrelated regeneration into a functional patch creates noise.
|
||||
|
||||
## Documentation
|
||||
|
||||
- User-facing option or feature changes require a `runtime/doc/*.txt`
|
||||
update in the same patch.
|
||||
- When editing an existing help file, bump the `Last change:` header
|
||||
at the top.
|
||||
|
||||
### Help file style
|
||||
|
||||
See `runtime/doc/helphelp.txt` (`*help-writing*`) for the authoritative
|
||||
reference. Key conventions:
|
||||
|
||||
- **File header**: first line is `*filename.txt*` then a tab then a
|
||||
short description. That description appears under `LOCAL ADDITIONS`
|
||||
in `help.txt`. The version and `Last change:` date go on the second
|
||||
line, right aligned.
|
||||
- **Modeline**: every help file ends with a Vim modeline — typically
|
||||
`vim:tw=78:ts=8:noet:ft=help:norl:`.
|
||||
- **Layout**: `'textwidth'` 78, `'tabstop'` 8, indent and align with
|
||||
tab characters. Two spaces between sentences. Run `:retab`
|
||||
(not `:retab!`, and review the diff) after editing.
|
||||
- **Tags** are defined as `*tag-name*`, usually right-aligned on the
|
||||
line where the thing they name is introduced. Tag names must be
|
||||
unique across all of `runtime/doc/`; for plugin help, prefix with
|
||||
the plugin name.
|
||||
- **Cross-references inside help text**:
|
||||
- `|tag-name|` — hot-link to an existing tag.
|
||||
- `` `:cmd` `` — Ex command, highlighted as a code block.
|
||||
- `'option'` — option name, in single quotes.
|
||||
- `<Key>` or `CTRL-X` — special keys.
|
||||
- `{placeholder}` — user-supplied argument.
|
||||
- **Sections** are separated by a line of `=` starting in column 1.
|
||||
Column or subsection headings end with `~` to trigger heading
|
||||
highlighting.
|
||||
- **Code blocks** start with `>` at the end of the introducing line
|
||||
and end with `<` as the first non-blank on a later line (any line
|
||||
starting in column 1 also implicitly closes the block). Use `>vim`
|
||||
(or another language name) to request syntax highlighting inside
|
||||
the block.
|
||||
- **Notation** — `Note`, `Todo`, `Error` and a few similar words are
|
||||
auto-highlighted; do not try to fake the highlighting by other means.
|
||||
- **Language**: gender-neutral language is preferred for new or updated
|
||||
text; existing wording does not need to be rewritten for this alone.
|
||||
|
||||
## Release policy
|
||||
|
||||
Vim alternates between development cycles and stability periods — see
|
||||
`runtime/doc/develop.txt` `*design-policy*`.
|
||||
|
||||
- **During a stability period** only clear bug fixes, security fixes,
|
||||
documentation updates, translations, and runtime file updates are
|
||||
accepted. No new features, no backwards-incompatible changes.
|
||||
- **Once released in a minor version**, C-core features must stay
|
||||
backwards-compatible. Runtime files have a bit more flexibility so
|
||||
their maintainers can correct old behavior.
|
||||
- **Deprecated features** stay reachable via config (do not hard-error),
|
||||
are documented as deprecated, can be disabled at compile time, and
|
||||
may be removed in a later cycle.
|
||||
|
||||
## Security
|
||||
|
||||
Before reporting a suspected security issue or submitting a patch
|
||||
that touches security-sensitive code, read `SECURITY.md`. Follow
|
||||
the disclosure process described there.
|
||||
|
||||
## Before submitting
|
||||
|
||||
1. Commit message follows the format above.
|
||||
2. All modified code compiles without new warnings.
|
||||
3. Tests pass, and new functionality has regression tests.
|
||||
4. Documentation is updated for user-visible changes.
|
||||
5. Signed-off-by is present.
|
||||
6. Diff contains only changes relevant to the stated problem —
|
||||
no stray whitespace fixes, no unrelated refactors, no unrelated
|
||||
regeneration of `auto/configure`.
|
||||
7. For multi-patch series: each commit compiles and passes its own
|
||||
tests. A known-broken intermediate state that a later patch fixes
|
||||
is not acceptable — squash instead.
|
||||
|
||||
## When in doubt
|
||||
|
||||
- Make the smallest possible change to achieve the goal. Do not rewrite
|
||||
entire files or functions when a targeted edit suffices.
|
||||
- Read surrounding code and match its style rather than imposing an
|
||||
"improvement."
|
||||
- Err toward smaller, more focused patches. A patch that does three
|
||||
things is three patches.
|
||||
- If a patch fixes a symptom of a deeper bug, say so in the Problem
|
||||
and acknowledge the scope limitation in the Solution.
|
||||
- Before claiming a bug exists, reproduce it. Before claiming code does X, read
|
||||
the code. Do not rely on training-data memory of file contents.
|
||||
- Before running shell commands that modify files outside the working tree,
|
||||
install packages, push branches, or invoke network operations, confirm with
|
||||
the user.
|
||||
2
Filelist
2
Filelist
@@ -153,6 +153,7 @@ SRC_ALL = \
|
||||
src/spellfile.c \
|
||||
src/spellsuggest.c \
|
||||
src/strings.c \
|
||||
src/strptime.c \
|
||||
src/structs.h \
|
||||
src/syntax.c \
|
||||
src/tabpanel.c \
|
||||
@@ -1198,6 +1199,7 @@ IGNORE = \
|
||||
.github/FUNDING.yml \
|
||||
.github/labeler.yml \
|
||||
.github/workflows/label.yml \
|
||||
AGENTS.md \
|
||||
SECURITY.md \
|
||||
ci/unlisted.make \
|
||||
ci/hlgroups.make \
|
||||
|
||||
@@ -13,7 +13,7 @@ extensions = ["c", "h", "md", "html", "txt"]
|
||||
accept = ["100..=103", "200..=299", "429"]
|
||||
|
||||
# Retry each request a few times on transient network errors
|
||||
retries = 2
|
||||
max_retries = 2
|
||||
retry_wait_time = 2
|
||||
|
||||
# Timeout per request in seconds
|
||||
|
||||
@@ -137,7 +137,7 @@ README_vms.txt VMS
|
||||
|
||||
ДОПОЛНИТЕЛЬНАЯ ИНФОРМАЦИЯ
|
||||
|
||||
Для системе macOS вы може использовать MacVim: https://macvim.org
|
||||
Для системе macOS вы можете использовать MacVim: https://macvim.org
|
||||
|
||||
Последние новости о редакторе Vim можно найти на его домашней странице:
|
||||
https://www.vim.org/
|
||||
|
||||
@@ -90,7 +90,7 @@ Unicode true ; !include defaults to UTF-8 after Unicode True since 3.0 Alpha 2
|
||||
# ----------- No configurable settings below this line -----------
|
||||
|
||||
##########################################################
|
||||
# Installer Attributes, Including headers, Plugins and etc.
|
||||
# Installer Attributes, Including headers, Plugins and etc.
|
||||
|
||||
CRCCheck force
|
||||
|
||||
@@ -638,21 +638,23 @@ SectionGroupEnd
|
||||
!undef LIBRARY_X64
|
||||
${EndIf}
|
||||
|
||||
# Install DLLs for 32-bit gvimext.dll into the GvimExt32 directory.
|
||||
SetOutPath $0\GvimExt32
|
||||
ClearErrors
|
||||
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
|
||||
"${GETTEXT}\gettext32\libintl-8.dll" \
|
||||
"$0\GvimExt32\libintl-8.dll" "$0\GvimExt32"
|
||||
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
|
||||
"${GETTEXT}\gettext32\libiconv-2.dll" \
|
||||
"$0\GvimExt32\libiconv-2.dll" "$0\GvimExt32"
|
||||
# Install libgcc_s_sjlj-1.dll only if it is needed.
|
||||
!if ${INCLUDE_LIBGCC}
|
||||
!if /FileExists "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll"
|
||||
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
|
||||
"${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll" \
|
||||
"$0\GvimExt32\libgcc_s_sjlj-1.dll" "$0\GvimExt32"
|
||||
!if !${ARM64}
|
||||
# Install DLLs for 32-bit gvimext.dll into the GvimExt32 directory.
|
||||
SetOutPath $0\GvimExt32
|
||||
ClearErrors
|
||||
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
|
||||
"${GETTEXT}\gettext32\libintl-8.dll" \
|
||||
"$0\GvimExt32\libintl-8.dll" "$0\GvimExt32"
|
||||
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
|
||||
"${GETTEXT}\gettext32\libiconv-2.dll" \
|
||||
"$0\GvimExt32\libiconv-2.dll" "$0\GvimExt32"
|
||||
# Install libgcc_s_sjlj-1.dll only if it is needed.
|
||||
!if ${INCLUDE_LIBGCC}
|
||||
!if /FileExists "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll"
|
||||
!insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \
|
||||
"${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll" \
|
||||
"$0\GvimExt32\libgcc_s_sjlj-1.dll" "$0\GvimExt32"
|
||||
!endif
|
||||
!endif
|
||||
!endif
|
||||
${EndIf}
|
||||
|
||||
12
runtime/autoload/dist/ft.vim
vendored
12
runtime/autoload/dist/ft.vim
vendored
@@ -3,7 +3,7 @@ vim9script
|
||||
# Vim functions for file type detection
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2026 Apr 20
|
||||
# Last Change: 2026 May 16
|
||||
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
# These functions are moved here from runtime/filetype.vim to make startup
|
||||
@@ -798,9 +798,14 @@ export def FTnroff(): number
|
||||
enddef
|
||||
|
||||
export def FTmm()
|
||||
if exists("g:filetype_mm")
|
||||
exe "setf " .. g:filetype_mm
|
||||
return
|
||||
endif
|
||||
|
||||
var n = 1
|
||||
while n < 20
|
||||
if getline(n) =~ '^\s*\(#\s*\(include\|import\)\>\|@import\>\|/\*\)'
|
||||
if getline(n) =~ '^\s*\(//\|#\s*\(include\|import\)\>\|@import\>\|/\*\)'
|
||||
setf objcpp
|
||||
return
|
||||
endif
|
||||
@@ -1726,6 +1731,8 @@ const ft_from_ext = {
|
||||
"tdf": "ahdl",
|
||||
# AIDL
|
||||
"aidl": "aidl",
|
||||
# Algol 68
|
||||
"a68": "algol68",
|
||||
# AMPL
|
||||
"run": "ampl",
|
||||
# ANTLR / PCCTS
|
||||
@@ -1798,6 +1805,7 @@ const ft_from_ext = {
|
||||
# BDF font
|
||||
"bdf": "bdf",
|
||||
# Beancount
|
||||
"bean": "beancount",
|
||||
"beancount": "beancount",
|
||||
# BibTeX bibliography database file
|
||||
"bib": "bib",
|
||||
|
||||
4
runtime/autoload/dist/vim9.vim
vendored
4
runtime/autoload/dist/vim9.vim
vendored
@@ -3,7 +3,7 @@ vim9script
|
||||
# Vim runtime support library
|
||||
#
|
||||
# Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
# Last Change: 2026 Apr 17
|
||||
# Last Change: 2026 May 06
|
||||
|
||||
export def IsSafeExecutable(filetype: string, executable: string): bool
|
||||
if empty(exepath(executable))
|
||||
@@ -51,7 +51,7 @@ if has('unix')
|
||||
execute $'silent !cmd /c start "" /b {args} {Redir()}' | redraw!
|
||||
enddef
|
||||
endif
|
||||
elseif exists('$WSL_DISTRO_NAME') # use cmd.exe to start GUI apps in WSL
|
||||
elseif exists('$WSL_DISTRO_NAME') && executable('cmd.exe') # use cmd.exe to start GUI apps in WSL
|
||||
export def Launch(args: string)
|
||||
const command = (args =~? '\v<\f+\.(exe|com|bat|cmd)>')
|
||||
? $'cmd.exe /c start /b {args} {Redir()}'
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
" 2026 Apr 09 by Vim Project: fix bug with dotted filename (#19930)
|
||||
" 2026 Apr 15 by Vim Project: fix more path traversal issues (#19981)
|
||||
" 2026 Apr 16 by Vim Project: use g:tar_secure in tar#Extract()
|
||||
" 2026 May 14 by Vim Project: use correct shellescape() call in Vimuntar()
|
||||
"
|
||||
" Contains many ideas from Michael Toren's <tar.vim>
|
||||
"
|
||||
@@ -832,9 +833,9 @@ fun! tar#Vimuntar(...)
|
||||
" if necessary, decompress the tarball; then, extract it
|
||||
if tartail =~ '\.tgz'
|
||||
if executable("gunzip")
|
||||
silent exe "!gunzip ".shellescape(tartail)
|
||||
silent exe "!gunzip ".shellescape(tartail, 1)
|
||||
elseif executable("gzip")
|
||||
silent exe "!gzip -d ".shellescape(tartail)
|
||||
silent exe "!gzip -d ".shellescape(tartail, 1)
|
||||
else
|
||||
echoerr "unable to decompress<".tartail."> on this system"
|
||||
if simplify(curdir) != simplify(tarhome)
|
||||
|
||||
@@ -103,14 +103,14 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
|
||||
|
||||
while linenr <= a:line2
|
||||
let svfile = getline(linenr)
|
||||
|
||||
|
||||
if !filereadable(svfile)
|
||||
call vimball#ShowMesg(s:ERROR,"unable to read file<".svfile.">")
|
||||
call s:ChgDir(curdir)
|
||||
call vimball#RestoreSettings()
|
||||
return
|
||||
endif
|
||||
|
||||
|
||||
" create/switch to mkvimball tab
|
||||
if !exists("vbtabnr")
|
||||
tabnew
|
||||
@@ -119,7 +119,7 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
|
||||
else
|
||||
exe "tabn ".vbtabnr
|
||||
endif
|
||||
|
||||
|
||||
let lastline= line("$") + 1
|
||||
if lastline == 2 && getline("$") == ""
|
||||
call setline(1,'" Vimball Archiver by Charles E. Campbell')
|
||||
@@ -163,7 +163,7 @@ endfun
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" vimball#Vimball: extract and distribute contents from a vimball {{{2
|
||||
" (invoked the the UseVimball command embedded in
|
||||
" (invoked the the UseVimball command embedded in
|
||||
" vimballs' prologue)
|
||||
fun! vimball#Vimball(really,...)
|
||||
|
||||
@@ -213,7 +213,7 @@ fun! vimball#Vimball(really,...)
|
||||
" give title to listing of (extracted) files from Vimball Archive
|
||||
if a:really
|
||||
echohl Title | echomsg "Vimball Archive" | echohl None
|
||||
else
|
||||
else
|
||||
echohl Title | echomsg "Vimball Archive Listing" | echohl None
|
||||
echohl Statement | echomsg "files would be placed under: ".home | echohl None
|
||||
endif
|
||||
@@ -237,6 +237,15 @@ fun! vimball#Vimball(really,...)
|
||||
bw! Vimball
|
||||
call s:ChgDir(curdir)
|
||||
return
|
||||
" Also, disallow strange paths, that could lead to code execution from
|
||||
" .VimballRecord
|
||||
" Disallow: pipe, quotes and closing paren
|
||||
elseif fname =~ '[|'')"]'
|
||||
echomsg printf("(Vimball) Forbidding strange filename: '%s', aborting...", fname)
|
||||
exe "tabn ".curtabnr
|
||||
bw! Vimball
|
||||
call s:ChgDir(curdir)
|
||||
return
|
||||
endif
|
||||
|
||||
if a:really
|
||||
@@ -295,7 +304,7 @@ fun! vimball#Vimball(really,...)
|
||||
exe "silent w! ".fnameescape(fnamepath)
|
||||
endif
|
||||
echo "wrote ".fnameescape(fnamepath)
|
||||
call s:RecordInVar(home,"call delete('".fnamepath."')")
|
||||
call s:RecordInVar(home,"call delete('".escape(fnamepath, '"''|')."')")
|
||||
endif
|
||||
|
||||
" return to tab with vimball
|
||||
@@ -370,7 +379,7 @@ fun! vimball#RmVimball(...)
|
||||
|
||||
call s:ChgDir(home)
|
||||
if filereadable(".VimballRecord")
|
||||
keepalt keepjumps 1split
|
||||
keepalt keepjumps 1split
|
||||
sil! keepalt keepjumps e .VimballRecord
|
||||
let keepsrch= @/
|
||||
if search('^\M'.curfile."\m: ".'cw')
|
||||
@@ -558,7 +567,7 @@ fun! s:RecordInFile(home)
|
||||
if exists("s:recordfile") || exists("s:recorddir")
|
||||
let curdir= getcwd()
|
||||
call s:ChgDir(a:home)
|
||||
keepalt keepjumps 1split
|
||||
keepalt keepjumps 1split
|
||||
|
||||
let cmd= expand("%:tr").": "
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Zig Compiler
|
||||
" Upstream: https://github.com/ziglang/zig.vim
|
||||
" Last Change:
|
||||
" 2026 May 12 by the Vim project (set errormformat)
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
@@ -11,13 +13,29 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
" a subcommand must be provided for the this compiler (test, build-exe, etc)
|
||||
if has('patch-7.4.191')
|
||||
CompilerSet makeprg=zig\ \$*\ \%:S
|
||||
else
|
||||
CompilerSet makeprg=zig\ \$*\ \"%\"
|
||||
endif
|
||||
CompilerSet makeprg=zig\ \$*\ \%:S
|
||||
|
||||
" TODO: improve errorformat as needed.
|
||||
CompilerSet errorformat=
|
||||
\%-G,
|
||||
\%-G\ %#+-\ %.%#,
|
||||
\%-Ginstall,
|
||||
\%-Ginstall\ transitive\ failure,
|
||||
\%-Grun,
|
||||
\%-Grun\ transitive\ failure,
|
||||
\%-Gtest,
|
||||
\%-Gtest\ transitive\ failure,
|
||||
\%-Gfailed\ command:\ %.%#,
|
||||
\%-Gerror:\ %*\\d\ compilation\ errors,
|
||||
\%-GBuild\ Summary:\ %.%#,
|
||||
\%-Gerror:\ the\ following\ build\ command\ failed\ with\ exit\ code\ %*\\d:,
|
||||
\%-G.zig-cache%.%#,
|
||||
\%E%f:%l:%c:\ error:\ %m,
|
||||
\%I%f:%l:%c:\ note:\ %m
|
||||
|
||||
" zig has no warnings, but zig cc and zig c++ do
|
||||
CompilerSet errorformat+=
|
||||
\%W%f:%l:%c:\ warning:\ %m,
|
||||
\%-G%*\\d\ warnings\ generated.
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Zig Compiler (zig build)
|
||||
" Upstream: https://github.com/ziglang/zig.vim
|
||||
" Last Change: 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||
" Last Change: 2024 Apr 05 by the Vim Project (removed :CompilerSet definition)
|
||||
" 2026 May 12 by the Vim Project (removed comment)
|
||||
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
@@ -13,13 +14,11 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
if exists('g:zig_build_makeprg_params')
|
||||
execute 'CompilerSet makeprg=zig\ build\ '.escape(g:zig_build_makeprg_params, ' \|"').'\ $*'
|
||||
execute 'CompilerSet makeprg=zig\ build\ '.escape(g:zig_build_makeprg_params, ' \|"').'\ $*'
|
||||
else
|
||||
CompilerSet makeprg=zig\ build\ $*
|
||||
CompilerSet makeprg=zig\ build\ $*
|
||||
endif
|
||||
|
||||
" TODO: anything to add to errorformat for zig build specifically?
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab
|
||||
" vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Zig Compiler (zig build-exe)
|
||||
" Upstream: https://github.com/ziglang/zig.vim
|
||||
" Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
|
||||
" Last Change: 2025 Nov 16 by the Vim Project (set errorformat)
|
||||
" 2026 May 12 by the Vim project (remove errorformat)
|
||||
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
@@ -13,9 +14,7 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
CompilerSet makeprg=zig\ build-exe\ \%:S\ \$*
|
||||
" CompilerSet errorformat=%f:%l:%c: %t%*[^:]: %m, %f:%l:%c: %m, %f:%l: %m
|
||||
CompilerSet errorformat&
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab
|
||||
" vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab
|
||||
|
||||
18
runtime/compiler/zig_cc.vim
Normal file
18
runtime/compiler/zig_cc.vim
Normal file
@@ -0,0 +1,18 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Zig Compiler (zig cc)
|
||||
" Last Change: 2026 May 12
|
||||
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
endif
|
||||
runtime compiler/zig.vim
|
||||
let current_compiler = 'zig_cc'
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
CompilerSet makeprg=zig\ cc\ \%:S\ \$*
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
" vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Zig Compiler (zig test)
|
||||
" Upstream: https://github.com/ziglang/zig.vim
|
||||
" Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
|
||||
" Last Change: 2025 Nov 16 by the Vim Project (set errorformat)
|
||||
" 2026 May 12 by the Vim Project (remove error format)
|
||||
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
@@ -13,9 +14,7 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
CompilerSet makeprg=zig\ test\ \%:S\ \$*
|
||||
" CompilerSet errorformat=%f:%l:%c: %t%*[^:]: %m, %f:%l:%c: %m, %f:%l: %m
|
||||
CompilerSet errorformat&
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab
|
||||
" vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 9.2. Last change: 2026 Feb 25
|
||||
*autocmd.txt* For Vim version 9.2. Last change: 2026 May 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -421,6 +421,8 @@ Name triggered by ~
|
||||
|TextChangedP| after a change was made to the text in Insert mode
|
||||
when popup menu visible
|
||||
|TextChangedT| after a change was made to the text in Terminal mode
|
||||
|TextPutPost| after text has been put
|
||||
|TextPutPre| before text is put
|
||||
|TextYankPost| after text has been yanked or deleted
|
||||
|
||||
|SafeState| nothing pending, going to wait for the user to type a
|
||||
@@ -1359,6 +1361,45 @@ TextChangedP After a change was made to the text in the
|
||||
TextChangedT After a change was made to the text in the
|
||||
current buffer in Terminal mode.
|
||||
Otherwise the same as TextChanged.
|
||||
*TextPutPost*
|
||||
TextPutPost After text has been put in the current buffer.
|
||||
The following values in |v:event| are mostly
|
||||
the same as |TextYankPost|:
|
||||
operator The operation performed,
|
||||
either 'p' or 'P'.
|
||||
regcontents Text that was put. For
|
||||
|quote_=|, this is the result
|
||||
of the expression.
|
||||
regname Name of the register or empty
|
||||
string for the unnamed
|
||||
register.
|
||||
regtype Type of the register, see
|
||||
|getregtype()|.
|
||||
visual True if the operation is
|
||||
performed in |Visual| mode.
|
||||
Not triggered when |quote_| is used nor when
|
||||
called recursively.
|
||||
It is not allowed to change the buffer text,
|
||||
see |textlock|.
|
||||
Note that for the |quote_.| register, since
|
||||
the last inserted text is buffered into the
|
||||
input buffer (buffer isn't modified directly),
|
||||
this autocommand is called directly after
|
||||
|TextPutPre|.
|
||||
{only when compiled with the +eval feature}
|
||||
*TextPutPre*
|
||||
TextPutPre Before text has been put in the current buffer.
|
||||
Same values as |TextPutPost| in |v:event|. It
|
||||
is valid to call |setreg()| in this
|
||||
autocommand, allowing you to process and
|
||||
modify the text in "regcontents" before it is
|
||||
put. However this does not apply to |quote_#|,
|
||||
|quote_=|, |quote_%|, |quote_:|, |quote_/| or |quote_.|.
|
||||
Not triggered when |quote_| is used nor when
|
||||
called recursively.
|
||||
It is not allowed to change the buffer text,
|
||||
see |textlock|.
|
||||
{only when compiled with the +eval feature}
|
||||
*TextYankPost*
|
||||
TextYankPost After text has been yanked or deleted in the
|
||||
current buffer. The following values of
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.2. Last change: 2026 Apr 20
|
||||
*builtin.txt* For Vim version 9.2. Last change: 2026 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -705,6 +705,8 @@ tabpagebuflist([{arg}]) List list of buffer numbers in tab page
|
||||
tabpagenr([{arg}]) Number number of current or last tab page
|
||||
tabpagewinnr({tabarg} [, {arg}])
|
||||
Number number of current window in tab page
|
||||
tabpanel_getinfo() Dict get current state of the tabpanel
|
||||
tabpanel_scroll({n} [, {opts}]) Bool scroll the tabpanel
|
||||
tagfiles() List tags files used
|
||||
taglist({expr} [, {filename}]) List list of tags matching {expr}
|
||||
tan({expr}) Float tangent of {expr}
|
||||
@@ -6863,6 +6865,8 @@ listener_add({callback} [, {buf} [, {unbuffered}]]) *listener_add()*
|
||||
second argument: >
|
||||
GetBuffer()->listener_add(callback)
|
||||
<
|
||||
This function is not available in the |sandbox|.
|
||||
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
@@ -6877,6 +6881,8 @@ listener_flush([{buf}]) *listener_flush()*
|
||||
Can also be used as a |method|: >
|
||||
GetBuffer()->listener_flush()
|
||||
<
|
||||
This function is not available in the |sandbox|.
|
||||
|
||||
Return type: void
|
||||
|
||||
|
||||
@@ -6888,6 +6894,8 @@ listener_remove({id}) *listener_remove()*
|
||||
Can also be used as a |method|: >
|
||||
GetListenerId()->listener_remove()
|
||||
<
|
||||
This function is not available in the |sandbox|.
|
||||
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
@@ -8867,6 +8875,8 @@ redraw_listener_add({opts}) *redraw_listener_add()*
|
||||
Can also be used as a |method|: >
|
||||
GetOpts()->redraw_listener_add()
|
||||
<
|
||||
This function is not available in the |sandbox|.
|
||||
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
@@ -11317,7 +11327,12 @@ strptime({format}, {timestring}) *strptime()*
|
||||
can try different {format} values until you get a non-zero
|
||||
result.
|
||||
|
||||
Note: On MS-Windows, where the C runtime does not provide
|
||||
strptime(), Vim uses a built-in fallback that always uses
|
||||
English locale names regardless of the active locale.
|
||||
|
||||
See also |strftime()|.
|
||||
|
||||
Examples: >
|
||||
:echo strptime("%Y %b %d %X", "1997 Apr 27 11:49:23")
|
||||
< 862156163 >
|
||||
@@ -11871,6 +11886,38 @@ tabpagewinnr({tabarg} [, {arg}]) *tabpagewinnr()*
|
||||
Return type: |Number|
|
||||
|
||||
|
||||
tabpanel_getinfo() *tabpanel_getinfo()*
|
||||
Return a |Dictionary| describing the current state of the
|
||||
tabpanel (see |tabpanel|). The dictionary has these keys:
|
||||
align "left" or "right"
|
||||
columns width in screen columns
|
||||
scrollbar |TRUE| if a scrollbar is shown
|
||||
offset current scroll offset in rows
|
||||
total total number of rows rendered
|
||||
max_offset largest valid value for "offset"
|
||||
|
||||
The "total" and "max_offset" values are only accurate after
|
||||
the tabpanel has been drawn at least once.
|
||||
|
||||
Return type: dict<any>
|
||||
|
||||
|
||||
tabpanel_scroll({n} [, {opts}]) *tabpanel_scroll()*
|
||||
Scroll the tabpanel by {n} rows. Positive values scroll down
|
||||
(later tab pages become visible), negative values scroll up.
|
||||
The new offset is clamped to the valid range.
|
||||
|
||||
When {opts} is a |Dictionary| and its "absolute" entry is
|
||||
|TRUE|, {n} is used as the new absolute scroll offset instead
|
||||
of a delta.
|
||||
|
||||
Returns |TRUE| if the scroll offset changed, |FALSE| otherwise
|
||||
(for example when the tabpanel is not shown, or the offset is
|
||||
already at the requested value).
|
||||
|
||||
Return type: |vim9-boolean|
|
||||
|
||||
|
||||
tagfiles() *tagfiles()*
|
||||
Returns a |List| with the file names used to search for tags
|
||||
for the current buffer. This is the 'tags' option expanded.
|
||||
@@ -11990,6 +12037,7 @@ terminalprops() *terminalprops()*
|
||||
underline_rgb whether |t_8u| works **
|
||||
mouse mouse type supported
|
||||
kitty whether Kitty terminal was detected
|
||||
decrqm whether sending DECRQM sequences work
|
||||
|
||||
** value 'u' for unknown, 'y' for yes, 'n' for no
|
||||
|
||||
@@ -12009,6 +12057,9 @@ terminalprops() *terminalprops()*
|
||||
|
||||
For "mouse" the value 'u' is unknown
|
||||
|
||||
If "decrqm" is 'y', then Vim will query support for the
|
||||
'termsync' and 'termresize' ("inband") options.
|
||||
|
||||
Also see:
|
||||
- 'ambiwidth' - detected by using |t_u7|.
|
||||
- |v:termstyleresp| and |v:termblinkresp| for the response to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*channel.txt* For Vim version 9.2. Last change: 2026 Apr 15
|
||||
*channel.txt* For Vim version 9.2. Last change: 2026 Apr 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -170,6 +170,7 @@ unreachable on the network.
|
||||
"js" - Use JS (JavaScript) encoding, more efficient than JSON.
|
||||
"nl" - Use messages that end in a NL character
|
||||
"raw" - Use raw messages
|
||||
"blob" - Use raw messages and pass callback data as a |Blob|
|
||||
"lsp" - Use language server protocol encoding
|
||||
"dap" - Use debug adapter protocol encoding
|
||||
*channel-callback* *E921*
|
||||
@@ -189,6 +190,8 @@ unreachable on the network.
|
||||
excluding the NL.
|
||||
When "mode" is "raw" the "msg" argument is the whole message
|
||||
as a string.
|
||||
When "mode" is "blob" the "msg" argument is the whole message
|
||||
as a |Blob|.
|
||||
|
||||
For all callbacks: Use |function()| to bind it to arguments
|
||||
and/or a Dictionary. Or use the form "dict.function" to bind
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*eval.txt* For Vim version 9.2. Last change: 2026 May 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -5346,6 +5346,9 @@ a |lambda| expression.
|
||||
With the exception of the "available" callback if a callback is not provided,
|
||||
Vim will not invoke anything, and this is not an error.
|
||||
|
||||
If the "paste" or "copy" callbacks are triggered recursively, then they will
|
||||
not be called.
|
||||
|
||||
*clipboard-providers-textlock*
|
||||
In both the "paste" and "copy" callbacks, it is not allowed to change the
|
||||
buffer text, see |textlock|.
|
||||
@@ -5367,6 +5370,9 @@ order:
|
||||
is an empty string, then the type is automatically chosen.
|
||||
2. A |list| of strings to return to Vim, each representing a line.
|
||||
|
||||
If an invalid value is returned, then this is not an error. Instead the
|
||||
register will be left unchanged (not cleared).
|
||||
|
||||
*clipboard-providers-copy*
|
||||
The "copy" callback returns nothing and takes the following arguments in the
|
||||
following order:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 9.2. Last change: 2026 Apr 13
|
||||
*filetype.txt* For Vim version 9.2. Last change: 2026 May 16
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -164,6 +164,7 @@ variables can be used to overrule the filetype used for certain extensions:
|
||||
*.int g:filetype_int
|
||||
*.lsl g:filetype_lsl
|
||||
*.m g:filetype_m |ft-mathematica-syntax|
|
||||
*.mm g:filetype_mm
|
||||
*.mac g:filetype_mac
|
||||
*[mM]makefile,*.mk,*.mak,[mM]akefile*
|
||||
g:make_flavor |ft-make-syntax|
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*ft_mp.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*ft_mp.txt* For Vim version 9.2. Last change: 2026 May 04
|
||||
|
||||
This is the documentation for the METAFONT and MetaPost filetype plugins.
|
||||
Unless otherwise specified, the commands, settings and mappings defined below
|
||||
@@ -25,7 +25,7 @@ MetaPost documents, including syntax coloring, indentation, and completion.
|
||||
Defining indentation rules for METAFONT and MetaPost code is tricky and
|
||||
somewhat subjective, because the syntax is quite liberal. The plugin uses some
|
||||
heuristics that work well most of the time, but in particular cases you may
|
||||
want to to override the automatic rules, so that the manually defined
|
||||
want to override the automatic rules, so that the manually defined
|
||||
indentation is preserved by commands like `gg=G`.
|
||||
|
||||
This can be achieved by appending `%>`, `%<`, `%=` or `%!` to a line to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*map.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1593,7 +1593,10 @@ reported if any are supplied). However, it is possible to specify that the
|
||||
command can take arguments, using the -nargs attribute. Valid cases are:
|
||||
|
||||
-nargs=0 No arguments are allowed (the default)
|
||||
-nargs=1 Exactly one argument is required, it includes spaces
|
||||
-nargs=1 Exactly one argument is required, it includes spaces;
|
||||
completion treats white spaces as argument separation
|
||||
-nargs=_ Exactly one argument is required, it includes spaces;
|
||||
completion treats white spaces as part of the argument
|
||||
-nargs=* Any number of arguments are allowed (0, 1, or many),
|
||||
separated by white space
|
||||
-nargs=? 0 or 1 arguments are allowed
|
||||
@@ -1601,7 +1604,23 @@ command can take arguments, using the -nargs attribute. Valid cases are:
|
||||
|
||||
Arguments are considered to be separated by (unescaped) spaces or tabs in this
|
||||
context, except when there is one argument, then the white space is part of
|
||||
the argument.
|
||||
the argument. The difference between the "-nargs=1" and "-nargs=_": >
|
||||
|
||||
func MyComplete(ArgLead, CmdLine, CursorPos)
|
||||
return ["one value", "two values", "three values"]
|
||||
\->matchfuzzy(a:ArgLead)
|
||||
endfunc
|
||||
:command -nargs=1 -complete=customlist,MyComplete MyCmd1 echo <q-args>
|
||||
:command -nargs=_ -complete=customlist,MyComplete MyCmd2 echo <q-args>
|
||||
|
||||
Completing ":MyCmd1 two va<tab>" will complete with: >
|
||||
|
||||
:MyCmd1 two one value
|
||||
|
||||
Completing ":MyCmd2 two va<tab>" will complete with: >
|
||||
|
||||
:MyCmd2 two values
|
||||
|
||||
|
||||
Note that arguments are used as text, not as expressions. Specifically,
|
||||
"s:var" will use the script-local variable in the script where the command was
|
||||
@@ -1693,7 +1712,21 @@ For the "custom" argument, the function should return the completion
|
||||
candidates one per line in a newline separated string.
|
||||
*E1303*
|
||||
For the "customlist" argument, the function should return the completion
|
||||
candidates as a Vim List. Non-string items in the list are ignored.
|
||||
candidates as a Vim List. Each item may be either a string or a |Dictionary|.
|
||||
A Dictionary item may have the following keys:
|
||||
word (required) the text inserted into the command line when the
|
||||
item is selected
|
||||
abbr alternative text shown in the popup menu in place of "word",
|
||||
when 'wildoptions' contains "pum"; useful when the inserted
|
||||
text and the displayed text should differ
|
||||
kind short kind text (one or two characters), shown in the popup
|
||||
menu when 'wildoptions' contains "pum"
|
||||
menu extra text shown after the match in the popup menu
|
||||
info long description shown in the info popup; the |+popupwin|
|
||||
feature is required to display it
|
||||
Items that are neither a string nor a Dictionary, and Dictionary items without
|
||||
a "word" key, are ignored. When 'wildoptions' does not contain "pum", only
|
||||
"word" is shown.
|
||||
|
||||
The function arguments are:
|
||||
ArgLead the leading portion of the argument currently being
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 9.2. Last change: 2026 Apr 20
|
||||
*options.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -2393,6 +2393,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
close show close button: "on" (default) or "off"
|
||||
height maximum height of the popup
|
||||
highlight popup highlight group (default: PmenuSel)
|
||||
opacity opacity percentage 0-100 (default 100, fully
|
||||
opaque). When less than 100, content beneath
|
||||
the popup shows through.
|
||||
resize show resize handle: "on" (default) or "off"
|
||||
shadow "off" (default) or "on" using |hl-PmenuShadow|
|
||||
width maximum width of the popup
|
||||
@@ -2400,6 +2403,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Example: >
|
||||
:set completepopup=height:10,border:single,highlight:InfoPopup
|
||||
:set completepopup=width:60,border:custom:─;│;─;│;┌;┐;┘;└
|
||||
:set completepopup=border:round,opacity:80
|
||||
<
|
||||
When "align" is set to "item", the popup is positioned near the
|
||||
selected item and moves as the selection changes.
|
||||
@@ -3979,7 +3983,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|String| and is the |:find| command argument. The second argument is
|
||||
a |Boolean| and is set to |v:true| when the function is called to get
|
||||
a List of command-line completion matches for the |:find| command.
|
||||
The function should return a List of strings.
|
||||
The function should return a List, which is handled similarly to the
|
||||
return value of a |:command-completion-customlist| function.
|
||||
|
||||
The function is called only once per |:find| command invocation.
|
||||
The function can process all the directories specified in 'path'.
|
||||
@@ -4769,7 +4774,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
[:PmenuKind,]:PmenuKindSel,
|
||||
{:PmenuExtra,}:PmenuExtraSel,
|
||||
x:PmenuSbar,X:PmenuThumb,j:PmenuBorder,
|
||||
H:PmenuShadow,*:TabLine,
|
||||
H:PmenuShadow,p:Popup,J:PopupBorder,
|
||||
Q:PopupTitle,*:TabLine,
|
||||
#:TabLineSel,_:TabLineFill,!:CursorColumn,
|
||||
.:CursorLine,o:ColorColumn,q:QuickFixLine,
|
||||
z:StatusLineTerm,Z:StatusLineTermNC,
|
||||
@@ -4840,6 +4846,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|hl-PmenuMatchSel| < popup menu matched text in selected line
|
||||
|hl-PmenuBorder| j popup menu border characters
|
||||
|hl-PmenuShadow| H popup menu shadow
|
||||
|hl-Popup| p popup window body
|
||||
|hl-PopupBorder| J popup window border characters
|
||||
|hl-PopupTitle| Q popup window title
|
||||
|hl-PreInsert| I text inserted when "preinsert" is in 'completeopt'
|
||||
|hl-Normal| ( Window color (supersedes 'wincolor' option)
|
||||
|
||||
@@ -6211,6 +6220,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'filetype'
|
||||
'foldcolumn'
|
||||
'foldenable'
|
||||
'foldmarker'
|
||||
'foldmethod'
|
||||
'modifiable'
|
||||
'readonly'
|
||||
@@ -7007,7 +7017,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
of 'fillchars' option.
|
||||
opacity:{n} opacity percentage 0-100 (default 100).
|
||||
When less than 100, background content shows
|
||||
through the popup menu.
|
||||
through the popup menu. Requires the GUI,
|
||||
'termguicolors', or a 256-color terminal.
|
||||
|
||||
Flags (no value):
|
||||
margin adds one-cell spacing inside the left and
|
||||
@@ -7840,6 +7851,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Note: When using a pipe like "| tee", you'll lose the exit code of the
|
||||
shell command. This might be configurable by your shell, look for
|
||||
the pipefail option (for bash and zsh, use ":set -o pipefail").
|
||||
Only a single "%s" value is allowed.
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
@@ -7883,6 +7895,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
become obsolete (at least for Unix).
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
*E1577*
|
||||
Only a single "%s" item is allowed in the option value.
|
||||
|
||||
|
||||
*'shellslash'* *'ssl'* *'noshellslash'* *'nossl'*
|
||||
'shellslash' 'ssl' boolean (default off)
|
||||
@@ -8044,6 +8059,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
search count statistics. The maximum limit can be set with
|
||||
the 'maxsearchcount' option, see also |searchcount()|
|
||||
function.
|
||||
u don't give undo and redo messages like *shm-u*
|
||||
"1 line less; before #1 1 second ago", "Already at oldest
|
||||
change" or "Already at newest change"
|
||||
|
||||
This gives you the opportunity to avoid that a change between buffers
|
||||
requires you to hit <Enter>, but still gives as useful a message as
|
||||
@@ -9052,24 +9070,22 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Optional settings for the |tabpanel|, It can consist of the following
|
||||
items. Items must be separated by a comma.
|
||||
|
||||
align:{text} Specifies the position of the tabpanel.
|
||||
Currently supported positions are:
|
||||
|
||||
left left-side
|
||||
align:{text} Specifies the position of the tabpanel.
|
||||
Currently supported positions are:
|
||||
left left-side (default)
|
||||
right right-side
|
||||
|
||||
(default "left")
|
||||
|
||||
columns:{n} Number of columns of the tabpanel.
|
||||
If this value is 0 or less than 'columns', the
|
||||
tab panel will not be displayed.
|
||||
(default 20)
|
||||
|
||||
vert Use a vertical separator for tabpanel.
|
||||
The vertical separator character is taken from
|
||||
"tpl_vert" in 'fillchars'.
|
||||
(default off)
|
||||
|
||||
columns:{n} Number of columns of the tabpanel. (default 20)
|
||||
If this value is 0 or less than 'columns', the
|
||||
tabpanel will not be displayed.
|
||||
scrollbar A one-column scrollbar is always displayed at the
|
||||
right edge of the tabpanel, regardless of the
|
||||
"align:" setting. (default off)
|
||||
See |tabpanel-scroll|.
|
||||
vert The vertical separator is drawn at the boundary
|
||||
between the tabpanel and the buffer area.
|
||||
(default off)
|
||||
The character to be drawn uses "tpl_vert" from
|
||||
'fillchars'.
|
||||
Examples: >
|
||||
:set tabpanelopt=columns:16,align:right
|
||||
:set tabpanelopt=
|
||||
@@ -9207,6 +9223,22 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
file names from the list. This avoids problems when a future version
|
||||
uses another default.
|
||||
|
||||
*'tagsecure'* *'tsc'* *'notagsecure'* *'notsc'*
|
||||
'tagsecure' 'tsc' boolean (default on)
|
||||
global
|
||||
When on, Vim refuses to follow tag entries whose file field looks like
|
||||
a URL ("scheme://..."), aborting the jump with error |E1576|. This
|
||||
prevents tag files from causing Vim to open URLs through |netrw|, which
|
||||
would trigger a network request and expose netrw's URL-handling code to
|
||||
attacker-controlled input or lead to environment exfiltration.
|
||||
|
||||
Tag files might be distributed alongside source code (e.g. via Git
|
||||
repositories) and may therefore be untrustworthy. Only disable
|
||||
this option if you fully control the tag files Vim will read.
|
||||
|
||||
This option cannot be set from a |modeline| or in the |sandbox|, for
|
||||
security reasons.
|
||||
|
||||
*'tagstack'* *'tgst'* *'notagstack'* *'notgst'*
|
||||
'tagstack' 'tgst' boolean (default on)
|
||||
global
|
||||
@@ -10043,6 +10075,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
letter. Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis"
|
||||
and "_K_L_M" are not. Nested List and Dict items may not be
|
||||
read back correctly, you end up with an empty item.
|
||||
|
||||
Restoring |List|, |Dictionary| and |Tuple| variables is done by
|
||||
parsing their textual form with the Vim expression evaluator.
|
||||
Reading a viminfo file with "!" enabled is therefore only safe
|
||||
when the file is trusted. In particular, do not enable "!"
|
||||
before reading a viminfo file you obtained from another user,
|
||||
downloaded, or that is writable by another account. See
|
||||
also |viminfo-security|.
|
||||
*viminfo-quote*
|
||||
" Maximum number of lines saved for each register. Old name of
|
||||
the '<' item, with the disadvantage that you need to put a
|
||||
@@ -10400,8 +10440,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
applies to buffer name completion.
|
||||
"noselect" If 'wildmenu' is enabled, show the menu but do not
|
||||
preselect the first item.
|
||||
If only one match exists, it is completed fully, unless "noselect" is
|
||||
specified.
|
||||
"noinsert" If 'wildmenu' is enabled, show the menu and preselect
|
||||
the first match, but do not insert it in the command
|
||||
line. If both "noinsert" and "noselect" are present,
|
||||
"noselect" takes precedence.
|
||||
If only one match exists, it is completed fully, unless "noselect" or
|
||||
"noinsert" is specified.
|
||||
|
||||
Some useful combinations of colon-separated values:
|
||||
"longest:full" Start with the longest common string and show
|
||||
|
||||
@@ -1142,6 +1142,8 @@ One may easily "bookmark" the currently browsed directory by using >
|
||||
|
||||
mb
|
||||
<
|
||||
Note: Bookmarked paths are normalized and stored as absolute paths.
|
||||
|
||||
*.netrwbook*
|
||||
Bookmarks are retained in between sessions of vim in a file called .netrwbook
|
||||
as a |List|, which is typically stored in the first directory on the user's
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pi_zip.txt* For Vim version 9.2. Last change: 2026 Apr 05
|
||||
*pi_zip.txt* For Vim version 9.2. Last change: 2026 May 16
|
||||
|
||||
+====================+
|
||||
| Zip File Interface |
|
||||
@@ -114,9 +114,9 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
|
||||
should be treated as zip files.
|
||||
|
||||
Alternatively, one may change *g:zipPlugin_ext* in one's .vimrc.
|
||||
Currently (as of October 2025) it holds: >
|
||||
Currently (as of May 2026) it holds: >
|
||||
|
||||
let g:zipPlugin_ext='*.aar,*.apk,*.celzip,*.crtx,*.docm,*.docx,
|
||||
let g:zipPlugin_ext='*.aar,*.apk,*.cbz,*.celzip,*.crtx,*.docm,*.docx,
|
||||
\ *.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,
|
||||
\ *.odb,*.odc,*.odf,*.odg,*.odi,*.odm,*.odp,*.ods,*.odt,*.otc,*.otf,
|
||||
\ *.otg,*.oth,*.oti,*.otp,*.ots,*.ott,*.oxt,*.pkpass,*.potm,*.potx,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*popup.txt* For Vim version 9.2. Last change: 2026 Apr 06
|
||||
*popup.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -44,8 +44,11 @@ A popup window can be used for such things as:
|
||||
The text in the popup window can be colored with |text-properties|. It is
|
||||
also possible to use syntax highlighting.
|
||||
|
||||
The default color used is "Pmenu". If you prefer something else use the
|
||||
"highlight" argument or the 'wincolor' option, e.g.: >
|
||||
The default colors are taken from |hl-Popup| (body), |hl-PopupBorder|
|
||||
(border) and |hl-PopupTitle| (title), which all link to |hl-Pmenu| by
|
||||
default for backward compatibility. Override them to give general popup
|
||||
windows a different look than the popup completion menu, or use the
|
||||
"highlight" argument or the 'wincolor' option for a per-popup override: >
|
||||
hi MyPopupColor ctermbg=lightblue guibg=lightblue
|
||||
call setwinvar(winid, '&wincolor', 'MyPopupColor')
|
||||
|
||||
@@ -712,6 +715,15 @@ The second argument of |popup_create()| is a dictionary with options:
|
||||
when "textprop" is present.
|
||||
textpropid Used to identify the text property when "textprop" is
|
||||
present. Use zero to reset.
|
||||
clipwindow Only used when "textprop" is set. When TRUE the popup
|
||||
is kept within the window containing the text
|
||||
property: if the text property scrolls past that
|
||||
window's top, bottom, left or right edge, the popup
|
||||
is clipped at that edge instead of being drawn
|
||||
outside it. Once the text property has scrolled out
|
||||
of the window the popup is hidden.
|
||||
Default FALSE.
|
||||
See |popup-clipwindow|.
|
||||
fixed When FALSE (the default), and:
|
||||
- "pos" is "botleft" or "topleft", and
|
||||
- the popup would be truncated at the right edge of
|
||||
@@ -751,6 +763,10 @@ The second argument of |popup_create()| is a dictionary with options:
|
||||
border one line of padding is added to put the title
|
||||
on. You might want to add one or more spaces at the
|
||||
start and end as padding.
|
||||
The title uses |hl-PopupTitle| by default; if
|
||||
"borderhighlight" is set the top border highlight is
|
||||
used instead, and if "highlight"/'wincolor' is set
|
||||
that is used.
|
||||
wrap TRUE to make the lines wrap (default TRUE).
|
||||
drag TRUE to allow the popup to be dragged with the mouse
|
||||
by grabbing at the border. Has no effect if the
|
||||
@@ -799,6 +815,8 @@ The second argument of |popup_create()| is a dictionary with options:
|
||||
the highlight for the top/right/bottom/left border.
|
||||
Example: ['TopColor', 'RightColor', 'BottomColor,
|
||||
'LeftColor']
|
||||
When not given and "highlight"/'wincolor' is also not
|
||||
set, |hl-PopupBorder| is used.
|
||||
borderchars List with characters, defining the character to use
|
||||
for the top/right/bottom/left border. Optionally
|
||||
followed by the character to use for the
|
||||
@@ -949,6 +967,31 @@ If the window for which the popup was defined is closed, the popup is closed.
|
||||
If the popup cannot fit in the desired position, it may show at a nearby
|
||||
position.
|
||||
|
||||
|
||||
CLIP TEXTPROP POPUP TO HOST WINDOW *popup-clipwindow*
|
||||
|
||||
When the popup is anchored to a text property in a split window, the popup is
|
||||
by default drawn relative to the whole screen and may extend past the edges of
|
||||
the window that contains the text property (the "host window"). Setting
|
||||
"clipwindow" to TRUE keeps the popup within window's content area:
|
||||
parts of the popup that fall outside the window are clipped, and the popup is
|
||||
hidden once the text property has scrolled entirely past one of the edges.
|
||||
|
||||
Example: a tall popup anchored above the cursor that should never spill into
|
||||
the window below the split: >
|
||||
call popup_create(body, #{
|
||||
\ textprop: 'marker',
|
||||
\ textpropid: id,
|
||||
\ pos: 'topleft',
|
||||
\ line: -1, col: 0,
|
||||
\ posinvert: v:false,
|
||||
\ clipwindow: v:true,
|
||||
\ })
|
||||
<
|
||||
With "posinvert" left at its default (TRUE) the popup may be flipped to the
|
||||
opposite side of the text property when there is no room; set it to FALSE to
|
||||
keep the requested side and rely on "clipwindow" to clip the overflow.
|
||||
|
||||
Some hints:
|
||||
- To avoid collision with other plugins the text property type name has to be
|
||||
unique. You can also use the "bufnr" item to make it local to a buffer.
|
||||
@@ -1067,8 +1110,9 @@ The opacity value ranges from 0 to 100:
|
||||
1-99 Partially transparent - the popup background is blended with
|
||||
the underlying text, making both partially visible.
|
||||
|
||||
The transparency effect requires using the GUI or having 'termguicolors'
|
||||
enabled in the terminal. Without it, the opacity setting has no effect.
|
||||
The transparency effect requires using the GUI, having 'termguicolors'
|
||||
enabled, or running in a 256-color terminal. On terminals with fewer
|
||||
than 256 colors the opacity setting has no effect.
|
||||
|
||||
When a popup is transparent:
|
||||
- The popup's background color is blended with the background text
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 9.2. Last change: 2026 Apr 15
|
||||
*quickref.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -895,7 +895,7 @@ Short explanation of each option: *option-list*
|
||||
'scrollfocus' 'scf' scroll wheel applies to window under pointer
|
||||
'scrolljump' 'sj' minimum number of lines to scroll
|
||||
'scrolloff' 'so' minimum nr. of lines above and below cursor
|
||||
'scrolloffpad' 'sop' keep 'scrolloff' context at end of file
|
||||
'scrolloffpad' 'sop' vertically center cursor at end of file
|
||||
'scrollopt' 'sbo' how 'scrollbind' should behave
|
||||
'sections' 'sect' nroff macros that separate sections
|
||||
'secure' secure mode for reading .vimrc in current dir
|
||||
@@ -960,6 +960,7 @@ Short explanation of each option: *option-list*
|
||||
'taglength' 'tl' number of significant characters for a tag
|
||||
'tagrelative' 'tr' file names in tag file are relative
|
||||
'tags' 'tag' list of file names used by the tag command
|
||||
'tagsecure' 'tsc' do not open remote files using tag commands
|
||||
'tagstack' 'tgst' push tags onto the tag stack
|
||||
'tcldll' name of the Tcl dynamic library
|
||||
'term' name of the terminal
|
||||
|
||||
@@ -195,6 +195,10 @@ recovered file. Or use |:DiffOrig|.
|
||||
Once you are sure the recovery is ok delete the swap file. Otherwise, you
|
||||
will continue to get warning messages that the ".swp" file already exists.
|
||||
|
||||
Note: Recovering swap files is best-effort. Vim attempts to validate fields
|
||||
and skip corrupted sections, but the swap file format is intended for files
|
||||
you trust. A crafted swap file may trigger parser bugs; such reports are
|
||||
treated as robustness issues rather than security vulnerabilities.
|
||||
|
||||
|
||||
ENCRYPTION AND THE SWAP FILE *:recover-crypt*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 9.2. Last change: 2026 Mar 17
|
||||
*starting.txt* For Vim version 9.2. Last change: 2026 Apr 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1573,6 +1573,24 @@ Session. You could have several Session files, one for each project you are
|
||||
working on. Viminfo and Session files together can be used to effectively
|
||||
enter Vim and directly start working in your desired setup. |session-file|
|
||||
|
||||
*viminfo-security*
|
||||
A viminfo file written by Vim is plain text and contains Vim expressions for
|
||||
|List|, |Dictionary| and |Tuple| values. When "!" is in 'viminfo' at the time
|
||||
Vim processes the file as a viminfo file, those expressions are evaluated.
|
||||
|
||||
The default value of 'viminfo' does not include "!", so by default no
|
||||
expression evaluation happens.
|
||||
|
||||
Opening a viminfo file in a buffer (e.g. with |:edit|) is harmless; Vim only
|
||||
displays the file contents. The risk is letting Vim process an untrusted file
|
||||
through the viminfo machinery, which happens when:
|
||||
- |:rviminfo| is used on the file, or
|
||||
- 'viminfofile' is set to point at it, or
|
||||
- the file is placed at the path Vim already reads as viminfo
|
||||
|viminfo-file-name|
|
||||
|
||||
In any of those cases, do not have "!" in 'viminfo' if you do not trust it.
|
||||
|
||||
*viminfo-read*
|
||||
When Vim is started and the 'viminfo' option is non-empty, the contents of
|
||||
the viminfo file are read and the info can be used in the appropriate places.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.2. Last change: 2026 Apr 14
|
||||
*syntax.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -849,6 +849,20 @@ ADA
|
||||
See |ft-ada-syntax|
|
||||
|
||||
|
||||
ALGOL 68 *algol68* *ft-algol68-syntax*
|
||||
|
||||
This syntax file currently targets the Algol 68 Genie project using the
|
||||
default UPPER stropping regime. It should also be usuable in other
|
||||
environments using the UPPER stropping regime, though somewhat less complete.
|
||||
|
||||
Highlighting can be further configured with the following variables.
|
||||
|
||||
Variable Highlight ~
|
||||
*algol68_no_preludes* no prelude identifiers, procedures or
|
||||
bold word operators
|
||||
*algol68_symbolic_operators* all prelude symbolic operators
|
||||
|
||||
|
||||
ANT *ant.vim* *ft-ant-syntax*
|
||||
|
||||
The ant syntax file provides syntax highlighting for javascript and python
|
||||
@@ -5978,14 +5992,14 @@ EndOfBuffer Filler lines (~) after the last line in the buffer.
|
||||
*hl-ErrorMsg*
|
||||
ErrorMsg Error messages on the command line.
|
||||
*hl-VertSplit*
|
||||
VertSplit Column separating vertically split windows that are adjacent
|
||||
to the current window. On the current window's status line
|
||||
rows, the separator cell is drawn as a space with the
|
||||
|hl-StatusLine| highlight so it blends into the status line
|
||||
without a stray fillchar glyph.
|
||||
VertSplit Column separating vertically split windows that is adjacent
|
||||
to the current window. Drawn with the "vert" item of
|
||||
'fillchars'.
|
||||
*hl-VertSplitNC*
|
||||
VertSplitNC Column separating vertically split windows of non-current
|
||||
windows. By default, highlighted like |hl-VertSplit|.
|
||||
VertSplitNC Column separating vertically split windows where neither
|
||||
adjacent window is the current window. Drawn with the
|
||||
"vert" item of 'fillchars'.
|
||||
By default, highlighted like |hl-VertSplit|.
|
||||
*hl-Folded*
|
||||
Folded Line used for closed folds.
|
||||
*hl-FoldColumn*
|
||||
@@ -6063,6 +6077,18 @@ PmenuShadow Popup menu: Used for shadow.
|
||||
ComplMatchIns Matched text of the currently inserted completion.
|
||||
*hl-PreInsert*
|
||||
PreInsert Text inserted when "preinsert" is in 'completeopt'.
|
||||
*hl-Popup*
|
||||
Popup Popup window body, used when neither the popup's 'wincolor'
|
||||
nor explicit "highlight" argument is set. Linked to |hl-Pmenu|
|
||||
by default.
|
||||
*hl-PopupBorder*
|
||||
PopupBorder Popup window border characters, used when "borderhighlight" is
|
||||
not set and the popup's 'wincolor' is also not set.
|
||||
Linked to |hl-Pmenu| by default.
|
||||
*hl-PopupTitle*
|
||||
PopupTitle Popup window title, used when "borderhighlight" is not set and
|
||||
the popup's 'wincolor' is also not set. Linked to
|
||||
|hl-Pmenu| by default.
|
||||
*hl-PopupSelected*
|
||||
PopupSelected Popup window created with |popup_menu()|. Linked to
|
||||
|hl-PmenuSel| by default.
|
||||
@@ -6101,16 +6127,22 @@ SpellRare Word that is recognized by the spellchecker as one that is
|
||||
hardly ever used. |spell|
|
||||
This will be combined with the highlighting used otherwise.
|
||||
*hl-StatusLine*
|
||||
StatusLine Status line of current window.
|
||||
StatusLine Status line of current window. The highlight at the status
|
||||
line's edge (StatusLine, or any %#... / %N* in 'statusline')
|
||||
also extends into the adjacent vertical separator cell when
|
||||
the status lines are connected (no 'vert' character drawn).
|
||||
*hl-StatusLineNC*
|
||||
StatusLineNC status lines of not-current windows
|
||||
StatusLineNC status lines of not-current windows. Like |hl-StatusLine|,
|
||||
the edge highlight also extends into the adjacent vertical
|
||||
separator cell.
|
||||
Note: If this is equal to "StatusLine", Vim will use "^^^" in
|
||||
the status line of the current window.
|
||||
*hl-StatusLineTerm*
|
||||
StatusLineTerm Status line of current window, if it is a |terminal| window.
|
||||
*hl-StatusLineTermNC*
|
||||
StatusLineTermNC Status lines of not-current windows that is a
|
||||
|terminal| window.
|
||||
StatusLineTermNC
|
||||
Status lines of not-current windows that is a |terminal|
|
||||
window.
|
||||
*hl-TabLine*
|
||||
TabLine Tab pages line, not active tab page label.
|
||||
*hl-TabLineFill*
|
||||
@@ -6130,18 +6162,19 @@ Title Titles for output from ":set all", ":autocmd" etc.
|
||||
*hl-TitleBar*
|
||||
TitleBar Title bar for the active Gui's window.
|
||||
This feature is supported only in the MS-Windows GUI.
|
||||
See |gui-w32-title-bar| for details
|
||||
See |gui-w32-title-bar| for details.
|
||||
Only the `guibg` and `guifg` highlight arguments are effective.
|
||||
*hl-TitleBarNC*
|
||||
TitleBarNC Title bar for inactive Gui's window.
|
||||
This feature is supported only in the MS-Windows GUI.
|
||||
See |gui-w32-title-bar| for details
|
||||
See |gui-w32-title-bar| for details.
|
||||
Only the `guibg` and `guifg` highlight arguments are effective.
|
||||
*hl-Visual*
|
||||
Visual Visual mode selection.
|
||||
*hl-VisualNOS*
|
||||
VisualNOS Visual mode selection when vim is "Not Owning the Selection".
|
||||
Only X11 Gui's |gui-x11| and |xterm-clipboard| supports this.
|
||||
Only X11 Gui's |gui-x11|, |xterm-clipboard| and
|
||||
|wayland-selections| supports this.
|
||||
*hl-WarningMsg*
|
||||
WarningMsg Warning messages.
|
||||
*hl-WildMenu*
|
||||
@@ -6161,10 +6194,9 @@ Menu Current font, background and foreground colors of the menus.
|
||||
Also used for the toolbar.
|
||||
Applicable highlight arguments: font, guibg, guifg.
|
||||
|
||||
NOTE: For Motif the font argument actually
|
||||
specifies a fontset at all times, no matter if 'guifontset' is
|
||||
empty, and as such it is tied to the current |:language| when
|
||||
set.
|
||||
NOTE: For Motif the font argument actually specifies a fontset
|
||||
at all times, no matter if 'guifontset' is empty, and as such
|
||||
it is tied to the current |:language| when set.
|
||||
|
||||
*hl-Scrollbar*
|
||||
Scrollbar Current background and foreground of the main window's
|
||||
@@ -6175,10 +6207,9 @@ Scrollbar Current background and foreground of the main window's
|
||||
Tooltip Current font, background and foreground of the tooltips.
|
||||
Applicable highlight arguments: font, guibg, guifg.
|
||||
|
||||
NOTE: For Motif the font argument actually
|
||||
specifies a fontset at all times, no matter if 'guifontset' is
|
||||
empty, and as such it is tied to the current |:language| when
|
||||
set.
|
||||
NOTE: For Motif the font argument actually specifies a fontset
|
||||
at all times, no matter if 'guifontset' is empty, and as such
|
||||
it is tied to the current |:language| when set.
|
||||
|
||||
==============================================================================
|
||||
15. Linking groups *:hi-link* *:highlight-link* *E412* *E413*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tabpage.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*tabpage.txt* For Vim version 9.2. Last change: 2026 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -482,6 +482,42 @@ The vertical separator character is taken from "tpl_vert" in 'fillchars'.
|
||||
You can customize the appearance of the tab page labels using the highlight
|
||||
groups: |hl-TabPanel| |hl-TabPanelSel| |hl-TabPanelFill|
|
||||
|
||||
SCROLLING IN THE TABPANEL *tabpanel-scroll*
|
||||
|
||||
When the total height of the tab page list exceeds the visible screen height,
|
||||
mouse wheel events over the tabpanel area scroll the tab page list up or down.
|
||||
The scroll step follows the 'mousescroll' setting. Wheel events inside the
|
||||
tabpanel area are consumed by the tabpanel and do not trigger
|
||||
|<ScrollWheelUp>| or |<ScrollWheelDown>| mappings.
|
||||
|
||||
The current tab page is always brought into view: when the selected tab page
|
||||
changes (by |gt|, |gT|, |:tabnext| etc.), the panel scrolls so the current
|
||||
entry is visible.
|
||||
|
||||
To show a vertical scrollbar indicating the current scroll position, add
|
||||
"scrollbar" to 'tabpanelopt': >
|
||||
:set tabpanelopt+=scrollbar
|
||||
|
||||
A one-column scrollbar is always displayed at the right edge of the tabpanel,
|
||||
regardless of the "align:" setting in 'tabpanelopt'. Clicking on the
|
||||
scrollbar column moves the thumb to the click position, and the thumb can be
|
||||
dragged to scroll continuously.
|
||||
|
||||
The scrollbar uses the |hl-PmenuSbar| highlight group for the track and
|
||||
|hl-PmenuThumb| for the thumb.
|
||||
|
||||
The scroll offset is remembered across redraws.
|
||||
|
||||
MOUSE CLICKS IN THE TABPANEL *tabpanel-mouse*
|
||||
|
||||
A left click on a row in the tabpanel selects the tab page that the row
|
||||
belongs to. Unlike the tabline, a double click in the tabpanel does not open
|
||||
a new, empty tab page; it is treated the same as a single click.
|
||||
|
||||
For finer-grained control, the 'tabpanel' value may contain |stl-%[FuncName]|
|
||||
click regions. Clicks on those regions are dispatched to the callback
|
||||
function instead of falling through to tab page selection.
|
||||
|
||||
==============================================================================
|
||||
6. Setting 'guitablabel' *setting-guitablabel*
|
||||
|
||||
|
||||
@@ -785,6 +785,7 @@ $quote eval.txt /*$quote*
|
||||
'nota' options.txt /*'nota'*
|
||||
'notagbsearch' options.txt /*'notagbsearch'*
|
||||
'notagrelative' options.txt /*'notagrelative'*
|
||||
'notagsecure' options.txt /*'notagsecure'*
|
||||
'notagstack' options.txt /*'notagstack'*
|
||||
'notbi' options.txt /*'notbi'*
|
||||
'notbidi' options.txt /*'notbidi'*
|
||||
@@ -803,6 +804,7 @@ $quote eval.txt /*$quote*
|
||||
'noto' options.txt /*'noto'*
|
||||
'notop' options.txt /*'notop'*
|
||||
'notr' options.txt /*'notr'*
|
||||
'notsc' options.txt /*'notsc'*
|
||||
'nottimeout' options.txt /*'nottimeout'*
|
||||
'nottybuiltin' options.txt /*'nottybuiltin'*
|
||||
'nottyfast' options.txt /*'nottyfast'*
|
||||
@@ -1229,6 +1231,7 @@ $quote eval.txt /*$quote*
|
||||
'taglength' options.txt /*'taglength'*
|
||||
'tagrelative' options.txt /*'tagrelative'*
|
||||
'tags' options.txt /*'tags'*
|
||||
'tagsecure' options.txt /*'tagsecure'*
|
||||
'tagstack' options.txt /*'tagstack'*
|
||||
'tal' options.txt /*'tal'*
|
||||
'tb' options.txt /*'tb'*
|
||||
@@ -1279,6 +1282,7 @@ $quote eval.txt /*$quote*
|
||||
'tr' options.txt /*'tr'*
|
||||
'trz' options.txt /*'trz'*
|
||||
'ts' options.txt /*'ts'*
|
||||
'tsc' options.txt /*'tsc'*
|
||||
'tsl' options.txt /*'tsl'*
|
||||
'tsr' options.txt /*'tsr'*
|
||||
'tsrfu' options.txt /*'tsrfu'*
|
||||
@@ -4778,6 +4782,8 @@ E1572 options.txt /*E1572*
|
||||
E1573 channel.txt /*E1573*
|
||||
E1574 channel.txt /*E1574*
|
||||
E1575 builtin.txt /*E1575*
|
||||
E1576 tagsrch.txt /*E1576*
|
||||
E1577 options.txt /*E1577*
|
||||
E158 sign.txt /*E158*
|
||||
E159 sign.txt /*E159*
|
||||
E16 cmdline.txt /*E16*
|
||||
@@ -5967,6 +5973,8 @@ TextChanged autocmd.txt /*TextChanged*
|
||||
TextChangedI autocmd.txt /*TextChangedI*
|
||||
TextChangedP autocmd.txt /*TextChangedP*
|
||||
TextChangedT autocmd.txt /*TextChangedT*
|
||||
TextPutPost autocmd.txt /*TextPutPost*
|
||||
TextPutPre autocmd.txt /*TextPutPre*
|
||||
TextYankPost autocmd.txt /*TextYankPost*
|
||||
Transact-SQL ft_sql.txt /*Transact-SQL*
|
||||
Tuple eval.txt /*Tuple*
|
||||
@@ -6233,6 +6241,9 @@ added-win32-GUI version5.txt /*added-win32-GUI*
|
||||
aff-dic-format spell.txt /*aff-dic-format*
|
||||
after-directory options.txt /*after-directory*
|
||||
aleph options.txt /*aleph*
|
||||
algol68 syntax.txt /*algol68*
|
||||
algol68_no_preludes syntax.txt /*algol68_no_preludes*
|
||||
algol68_symbolic_operators syntax.txt /*algol68_symbolic_operators*
|
||||
alt intro.txt /*alt*
|
||||
alt-input debugger.txt /*alt-input*
|
||||
alternate-file editing.txt /*alternate-file*
|
||||
@@ -7519,6 +7530,7 @@ ft-ada-options ft_ada.txt /*ft-ada-options*
|
||||
ft-ada-plugin ft_ada.txt /*ft-ada-plugin*
|
||||
ft-ada-syntax ft_ada.txt /*ft-ada-syntax*
|
||||
ft-ada-variables ft_ada.txt /*ft-ada-variables*
|
||||
ft-algol68-syntax syntax.txt /*ft-algol68-syntax*
|
||||
ft-ant-syntax syntax.txt /*ft-ant-syntax*
|
||||
ft-apache-syntax syntax.txt /*ft-apache-syntax*
|
||||
ft-arduino-plugin filetype.txt /*ft-arduino-plugin*
|
||||
@@ -8456,8 +8468,11 @@ hl-PmenuSbar syntax.txt /*hl-PmenuSbar*
|
||||
hl-PmenuSel syntax.txt /*hl-PmenuSel*
|
||||
hl-PmenuShadow syntax.txt /*hl-PmenuShadow*
|
||||
hl-PmenuThumb syntax.txt /*hl-PmenuThumb*
|
||||
hl-Popup syntax.txt /*hl-Popup*
|
||||
hl-PopupBorder syntax.txt /*hl-PopupBorder*
|
||||
hl-PopupNotification syntax.txt /*hl-PopupNotification*
|
||||
hl-PopupSelected syntax.txt /*hl-PopupSelected*
|
||||
hl-PopupTitle syntax.txt /*hl-PopupTitle*
|
||||
hl-PreInsert syntax.txt /*hl-PreInsert*
|
||||
hl-Question syntax.txt /*hl-Question*
|
||||
hl-QuickFixLine syntax.txt /*hl-QuickFixLine*
|
||||
@@ -9785,6 +9800,7 @@ popt-option print.txt /*popt-option*
|
||||
popup popup.txt /*popup*
|
||||
popup-buffer popup.txt /*popup-buffer*
|
||||
popup-callback popup.txt /*popup-callback*
|
||||
popup-clipwindow popup.txt /*popup-clipwindow*
|
||||
popup-close popup.txt /*popup-close*
|
||||
popup-examples popup.txt /*popup-examples*
|
||||
popup-filter popup.txt /*popup-filter*
|
||||
@@ -10326,6 +10342,7 @@ shm-q options.txt /*shm-q*
|
||||
shm-r options.txt /*shm-r*
|
||||
shm-s options.txt /*shm-s*
|
||||
shm-t options.txt /*shm-t*
|
||||
shm-u options.txt /*shm-u*
|
||||
shm-w options.txt /*shm-w*
|
||||
shm-x options.txt /*shm-x*
|
||||
short-name-changed version4.txt /*short-name-changed*
|
||||
@@ -10889,6 +10906,10 @@ tabpagebuflist() builtin.txt /*tabpagebuflist()*
|
||||
tabpagenr() builtin.txt /*tabpagenr()*
|
||||
tabpagewinnr() builtin.txt /*tabpagewinnr()*
|
||||
tabpanel tabpage.txt /*tabpanel*
|
||||
tabpanel-mouse tabpage.txt /*tabpanel-mouse*
|
||||
tabpanel-scroll tabpage.txt /*tabpanel-scroll*
|
||||
tabpanel_getinfo() builtin.txt /*tabpanel_getinfo()*
|
||||
tabpanel_scroll() builtin.txt /*tabpanel_scroll()*
|
||||
tag tagsrch.txt /*tag*
|
||||
tag-! tagsrch.txt /*tag-!*
|
||||
tag-binary-search tagsrch.txt /*tag-binary-search*
|
||||
@@ -11752,6 +11773,7 @@ viminfo-r options.txt /*viminfo-r*
|
||||
viminfo-read starting.txt /*viminfo-read*
|
||||
viminfo-read-write starting.txt /*viminfo-read-write*
|
||||
viminfo-s options.txt /*viminfo-s*
|
||||
viminfo-security starting.txt /*viminfo-security*
|
||||
viminfo-timestamp starting.txt /*viminfo-timestamp*
|
||||
viminfo-write starting.txt /*viminfo-write*
|
||||
vimrc starting.txt /*vimrc*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tagsrch.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*tagsrch.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -579,6 +579,10 @@ ctags).
|
||||
have an absolute or relative path. It may contain environment
|
||||
variables and wildcards (although the use of wildcards is
|
||||
doubtful). It cannot contain a <Tab>.
|
||||
*E1576*
|
||||
Using a remote file via network protocol (e.g. using
|
||||
http://remote/file.txt) is not allowed unless 'tagsecure'
|
||||
is unset.
|
||||
{tagaddress} The Ex command that positions the cursor on the tag. It can
|
||||
be any Ex command, although restrictions apply (see
|
||||
|tag-security|). Posix only allows line numbers and search
|
||||
|
||||
@@ -965,6 +965,20 @@ term_start({cmd} [, {options}]) *term_start()*
|
||||
input and one output handle, with no separate handle for
|
||||
stderr.
|
||||
|
||||
Note: term_start() always uses RAW mode for its callbacks.
|
||||
"out_cb" and "err_cb" receive the raw chunk of data as read
|
||||
from the OS. A single callback invocation may contain
|
||||
multiple lines separated by NL, and (for stdout via a pty)
|
||||
each line may have a trailing CR from the line discipline
|
||||
(ONLCR). If per-line handling is desired, the callback must
|
||||
split "msg" on NL and strip the trailing CR itself.
|
||||
Example: >
|
||||
func Handle(ch, msg)
|
||||
for line in split(a:msg, "\n")
|
||||
echom substitute(line, '\r$', '', '')
|
||||
endfor
|
||||
endfunc
|
||||
<
|
||||
There are extra options:
|
||||
"term_name" name to use for the buffer name, instead
|
||||
of the command name.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*todo.txt* For Vim version 9.2. Last change: 2026 Apr 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -421,8 +421,6 @@ more information.
|
||||
|
||||
Add an option to restrict 'incsearch' to not scroll the view. (Tavis Ormandy)
|
||||
|
||||
Remove SPACE_IN_FILENAME ? It is only used for completion.
|
||||
|
||||
When 'term' starts with "foot" then default t_TI and t_TE to the values used
|
||||
for the builtin xterm termcap.
|
||||
|
||||
@@ -2115,7 +2113,6 @@ es_ES.utf-8" gives an error and doesn't switch messages. (Dominique Pelle,
|
||||
|
||||
When $HOME contains special characters, such as a comma, escape them when used
|
||||
in an option. (Michael Hordijk, 2009 May 5)
|
||||
Turn "esc" argument of expand_env_esc() into string of chars to be escaped.
|
||||
|
||||
Should make 'ignorecase' global-local, so that it makes sense setting it from
|
||||
a modeline.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*usr_05.txt* For Vim version 9.2. Last change: 2026 May 11
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -509,6 +509,16 @@ To highlight in visual mode, use: >
|
||||
To disable the effect of the plugin after it has been loaded: >
|
||||
au! hlyank
|
||||
|
||||
Additionally, the plugin can also highlight regions that are put using the
|
||||
|TextPutPost| autocommand. This is by default disabled and can be enabled
|
||||
using: >
|
||||
:let g:hlput_enable = v:true
|
||||
<
|
||||
The following configuration variables can be used are "g:hlput_hlgroup" and
|
||||
"g:hlput_duration", which have the same effect as their yank counterparts: >
|
||||
:let g:hlput_hlgroup = 'IncSearch'
|
||||
:let g:hlput_duration = 300
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
Adding the osc52 package *osc52-install* *package-osc52*
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_30.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*usr_30.txt* For Vim version 9.2. Last change: 2026 May 15
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -531,9 +531,9 @@ they do when using only tab characters.
|
||||
Vim 5.4 introduced the 'softtabstop' option. On top of the (hard) tab stops
|
||||
used to display the horizontal tab characters in the text, Vim adds extra
|
||||
soft tab stops dedicated only to the cursor. When 'softtabstop' is set to a
|
||||
positive value, and the <Tab> key will push the cursor to the next soft tab
|
||||
positive value, the <Tab> key will push the cursor to the next soft tab
|
||||
stop. Vim will insert the correct combination of tab characters and spaces to
|
||||
make the effect visually. Likewise pressing <BS> will have the cursor try to
|
||||
achieve this effect. Likewise pressing <BS> will have the cursor try to
|
||||
reach the nearest soft tab stop. The following example uses
|
||||
`:set softtabstop=4`
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_41.txt* For Vim version 9.2. Last change: 2026 Feb 16
|
||||
*usr_41.txt* For Vim version 9.2. Last change: 2026 Apr 28
|
||||
|
||||
|
||||
VIM USER MANUAL by Bram Moolenaar
|
||||
@@ -1081,6 +1081,8 @@ Buffers, windows and the argument list:
|
||||
tabpagebuflist() return List of buffers in a tab page
|
||||
tabpagenr() get the number of a tab page
|
||||
tabpagewinnr() like winnr() for a specified tab page
|
||||
tabpanel_getinfo() get current state of the tabpanel
|
||||
tabpanel_scroll() scroll the tabpanel
|
||||
winnr() get the window number for the current window
|
||||
bufwinid() get the window ID of a specific buffer
|
||||
bufwinnr() get the window number of a specific buffer
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*various.txt* For Vim version 9.2. Last change: 2026 Apr 20
|
||||
*various.txt* For Vim version 9.2. Last change: 2026 Apr 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -60,10 +60,9 @@ ga Print the ascii value of the character under the
|
||||
but printable according to the 'isprint' option, the
|
||||
non-printable version is also given.
|
||||
|
||||
When the character is larger than 127, the <M-x> form
|
||||
is also printed. For example:
|
||||
<~A> <M-^A> 129, Hex 81, Octal 201 ~
|
||||
<p> <|~> <M-~> 254, Hex fe, Octal 376 ~
|
||||
When the character is larger than 127:
|
||||
<<81>> 129, Hex 0081, Octal 201 ~
|
||||
<p> 254, Hex 00fe, Octal 376 ~
|
||||
(where <p> is a special character)
|
||||
|
||||
The <Nul> character in a file is stored internally as
|
||||
@@ -185,6 +184,9 @@ g8 Print the hex values of the bytes used in the
|
||||
If the mark is "=", a line of dashes is printed
|
||||
around the current line.
|
||||
|
||||
If the 'number' option is set, absolute line numbers
|
||||
will be included in the output.
|
||||
|
||||
*:z!*
|
||||
:[range]z![+-^.=][count]
|
||||
Like ":z", but when [count] is not specified, it
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version9.txt* For Vim version 9.2. Last change: 2026 Apr 20
|
||||
*version9.txt* For Vim version 9.2. Last change: 2026 May 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -41880,6 +41880,9 @@ Highlighting: ~
|
||||
|hl-PmenuMatchSel| Popup menu: highlighting of matched text in selected
|
||||
line
|
||||
|hl-PmenuShadow| Popup menu: highlighting of the popup shadow
|
||||
|hl-Popup| Popup window: body, default link |hl-Pmenu|
|
||||
|hl-PopupBorder| Popup window: border characters, default link |hl-Pmenu|
|
||||
|hl-PopupTitle| Popup window: title, default link |hl-Pmenu|
|
||||
|hl-PreInsert| highlighting for completion preinserted text
|
||||
|hl-TabPanel| |tabpanel|: not active tab page label
|
||||
|hl-TabPanelFill| |tabpanel|: filler space
|
||||
@@ -52587,6 +52590,8 @@ Popups ~
|
||||
- Support for transparency, see |popup-opacity|.
|
||||
- 'previewpopup' supports the same values as 'completepopup' (except for
|
||||
"align").
|
||||
- Support "opacity" setting for 'completepopup' option.
|
||||
- Support for clipping textproperty popups |popup-clipwindow|.
|
||||
|
||||
Diff mode ~
|
||||
---------
|
||||
@@ -52616,10 +52621,24 @@ Other ~
|
||||
- Allow mouse clickable regions in the 'statusline', 'tabline' and the
|
||||
'tabpanel' using the |stl-%[FuncName]| atom.
|
||||
- Enable reflow support in the |:terminal|.
|
||||
- Enabled scrolling for the tabpanel when the tab page list exceeds the screen
|
||||
height. Also added the "scrollbar" sub-option to 'tabpanelopt'.
|
||||
- Added the "noinsert" value to the 'wildmode' option for symmetry with the
|
||||
'completeopt' option
|
||||
- Channel can handle |Blob| messages |channel-open-options|.
|
||||
- Added the "u" flag to 'shortmess' to silence undo/redo messages: |shm-u|
|
||||
- |:command-completion-customlist| can return a list of dictionaries with
|
||||
kind/menu/info/abbr for the popup menu.
|
||||
- |C-indenting| detects comments better.
|
||||
- The |package-hlyank| can now optionally highlight the last put region as
|
||||
well.
|
||||
- New argument handling for user commands |:command-nargs| using the "-nars=_"
|
||||
attribute to handle completion of single arguments with spaces as expected.
|
||||
|
||||
Platform specific ~
|
||||
-----------------
|
||||
- support OpenType font features in 'guifont' for DirectWrite (Win32)
|
||||
- Include strptime() fallback for MS-Windows
|
||||
|
||||
xxd ~
|
||||
---
|
||||
@@ -52639,6 +52658,9 @@ Changed ~
|
||||
- Removed the Wayland focus steal feature 'wlsteal', since it causes too many
|
||||
issues and can now be re-implemted using the |clipboard-providers| feature
|
||||
if needed, see |wayland-primary-selection| for an example.
|
||||
- On Unix, filename completion for single-file Ex commands now treats embedded
|
||||
whitespace as part of the filename, like on other platforms.
|
||||
|
||||
|
||||
*added-9.3*
|
||||
Added ~
|
||||
@@ -52648,20 +52670,25 @@ Various syntax, indent and other plugins were added.
|
||||
Functions: ~
|
||||
|
||||
|ch_listen()| listen on {address}
|
||||
|tabpanel_getinfo()| get current state of the |tabpanel|
|
||||
|tabpanel_scroll()| scroll the |tabpanel|
|
||||
|
||||
Autocommands: ~
|
||||
|
||||
|SessionLoadPre| before loading a |Session| file
|
||||
|TextPutPost| after putting text
|
||||
|TextPutPre| before putting text
|
||||
|
||||
Options: ~
|
||||
|
||||
'modelinestrict' Only allow safe options to be set from a modeline.
|
||||
'pumopt' Additional options for the popup menu
|
||||
'scrolloffpad' Keep 'scrolloff' context at end of file
|
||||
'pumopt' Additional options for the popup menu.
|
||||
'scrolloffpad' Vertically center cursor at end of file.
|
||||
'statuslineopt' Extra window-local options for the 'statusline', to
|
||||
configure the height.
|
||||
't_BS' Begin synchronized update.
|
||||
't_ES' End synchronized update.
|
||||
'tagsecure' Do not open remote files using tag commands
|
||||
'termresize' Method for handling terminal resize events.
|
||||
'termsync' Enable support for terminal DEC 2026 sync mode.
|
||||
'winhighlight' Window-local highlight group mappings.
|
||||
@@ -52669,6 +52696,9 @@ Options: ~
|
||||
Highlighting: ~
|
||||
|
||||
|hl-VertSplitNC| Column separator of non-current window.
|
||||
|hl-Popup| Popup window body.
|
||||
|hl-PopupBorder| Popup window border.
|
||||
|hl-PopupTitle| Popup window title.
|
||||
|
||||
==============================================================================
|
||||
PATCHES *patches-9.3* *bug-fixes-9.3*
|
||||
|
||||
@@ -36,8 +36,9 @@ Pu
|
||||
Particolarmente utile per editare programmi.
|
||||
.PP
|
||||
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli, finestre e buffer
|
||||
multipli, evidenziazione sintattica, possibilità di modificare la riga di comando,
|
||||
completamento nomi file, help in linea, selezione testi in Modo Visual, etc..
|
||||
multipli, evidenziazione sintattica, possibilità di modificare la riga di
|
||||
comando, completamento nomi file, help online, selezione testi in Modo
|
||||
Visual, etc.
|
||||
Vedere ":help vi_diff.txt" per un sommario delle differenze fra
|
||||
.B Vim
|
||||
e Vi.
|
||||
@@ -67,9 +68,10 @@ essere usata per scegliere uno o pi
|
||||
nome_file ..
|
||||
Una lista di nomi di file.
|
||||
Il primo di questi sarà il file corrente, e verrà letto nel buffer.
|
||||
Il cursore sarà posizionato sulla prima linea del buffer.
|
||||
Il cursore sarà posizionato sulla prima riga del buffer.
|
||||
Si può arrivare agli altri file col comando ":next".
|
||||
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla lista_file.
|
||||
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
|
||||
lista_file.
|
||||
.TP
|
||||
\-
|
||||
Il file da editare è letto dallo stdin.
|
||||
@@ -77,7 +79,7 @@ I comandi sono letti da stderr, che dovrebbe essere un terminale [tty].
|
||||
.TP
|
||||
\-t {tag}
|
||||
Il file da editare e la posizione iniziale del cursore dipendono da "tag",
|
||||
una specie di "etichetta" a cui saltare.
|
||||
una "etichetta" a cui saltare.
|
||||
{tag} viene cercata nel file "tags", e il file a essa associato diventa
|
||||
quello corrente, e il comando a essa associato viene eseguito.
|
||||
Di solito si usa per programmi C, nel qual caso {tag} potrebbe essere un
|
||||
@@ -87,7 +89,7 @@ e il cursore
|
||||
Vedere ":help tag\-commands".
|
||||
.TP
|
||||
\-q [file_errori]
|
||||
Inizia in Modo QuickFix [correzione veloce].
|
||||
Iniziare in Modo QuickFix [correzione veloce].
|
||||
Il file [file_errori] è letto e il primo errore è visualizzato.
|
||||
Se [file_errori] non è indicato, il suo nome è ottenuto dal valore
|
||||
dell'opzione 'errorfile' (che, se non specificata, vale "AztecC.Err"
|
||||
@@ -97,28 +99,28 @@ Vedere ":help quickfix".
|
||||
.PP
|
||||
.B Vim
|
||||
si comporta in modo diverso se invocato con nomi differenti (il programma
|
||||
eseguibile "soggiacente" può essere sempre lo stesso).
|
||||
eseguibile "sottostante" può essere sempre lo stesso).
|
||||
.TP 10
|
||||
vim
|
||||
Modo Normal, comportamento predefinito.
|
||||
Iniziare in Modo Normal, comportamento predefinito.
|
||||
.TP
|
||||
ex
|
||||
Inizia in Modo "Ex".
|
||||
Iniziare in Modo "Ex".
|
||||
Si può passare in Modo Normal col comando ":vi".
|
||||
Si può invocare il Modo "Ex" anche con l'argomento "\-e".
|
||||
.TP
|
||||
view
|
||||
Inizia in Modo Read-only (Sola Lettura). Non si possono modificare i file.
|
||||
Iniziare in Modo Read-only (sola-lettura). Non si possono modificare i file.
|
||||
Si può invocare il Modo Read-only anche con l'argomento "\-R".
|
||||
.TP
|
||||
gvim gview
|
||||
La versione GUI [Graphical User Interface].
|
||||
Apre una nuova finestra.
|
||||
Usare la versione GUI [Graphical User Interface].
|
||||
Viene aperta una nuova finestra.
|
||||
Si può invocare il Modo GUI anche con l'argomento "\-g".
|
||||
.TP
|
||||
evim eview
|
||||
La versione GUI in Modo Easy (semplificata).
|
||||
Apre una nuova finestra.
|
||||
Usare la versione GUI in Modo Easy (semplificato).
|
||||
Viene aperta una nuova finestra.
|
||||
Si può invocare il Modo Easy anche con l'argomento "\-y".
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
@@ -128,21 +130,21 @@ della shell o sospendere
|
||||
Si può chiedere la stessa cosa anche con l'argomento "\-Z".
|
||||
.SH OPZIONI
|
||||
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di file.
|
||||
Opzioni che non hanno un argomento si possono specificare dietro a un solo "\-".
|
||||
Opzioni che non hanno un argomento si possono specificare insieme dietro a un
|
||||
solo "\-".
|
||||
.TP 12
|
||||
+[numero]
|
||||
Nel primo file il cursore sarà posizionato sulla linea "numero".
|
||||
Se "numero" manca, il cursore sarà posizionato sull'ultima linea del file.
|
||||
Nel primo file, posizionare il cursore sulla riga numero "numero".
|
||||
Se "numero" manca, il cursore sarà posizionato sull'ultima riga del file.
|
||||
.TP
|
||||
+/{espressione}
|
||||
Nel primo file il cursore sarà posizionato alla
|
||||
prima occorrenza di {espressione}.
|
||||
Nel primo file posizionare il cursore alla prima occorrenza di {espressione}.
|
||||
Vedere ":help search\-pattern" per come specificare l'espressione.
|
||||
.TP
|
||||
+{comando}
|
||||
.TP
|
||||
\-c {comando}
|
||||
{comando} sarà eseguito dopo che il primo file è stato letto.
|
||||
Eseguire {comando} dopo che il primo file è stato letto.
|
||||
{comando} è interpretato come un comando Ex.
|
||||
Se il {comando} contiene spazi deve essere incluso fra doppi apici
|
||||
(o altro delimitatore, a seconda della shell che si sta usando).
|
||||
@@ -154,7 +156,7 @@ Note: Si possono avere fino a 10 comandi "+" o "\-c".
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto ARABIC per editare file con orientamento
|
||||
destra-sinistra e tastiera con mappatura araba, quest'opzione inizia
|
||||
destra-sinistra e tastiera con mappatura araba, quest'opzione fa iniziare
|
||||
.B Vim
|
||||
in Modo Arabic, cioè impostando 'arabic'.
|
||||
Altrimenti viene dato un messaggio di errore e
|
||||
@@ -162,32 +164,32 @@ Altrimenti viene dato un messaggio di errore e
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
\-b
|
||||
Modo Binary (binario).
|
||||
Vengono impostate alcune opzioni che permettono di modificare un file
|
||||
binario o un file che contiene un programma eseguibile.
|
||||
Eseguire Vim in Modo Binary (binario).
|
||||
Vengono impostate alcune opzioni che permettono di modificare un file binario
|
||||
o un file che contiene un programma eseguibile.
|
||||
.TP
|
||||
\-C
|
||||
Compatibile. Imposta l'opzione 'compatible'.
|
||||
Compatibile. Impostare l'opzione 'compatible'.
|
||||
In questo modo
|
||||
.B Vim
|
||||
ha quasi lo stesso comportamento di Vi, anche in presenza di un file .vimrc.
|
||||
.TP
|
||||
\-d
|
||||
Inizia in Modo Diff [differenze].
|
||||
Dovrebbero esserci come argomenti da due o otto nomi di file.
|
||||
Iniziare in Modo Diff [differenze].
|
||||
Dovrebbero esserci come argomenti da due fino a otto nomi di file.
|
||||
.B Vim
|
||||
aprirà tutti i file evidenziando le differenze fra gli stessi.
|
||||
Funziona come vimdiff(1).
|
||||
.TP
|
||||
\-d {dispositivo}, \-dev {dispositivo}
|
||||
Apre {dispositivo} per usarlo come terminale.
|
||||
Aprire {dispositivo} per usarlo come terminale.
|
||||
Solo per l'Amiga.
|
||||
Esempio:
|
||||
"\-d con:20/30/600/150".
|
||||
.TP
|
||||
\-D
|
||||
Debugging. Vim si mette in Modo "debugging" a partire
|
||||
dall'esecuzione del primo comando da uno script.
|
||||
Debugging. Entrare in Modo "debugging" a partire dall'esecuzione del primo
|
||||
comando di uno script.
|
||||
.TP
|
||||
\-e
|
||||
Eseguire
|
||||
@@ -202,15 +204,15 @@ in Modo Ex migliorato, come se il programma eseguito sia "exim".
|
||||
\-f
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dalla shell di invocazione.
|
||||
Per l'Amiga,
|
||||
non creare [fork] una nuova finestra, indipendente dalla shell di invocazione.
|
||||
Per l'Amiga, non fa ripartire
|
||||
.B Vim
|
||||
non è fatto ripartire per aprire una nuova finestra.
|
||||
per aprire una nuova finestra.
|
||||
Opzione da usare quando
|
||||
.B Vim
|
||||
è eseguito da un programma che attende la fine della
|
||||
sessione di edit (p.es., mail).
|
||||
Sull'Amiga i comandi ":sh" e ":!" non sono disponibili.
|
||||
è eseguito da un programma che attende la fine della sessione di edit (p.es.,
|
||||
mail).
|
||||
In ambiente Amiga, i comandi ":sh" e ":!" non sono disponibili.
|
||||
.TP
|
||||
\-F
|
||||
Se
|
||||
@@ -229,7 +231,8 @@ Nota: Il supporto Farsi
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto GUI, quest'opzione chiede di usarla.
|
||||
Se Vim è stato compilato senza supporto GUI viene dato un messaggio di errore e
|
||||
Se Vim è stato compilato senza supporto GUI viene dato un messaggio di
|
||||
errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
@@ -246,145 +249,148 @@ termina in modo anormale.
|
||||
.TP
|
||||
\-i {viminfo}
|
||||
Se è abilitato l'uso di un file viminfo, quest'opzione indica il nome
|
||||
del file da usare invece di quello predefinito "~/.viminfo".
|
||||
del file da usare invece del file predefinito "~/.viminfo".
|
||||
Si può anche evitare l'uso di un file .viminfo, dando come nome
|
||||
"NONE".
|
||||
.TP
|
||||
\-l
|
||||
Modo Lisp.
|
||||
Imposta le opzioni 'lisp' e 'showmatch'.
|
||||
Eseguire Vim in Modo Lisp.
|
||||
Vengono impostate le opzioni 'lisp' e 'showmatch'.
|
||||
.TP
|
||||
\-L
|
||||
Equivalente a \-r.
|
||||
.TP
|
||||
\-m
|
||||
Inibisce modifica file.
|
||||
Inibisce l'opzione 'write'.
|
||||
Inibire modifica file.
|
||||
Viene inibita l'opzione 'write'.
|
||||
È ancora possibile modificare un buffer, ma non riscriverlo.
|
||||
.TP
|
||||
\-M
|
||||
Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
|
||||
in modo da impedire sia modifiche che riscritture. Da notare che queste
|
||||
opzioni possono essere abilitate in seguito, permettendo così modifiche.
|
||||
in modo da impedire sia modifiche che riscritture. Si noti che queste opzioni
|
||||
possono essere cambiate in seguito, per consentire modifiche.
|
||||
.TP
|
||||
\-n
|
||||
Inibisce l'uso di un file di swap.
|
||||
Il recupero dopo una caduta di macchina sarà impossibile.
|
||||
Inibire l'uso di un file di swap.
|
||||
Ripristinare il file in caso di fine anormale sarà impossibile.
|
||||
Utile per editare un file su un supporto molto lento (p.es., floppy).
|
||||
Il comando ":set uc=0" ha lo stesso effetto.
|
||||
Per abilitare il recupero usare ":set uc=200".
|
||||
Per abilitare il ripristino usare ":set uc=200".
|
||||
.TP
|
||||
\-N
|
||||
Modo "Non-compatibile". Annulla l'opzione 'compatible'.
|
||||
Eseguire Vim in Modo "Non-compatibile". Annulla l'opzione 'compatible'.
|
||||
Così
|
||||
.B Vim
|
||||
si comporta un po' meglio, ma è meno compatibile con Vi, anche in assenza di un
|
||||
file .vimrc.
|
||||
si comporta un po' meglio, ma è meno compatibile con Vi, anche in assenza di
|
||||
un file .vimrc.
|
||||
.TP
|
||||
\-nb
|
||||
Diviene un Editor server per NetBeans. Vedere la documentazione per dettagli.
|
||||
Fare di Vim un Editor server per NetBeans. Vedere la documentazione per
|
||||
dettagli.
|
||||
.TP
|
||||
\-o[N]
|
||||
Apre N finestre in orizzontale.
|
||||
Se N manca, apre una finestra per ciascun file.
|
||||
Aprire N finestre in orizzontale.
|
||||
Se N manca, aprire una finestra per ciascun file.
|
||||
.TP
|
||||
\-O[N]
|
||||
Apre N finestre, in verticale.
|
||||
Se N manca, apre una finestra per ciascun file.
|
||||
Aprire N finestre, in verticale.
|
||||
Se N manca, aprire una finestra per ciascun file.
|
||||
.TP
|
||||
\-p[N]
|
||||
Apre N pagine di linguette.
|
||||
Quando N è omesso, apre una pagine di linguette per ciascun file.
|
||||
Aprire N pagine di schede.
|
||||
Quando N è omesso, aprire una pagine di schede per ciascun file.
|
||||
.TP
|
||||
\-P {titolo-padre}
|
||||
Solo per GUI Win32: Specifica il titolo dell'applicazione-padre. Se possibile,
|
||||
Vim viene eseguito in una finestra MDI (Multiple-Document Interface).
|
||||
{titolo-padre} deve apparire nel titolo della applicazione-padre. Accertatevi
|
||||
Solo per GUI Win32: Specificare il titolo dell'applicazione-padre. Se
|
||||
possibile, Vim viene eseguito in una finestra MDI
|
||||
(Multiple-Document Interface).
|
||||
{titolo-padre} deve apparire nel titolo dell'applicazione-padre. Accertarsi
|
||||
che sia sufficientemente esplicativo. Notare che l'implementazione è ancora
|
||||
rudimentale. Non funziona per tutte le applicazioni, e il menù non funziona.
|
||||
.TP
|
||||
\-r
|
||||
Lista file di swap, e informazioni su come usarli per ripristinare file.
|
||||
Listare file di swap, con informazioni su come usarli per ripristinare file.
|
||||
.TP
|
||||
\-r {file}
|
||||
Modo Recovery (ripristino).
|
||||
Eseguire Vim in Modo Recovery (ripristino).
|
||||
Il file di swap è usato per recuperare una sessione di edit finita male.
|
||||
Il file di swap è un file con lo stesso nome file del file di testo
|
||||
editato, col suffisso ".swp".
|
||||
Il file di swap è un file con lo stesso nome file del file di testo editato,
|
||||
col prefisso "." e col suffisso ".swp".
|
||||
Vedere ":help recovery".
|
||||
.TP
|
||||
\-R
|
||||
Modo Read-only (Sola Lettura).
|
||||
Imposta l'opzione 'readonly'.
|
||||
Si può ancora modificare il buffer, ma il file è protetto da una riscrittura
|
||||
involontaria.
|
||||
Se si vuole davvero riscrivere il file, occorre aggiungere un punto esclamativo
|
||||
al comando Ex, come in ":w!".
|
||||
Eseguire Vim in Modo Read-only (Sola Lettura).
|
||||
Viene impostata l'opzione 'readonly'.
|
||||
È ancora possibile modificare il buffer, ma il file è protetto da una
|
||||
riscrittura involontaria.
|
||||
Se si vuole davvero riscrivere il file, occorre aggiungere un punto
|
||||
esclamativo al comando Ex, come in ":w!".
|
||||
L'opzione \-R implica anche l'opzione \-n (vedere sopra).
|
||||
L'opzione 'readonly' può essere annullata con ":set noro".
|
||||
Vedere ":help 'readonly'".
|
||||
.TP
|
||||
\-s
|
||||
Modo silenzioso. Solo quando invocato come "Ex" o quando l'opzione
|
||||
"\-e" è stata data prima dell'opzione "\-s".
|
||||
Eseguire Vim in Modo silenzioso. Solo quando invocato come "Ex" o quando
|
||||
l'opzione "\-e" è stata specificata prima dell'opzione "\-s".
|
||||
.TP
|
||||
\-s {script_in_input}
|
||||
Lo script file {script_in_input} è letto.
|
||||
Eseguire lo script file {script_in_input}.
|
||||
I caratteri nel file sono interpretati come se immessi da terminale.
|
||||
Lo stesso risultato si può ottenere col comando ":source! {script_in_input}".
|
||||
Se la fine del file di input viene raggiunta prima che Vim termini,
|
||||
l'ulteriore input verrà preso dalla tastiera.
|
||||
.TP
|
||||
\-S {file}
|
||||
I comandi contenuti in {file} sono eseguiti dopo la lettura del primo file.
|
||||
Eseguire i comandi contenuti in {file} dopo la lettura del primo file.
|
||||
Equivalente a \-c "source {file}".
|
||||
{file} non può avere un nome che inizia per '\-'.
|
||||
Se {file} è omesso si usa "Session.vim" (funziona solo se \-S è l'ultimo
|
||||
argomento specificato).
|
||||
.TP
|
||||
\-T {terminale}
|
||||
Dice a
|
||||
Specificare a
|
||||
.B Vim
|
||||
quale tipo di terminale state usando.
|
||||
il tipo di terminale che si sta usando.
|
||||
Utile solo se il terminale non viene riconosciuto correttamente da Vim.
|
||||
Dovrebbe essere un terminale noto a
|
||||
.B Vim
|
||||
(predefinito) o definito nei file termcap o terminfo.
|
||||
.TP
|
||||
\-u {vimrc}
|
||||
Usa i comandi nel file {vimrc} per inizializzazioni.
|
||||
Usare i comandi nel file {vimrc} per inizializzazioni.
|
||||
Tutte le altre inizializzazioni non sono eseguite.
|
||||
Usare quest'opzione per editare qualche file di tipo speciale.
|
||||
Si possono anche omettere tutte le inizializzazioni dando come nome "NONE".
|
||||
Vedere ":help initialization" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
\-U {gvimrc}
|
||||
Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
|
||||
Usare i comandi nel file {gvimrc} per inizializzare la GUI.
|
||||
Tutte le altre inizializzazioni GUI non sono eseguite.
|
||||
Si possono anche omettere tutte le inizializzazioni GUI dando come nome "NONE".
|
||||
Si possono anche omettere tutte le inizializzazioni GUI dando come nome
|
||||
"NONE".
|
||||
Vedere ":help gui\-init" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
\-v
|
||||
Inizia
|
||||
Iniziare
|
||||
.B Vim
|
||||
in Modo Vi, come se il programma eseguibile fosse "vi". Questo ha
|
||||
effetto solo quando Vim viene invocato con il nome "ex".
|
||||
.TP
|
||||
\-V[N]
|
||||
Verboso. Vim manda messaggi relativi ai file di script che esegue
|
||||
e quando legge o scrive un file viminfo. Il numero opzionale N è il valore
|
||||
dell'opzione 'verbose'. Il valore predefinito è 10.
|
||||
Verboso. Fare inviare a Vim messaggi relativi ai file di script eseguiti
|
||||
e alla lettura/scrittura di un file viminfo. Il numero opzionale N è il
|
||||
valore dell'opzione 'verbose'. Il valore predefinito è 10.
|
||||
.TP
|
||||
\-V[N]{nome_file}
|
||||
Come \-V imposta 'verbosefile' a {nome_file}. Il risultato è che i messaggi
|
||||
non sono visualizzati, ma scritti sul file {nome_file}. Il {nome_file} non
|
||||
deve iniziare con un numero.
|
||||
Come \-V, e si imposta 'verbosefile' a {nome_file}. Il risultato è che i
|
||||
messaggi non sono visualizzati, ma scritti sul file {nome_file}. Il
|
||||
{nome_file} non deve iniziare con un numero.
|
||||
.TP
|
||||
\-w{numero}
|
||||
Imposta l'opzione 'window' a {numero}.
|
||||
Impostare l'opzione 'window' a {numero}.
|
||||
.TP
|
||||
\-w {script_file}
|
||||
Ogni carattere immesso viene registrato nel file {script_file},
|
||||
Registrare ogni carattere immesso nel file {script_file},
|
||||
finché non si esce da
|
||||
.B Vim.
|
||||
Utile se si vuole creare uno script file da usare con "vim \-s" o
|
||||
@@ -402,7 +408,7 @@ nella scrittura dei file. Verr
|
||||
.TP
|
||||
\-X
|
||||
Non connettersi al server X. Vim parte più rapidamente,
|
||||
ma il titolo della finestra e la clipboard non sono usati.
|
||||
ma il titolo della finestra e gli appunti non sono disponibili.
|
||||
.TP
|
||||
\-Y
|
||||
Non connettersi al compositore Wayland.
|
||||
@@ -410,17 +416,19 @@ Non connettersi al compositore Wayland.
|
||||
\-y
|
||||
Eseguire
|
||||
.B Vim
|
||||
in Modo Easy (semplificato), come se l'eseguibile invocato sia "evim" o "eview".
|
||||
in Modo Easy (semplificato), come se l'eseguibile invocato sia "evim" o
|
||||
"eview".
|
||||
Fa sì che
|
||||
.B Vim
|
||||
si comporti come un editor che usa solo il mouse e i caratteri.
|
||||
.TP
|
||||
\-Z
|
||||
Modo ristretto. Vim si comporta come se invocato con un nome che inizia per "r".
|
||||
Eseguire Vim in Modo ristretto. Vim si comporta come se invocato con un nome
|
||||
che inizia per "r".
|
||||
.TP
|
||||
\-\-
|
||||
Specifica la fine delle opzioni.
|
||||
Argomenti specificati dopo questo sono considerati nomi file.
|
||||
In questo modo si specifica la fine delle opzioni.
|
||||
Argomenti aggiunti dopo questo sono considerati nomi file.
|
||||
Si può usare per editare un file il cui nome inizi per '-'.
|
||||
.TP
|
||||
\-\-clean
|
||||
@@ -428,40 +436,43 @@ Richiede di non usare alcun file di personalizzazione (vimrc, plugin, etc.).
|
||||
Utile per verificare se un problema persiste invocando Vim "originale".
|
||||
.TP
|
||||
\-\-cmd {comando}
|
||||
Come "\-c", ma il comando è eseguito subito PRIMA
|
||||
di eseguire qualsiasi file vimrc.
|
||||
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi "\-c".
|
||||
Come "\-c", ma eseguire il comando subito PRIMA di eseguire qualsiasi file
|
||||
vimrc.
|
||||
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
|
||||
"\-c".
|
||||
.TP
|
||||
\-\-echo\-wid
|
||||
Solo per GUI GTK: Visualizza ID di Window su stdout.
|
||||
Solo per GUI GTK: Visualizzare ID di Window su stdout.
|
||||
.TP
|
||||
\-\-gui-dialog-file {nome}
|
||||
Quando si usa la GUI, invece di visualizzare un dialogo, il titolo e il
|
||||
messaggio del dialogo sono scritti sul file {nome}. Il file viene creato o,
|
||||
se già esistente, viene esteso. Quest'opzione serve solo in fase di test,
|
||||
per evitare di restare bloccati da un dialogo che non si riesce a visualizzare.
|
||||
per evitare di restare bloccati da un dialogo che non si riesce a
|
||||
visualizzare.
|
||||
Se si sta lavorando senza la GUI l'argomento viene ignorato.
|
||||
.TP
|
||||
\-\-help, \-h, \-?
|
||||
Un po' di aiuto su opzioni e argomenti che si possono dare invocando Vim.
|
||||
Visualizzare opzioni e argomenti che si possono specificare invocando Vim.
|
||||
Subito dopo
|
||||
.B Vim
|
||||
esce.
|
||||
.TP
|
||||
\-\-literal
|
||||
Considera i nomi passati come argomenti letterali, senza espandere metacaratteri.
|
||||
Considerare i nomi passati come argomenti letterali, senza espandere
|
||||
metacaratteri.
|
||||
Non ha effetto in Unix, dove la shell espande comunque i metacaratteri.
|
||||
.TP
|
||||
\-\-log {nome_file}
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con le funzionalità eval e channel, inizia a registrare
|
||||
e scrive le registrazioni a {nome_file}. Ciò equivale a chiamare
|
||||
è stato compilato con le funzionalità eval e channel, iniziare a registrare
|
||||
e scrivere le registrazioni a {nome_file}. Ciò equivale a chiamare
|
||||
.I ch_logfile({nome_file}, 'ao')
|
||||
in una fase molto iniziale dell'avvio del programma.
|
||||
.TP
|
||||
\-\-nofork
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
Eseguire Vim irettamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dalla shell di invocazione.
|
||||
.TP
|
||||
@@ -471,17 +482,19 @@ Non caricare plugin. Implicito se si specifica \-u NONE.
|
||||
\-\-not\-a\-term
|
||||
Da usare per specificare a
|
||||
.B Vim
|
||||
che l'utente è consapevole che l'input e l'output non avvengono con un terminale
|
||||
vero e proprio. Ciò serve per evitare il messaggio di avvertimento e il ritardo
|
||||
di due secondi che avverrebbero in assenza di questo argomento.
|
||||
che l'utente è consapevole che l'input e l'output non avvengono con un
|
||||
terminale vero e proprio. Ciò serve per evitare il messaggio di avvertimento
|
||||
e il ritardo di due secondi, ossia il comportamento previsto in assenza di
|
||||
questo argomento.
|
||||
.TP
|
||||
\-\-remote
|
||||
Connettersi a un server Vim e chiedere di editare i file elencati come altri
|
||||
argomenti. Se non si trova un server viene dato un messaggio e i file sono
|
||||
editati nel Vim corrente.
|
||||
Connettersi a un server Vim a cui chiedere di editare i file elencati come
|
||||
altri argomenti. Se non si trova un server viene dato un messaggio e i file
|
||||
sono editati nel Vim corrente.
|
||||
.TP
|
||||
\-\-remote\-expr {expr}
|
||||
Connettersi a un server Vim, valutare {expr} e stampare il risultato su stdout.
|
||||
\-\-remote\-expr {espressione}
|
||||
Connettersi a un server Vim, valutare {espressione} e stampare il risultato su
|
||||
stdout.
|
||||
.TP
|
||||
\-\-remote\-send {chiavi}
|
||||
Connettersi a un server Vim e spedirgli {chiavi}.
|
||||
@@ -490,16 +503,16 @@ Connettersi a un server Vim e spedirgli {chiavi}.
|
||||
Come \-\-remote, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
\-\-remote-wait
|
||||
Come \-\-remote, ma Vim non termina finché i file non sono stati editati.
|
||||
Come \-\-remote, ma non terminare Vim finché i file non sono stati editati.
|
||||
.TP
|
||||
\-\-remote\-wait\-silent
|
||||
Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
\-\-serverlist
|
||||
Elenca i nomi di tutti i server Vim disponibili.
|
||||
Elencare i nomi di tutti i server Vim disponibili.
|
||||
.TP
|
||||
\-\-servername {nome}
|
||||
Usa {nome} come nome del server usato per il Vim corrente, a meno che sia
|
||||
Usare {nome} come nome del server usato per il Vim corrente, a meno che sia
|
||||
usato con l'argomento \-\-remote, nel qual caso indica il server a cui
|
||||
connettersi.
|
||||
Quando si sta usando il server a socket [socketserver backend], se il nome
|
||||
@@ -512,19 +525,20 @@ rispettivamente, o "socket" o "x11". Disponibile solo se Vim
|
||||
compilato con le due funzionalità socketserver e X11.
|
||||
.TP
|
||||
\-\-socketid {id}
|
||||
Solo per GUI GTK: Usa meccanismo GtkPlug per eseguire gVim in un'altra finestra.
|
||||
Solo per GUI GTK: Usare meccanismo GtkPlug per eseguire gVim in un'altra
|
||||
finestra.
|
||||
.TP
|
||||
\-\-startuptime {nome_file}
|
||||
Durante la fase iniziale, scrive messaggi di log al file {nome_file}.
|
||||
Durante la fase iniziale, scrivere messaggi di log al file {nome_file}.
|
||||
.TP
|
||||
\-\-ttyfail
|
||||
Quando stdin o stdout non sono un terminale (tty) esce subito da Vim.
|
||||
Quando stdin o stdout non sono un terminale (tty) uscire subito da Vim.
|
||||
.TP
|
||||
\-\-version
|
||||
Stampa la versione di Vim ed esce.
|
||||
Stampare la versione di Vim e uscire.
|
||||
.TP
|
||||
\-\-windowid {id}
|
||||
Solo per GUI Win32: Chiede a gVim di provare a user l'ID di window {id}
|
||||
Solo per GUI Win32: Chiedere a gVim di provare a user l'ID di window {id}
|
||||
come padre, in modo da venir eseguito all'interno della finestra specificata.
|
||||
.SH AIUTO ONLINE
|
||||
Battere ":help" in
|
||||
@@ -532,10 +546,11 @@ Battere ":help" in
|
||||
per iniziare.
|
||||
Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
|
||||
Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
|
||||
Usare <Tab> e CTRL\-D per completare gli argomenti (":help cmdline\-completion").
|
||||
Usare <Tab> e CTRL\-D per completare gli argomenti
|
||||
(":help cmdline\-completion").
|
||||
Ci sono "tag" nei file di help per passare da un argomento a un altro
|
||||
(simili a legami ipertestuali, vedere ":help").
|
||||
Tutti i file di documentazione possono essere navigati così. Ad es.:
|
||||
Tutti i file di documentazione possono essere navigati così. P.es.:
|
||||
":help syntax.txt".
|
||||
.SH FILE
|
||||
.TP 15
|
||||
@@ -546,11 +561,11 @@ I file di documentazione di
|
||||
Usare ":help doc\-file\-list" per avere la lista completa.
|
||||
.br
|
||||
.I vim??
|
||||
è il numero di versione corto, p.es., vim91 per indicare
|
||||
.B Vim 9.1
|
||||
è il numero di versione corto, p.es., vim92 per indicare
|
||||
.B Vim 9.2
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/doc/tags
|
||||
Il file di tags usato per trovare informazioni nei file di documentazione.
|
||||
Il file di tag usato per trovare informazioni nei file di documentazione.
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/syntax/syntax.vim
|
||||
Inizializzazioni sintattiche a livello di sistema.
|
||||
@@ -586,18 +601,21 @@ Inizializzazioni del men
|
||||
a livello di sistema.
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/bugreport.vim
|
||||
Script Vim per generare una segnalazione di errore. Vedere ":help bugs".
|
||||
Script Vim per generare una segnalazione di errore.
|
||||
Vedere ":help bugs".
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/filetype.vim
|
||||
Script Vim per determinare il tipo di un file dal suo nome. Vedere ":help 'filetype'".
|
||||
Script Vim per determinare il tipo di un file dal suo nome.
|
||||
Vedere ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/scripts.vim
|
||||
Script Vim per determinare il tipo di un file dal suo contenuto. Vedere ":help 'filetype'".
|
||||
Script Vim per determinare il tipo di un file dal suo contenuto.
|
||||
Vedere ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/print/*.ps
|
||||
File usati per stampa PostScript.
|
||||
.PP
|
||||
Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim:
|
||||
Per informazioni aggiornate [in inglese] vedere la home page di Vim:
|
||||
.br
|
||||
<URL:http://www.vim.org/>
|
||||
.SH VEDERE ANCHE
|
||||
@@ -614,12 +632,12 @@ Vedere ":help credits" in
|
||||
Tony Andrews e G.R. (Fred) Walter.
|
||||
In verità, poco o nulla è rimasto del loro codice originale.
|
||||
.SH BUG
|
||||
Probabilmente.
|
||||
È probabile che ce ne siano.
|
||||
Vedere ":help todo" per una lista di problemi noti.
|
||||
.PP
|
||||
Si noti che un certo numero di comportamenti che possono essere considerati errori
|
||||
da qualcuno, sono in effetti causati da una riproduzione fin troppo fedele del
|
||||
comportamento di Vi. Se si ritiene che altre cose siano errori "perché Vi si comporta
|
||||
diversamente", si dia prima un'occhiata al file vi_diff.txt (o si immetta
|
||||
:help vi_diff.txt da Vim).
|
||||
Un'occhiata va data anche alle opzioni 'compatible' e 'cpoptions.
|
||||
Si noti che un certo numero di comportamenti che possono essere visti come
|
||||
errori, sono in effetti causati da una riproduzione fin troppo fedele del
|
||||
comportamento di Vi. Se si ritiene che altre cose siano errori "perché Vi si
|
||||
comporta diversamente", si dia prima un'occhiata al file vi_diff.txt
|
||||
(o si immetta :help vi_diff.txt da Vim).
|
||||
Un'occhiata va data anche alle opzioni 'compatible' e 'cpoptions'.
|
||||
|
||||
@@ -36,8 +36,9 @@ Può essere usato per editare qualsiasi file di testo.
|
||||
Particolarmente utile per editare programmi.
|
||||
.PP
|
||||
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli, finestre e buffer
|
||||
multipli, evidenziazione sintattica, possibilità di modificare la riga di comando,
|
||||
completamento nomi file, help in linea, selezione testi in Modo Visual, etc..
|
||||
multipli, evidenziazione sintattica, possibilità di modificare la riga di
|
||||
comando, completamento nomi file, help online, selezione testi in Modo
|
||||
Visual, etc.
|
||||
Vedere ":help vi_diff.txt" per un sommario delle differenze fra
|
||||
.B Vim
|
||||
e Vi.
|
||||
@@ -67,9 +68,10 @@ essere usata per scegliere uno o più file da modificare.
|
||||
nome_file ..
|
||||
Una lista di nomi di file.
|
||||
Il primo di questi sarà il file corrente, e verrà letto nel buffer.
|
||||
Il cursore sarà posizionato sulla prima linea del buffer.
|
||||
Il cursore sarà posizionato sulla prima riga del buffer.
|
||||
Si può arrivare agli altri file col comando ":next".
|
||||
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla lista_file.
|
||||
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
|
||||
lista_file.
|
||||
.TP
|
||||
\-
|
||||
Il file da editare è letto dallo stdin.
|
||||
@@ -77,7 +79,7 @@ I comandi sono letti da stderr, che dovrebbe essere un terminale [tty].
|
||||
.TP
|
||||
\-t {tag}
|
||||
Il file da editare e la posizione iniziale del cursore dipendono da "tag",
|
||||
una specie di "etichetta" a cui saltare.
|
||||
una "etichetta" a cui saltare.
|
||||
{tag} viene cercata nel file "tags", e il file a essa associato diventa
|
||||
quello corrente, e il comando a essa associato viene eseguito.
|
||||
Di solito si usa per programmi C, nel qual caso {tag} potrebbe essere un
|
||||
@@ -87,7 +89,7 @@ e il cursore è posizionato all'inizio della funzione.
|
||||
Vedere ":help tag\-commands".
|
||||
.TP
|
||||
\-q [file_errori]
|
||||
Inizia in Modo QuickFix [correzione veloce].
|
||||
Iniziare in Modo QuickFix [correzione veloce].
|
||||
Il file [file_errori] è letto e il primo errore è visualizzato.
|
||||
Se [file_errori] non è indicato, il suo nome è ottenuto dal valore
|
||||
dell'opzione 'errorfile' (che, se non specificata, vale "AztecC.Err"
|
||||
@@ -97,28 +99,28 @@ Vedere ":help quickfix".
|
||||
.PP
|
||||
.B Vim
|
||||
si comporta in modo diverso se invocato con nomi differenti (il programma
|
||||
eseguibile "soggiacente" può essere sempre lo stesso).
|
||||
eseguibile "sottostante" può essere sempre lo stesso).
|
||||
.TP 10
|
||||
vim
|
||||
Modo Normal, comportamento predefinito.
|
||||
Iniziare in Modo Normal, comportamento predefinito.
|
||||
.TP
|
||||
ex
|
||||
Inizia in Modo "Ex".
|
||||
Iniziare in Modo "Ex".
|
||||
Si può passare in Modo Normal col comando ":vi".
|
||||
Si può invocare il Modo "Ex" anche con l'argomento "\-e".
|
||||
.TP
|
||||
view
|
||||
Inizia in Modo Read-only (Sola Lettura). Non si possono modificare i file.
|
||||
Iniziare in Modo Read-only (sola-lettura). Non si possono modificare i file.
|
||||
Si può invocare il Modo Read-only anche con l'argomento "\-R".
|
||||
.TP
|
||||
gvim gview
|
||||
La versione GUI [Graphical User Interface].
|
||||
Apre una nuova finestra.
|
||||
Usare la versione GUI [Graphical User Interface].
|
||||
Viene aperta una nuova finestra.
|
||||
Si può invocare il Modo GUI anche con l'argomento "\-g".
|
||||
.TP
|
||||
evim eview
|
||||
La versione GUI in Modo Easy (semplificata).
|
||||
Apre una nuova finestra.
|
||||
Usare la versione GUI in Modo Easy (semplificato).
|
||||
Viene aperta una nuova finestra.
|
||||
Si può invocare il Modo Easy anche con l'argomento "\-y".
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
@@ -128,21 +130,21 @@ della shell o sospendere
|
||||
Si può chiedere la stessa cosa anche con l'argomento "\-Z".
|
||||
.SH OPZIONI
|
||||
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di file.
|
||||
Opzioni che non hanno un argomento si possono specificare dietro a un solo "\-".
|
||||
Opzioni che non hanno un argomento si possono specificare insieme dietro a un
|
||||
solo "\-".
|
||||
.TP 12
|
||||
+[numero]
|
||||
Nel primo file il cursore sarà posizionato sulla linea "numero".
|
||||
Se "numero" manca, il cursore sarà posizionato sull'ultima linea del file.
|
||||
Nel primo file, posizionare il cursore sulla riga numero "numero".
|
||||
Se "numero" manca, il cursore sarà posizionato sull'ultima riga del file.
|
||||
.TP
|
||||
+/{espressione}
|
||||
Nel primo file il cursore sarà posizionato alla
|
||||
prima occorrenza di {espressione}.
|
||||
Nel primo file posizionare il cursore alla prima occorrenza di {espressione}.
|
||||
Vedere ":help search\-pattern" per come specificare l'espressione.
|
||||
.TP
|
||||
+{comando}
|
||||
.TP
|
||||
\-c {comando}
|
||||
{comando} sarà eseguito dopo che il primo file è stato letto.
|
||||
Eseguire {comando} dopo che il primo file è stato letto.
|
||||
{comando} è interpretato come un comando Ex.
|
||||
Se il {comando} contiene spazi deve essere incluso fra doppi apici
|
||||
(o altro delimitatore, a seconda della shell che si sta usando).
|
||||
@@ -154,7 +156,7 @@ Note: Si possono avere fino a 10 comandi "+" o "\-c".
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto ARABIC per editare file con orientamento
|
||||
destra-sinistra e tastiera con mappatura araba, quest'opzione inizia
|
||||
destra-sinistra e tastiera con mappatura araba, quest'opzione fa iniziare
|
||||
.B Vim
|
||||
in Modo Arabic, cioè impostando 'arabic'.
|
||||
Altrimenti viene dato un messaggio di errore e
|
||||
@@ -162,32 +164,32 @@ Altrimenti viene dato un messaggio di errore e
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
\-b
|
||||
Modo Binary (binario).
|
||||
Vengono impostate alcune opzioni che permettono di modificare un file
|
||||
binario o un file che contiene un programma eseguibile.
|
||||
Eseguire Vim in Modo Binary (binario).
|
||||
Vengono impostate alcune opzioni che permettono di modificare un file binario
|
||||
o un file che contiene un programma eseguibile.
|
||||
.TP
|
||||
\-C
|
||||
Compatibile. Imposta l'opzione 'compatible'.
|
||||
Compatibile. Impostare l'opzione 'compatible'.
|
||||
In questo modo
|
||||
.B Vim
|
||||
ha quasi lo stesso comportamento di Vi, anche in presenza di un file .vimrc.
|
||||
.TP
|
||||
\-d
|
||||
Inizia in Modo Diff [differenze].
|
||||
Dovrebbero esserci come argomenti da due o otto nomi di file.
|
||||
Iniziare in Modo Diff [differenze].
|
||||
Dovrebbero esserci come argomenti da due fino a otto nomi di file.
|
||||
.B Vim
|
||||
aprirà tutti i file evidenziando le differenze fra gli stessi.
|
||||
Funziona come vimdiff(1).
|
||||
.TP
|
||||
\-d {dispositivo}, \-dev {dispositivo}
|
||||
Apre {dispositivo} per usarlo come terminale.
|
||||
Aprire {dispositivo} per usarlo come terminale.
|
||||
Solo per l'Amiga.
|
||||
Esempio:
|
||||
"\-d con:20/30/600/150".
|
||||
.TP
|
||||
\-D
|
||||
Debugging. Vim si mette in Modo "debugging" a partire
|
||||
dall'esecuzione del primo comando da uno script.
|
||||
Debugging. Entrare in Modo "debugging" a partire dall'esecuzione del primo
|
||||
comando di uno script.
|
||||
.TP
|
||||
\-e
|
||||
Eseguire
|
||||
@@ -202,15 +204,15 @@ in Modo Ex migliorato, come se il programma eseguito sia "exim".
|
||||
\-f
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dalla shell di invocazione.
|
||||
Per l'Amiga,
|
||||
non creare [fork] una nuova finestra, indipendente dalla shell di invocazione.
|
||||
Per l'Amiga, non fa ripartire
|
||||
.B Vim
|
||||
non è fatto ripartire per aprire una nuova finestra.
|
||||
per aprire una nuova finestra.
|
||||
Opzione da usare quando
|
||||
.B Vim
|
||||
è eseguito da un programma che attende la fine della
|
||||
sessione di edit (p.es., mail).
|
||||
Sull'Amiga i comandi ":sh" e ":!" non sono disponibili.
|
||||
è eseguito da un programma che attende la fine della sessione di edit (p.es.,
|
||||
mail).
|
||||
In ambiente Amiga, i comandi ":sh" e ":!" non sono disponibili.
|
||||
.TP
|
||||
\-F
|
||||
Se
|
||||
@@ -229,7 +231,8 @@ Nota: Il supporto Farsi è stato rimosso a partire dalla patch 8.1.0932.
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto GUI, quest'opzione chiede di usarla.
|
||||
Se Vim è stato compilato senza supporto GUI viene dato un messaggio di errore e
|
||||
Se Vim è stato compilato senza supporto GUI viene dato un messaggio di
|
||||
errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
@@ -246,145 +249,148 @@ termina in modo anormale.
|
||||
.TP
|
||||
\-i {viminfo}
|
||||
Se è abilitato l'uso di un file viminfo, quest'opzione indica il nome
|
||||
del file da usare invece di quello predefinito "~/.viminfo".
|
||||
del file da usare invece del file predefinito "~/.viminfo".
|
||||
Si può anche evitare l'uso di un file .viminfo, dando come nome
|
||||
"NONE".
|
||||
.TP
|
||||
\-l
|
||||
Modo Lisp.
|
||||
Imposta le opzioni 'lisp' e 'showmatch'.
|
||||
Eseguire Vim in Modo Lisp.
|
||||
Vengono impostate le opzioni 'lisp' e 'showmatch'.
|
||||
.TP
|
||||
\-L
|
||||
Equivalente a \-r.
|
||||
.TP
|
||||
\-m
|
||||
Inibisce modifica file.
|
||||
Inibisce l'opzione 'write'.
|
||||
Inibire modifica file.
|
||||
Viene inibita l'opzione 'write'.
|
||||
È ancora possibile modificare un buffer, ma non riscriverlo.
|
||||
.TP
|
||||
\-M
|
||||
Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
|
||||
in modo da impedire sia modifiche che riscritture. Da notare che queste
|
||||
opzioni possono essere abilitate in seguito, permettendo così modifiche.
|
||||
in modo da impedire sia modifiche che riscritture. Si noti che queste opzioni
|
||||
possono essere cambiate in seguito, per consentire modifiche.
|
||||
.TP
|
||||
\-n
|
||||
Inibisce l'uso di un file di swap.
|
||||
Il recupero dopo una caduta di macchina sarà impossibile.
|
||||
Inibire l'uso di un file di swap.
|
||||
Ripristinare il file in caso di fine anormale sarà impossibile.
|
||||
Utile per editare un file su un supporto molto lento (p.es., floppy).
|
||||
Il comando ":set uc=0" ha lo stesso effetto.
|
||||
Per abilitare il recupero usare ":set uc=200".
|
||||
Per abilitare il ripristino usare ":set uc=200".
|
||||
.TP
|
||||
\-N
|
||||
Modo "Non-compatibile". Annulla l'opzione 'compatible'.
|
||||
Eseguire Vim in Modo "Non-compatibile". Annulla l'opzione 'compatible'.
|
||||
Così
|
||||
.B Vim
|
||||
si comporta un po' meglio, ma è meno compatibile con Vi, anche in assenza di un
|
||||
file .vimrc.
|
||||
si comporta un po' meglio, ma è meno compatibile con Vi, anche in assenza di
|
||||
un file .vimrc.
|
||||
.TP
|
||||
\-nb
|
||||
Diviene un Editor server per NetBeans. Vedere la documentazione per dettagli.
|
||||
Fare di Vim un Editor server per NetBeans. Vedere la documentazione per
|
||||
dettagli.
|
||||
.TP
|
||||
\-o[N]
|
||||
Apre N finestre in orizzontale.
|
||||
Se N manca, apre una finestra per ciascun file.
|
||||
Aprire N finestre in orizzontale.
|
||||
Se N manca, aprire una finestra per ciascun file.
|
||||
.TP
|
||||
\-O[N]
|
||||
Apre N finestre, in verticale.
|
||||
Se N manca, apre una finestra per ciascun file.
|
||||
Aprire N finestre, in verticale.
|
||||
Se N manca, aprire una finestra per ciascun file.
|
||||
.TP
|
||||
\-p[N]
|
||||
Apre N pagine di linguette.
|
||||
Quando N è omesso, apre una pagine di linguette per ciascun file.
|
||||
Aprire N pagine di schede.
|
||||
Quando N è omesso, aprire una pagine di schede per ciascun file.
|
||||
.TP
|
||||
\-P {titolo-padre}
|
||||
Solo per GUI Win32: Specifica il titolo dell'applicazione-padre. Se possibile,
|
||||
Vim viene eseguito in una finestra MDI (Multiple-Document Interface).
|
||||
{titolo-padre} deve apparire nel titolo della applicazione-padre. Accertatevi
|
||||
Solo per GUI Win32: Specificare il titolo dell'applicazione-padre. Se
|
||||
possibile, Vim viene eseguito in una finestra MDI
|
||||
(Multiple-Document Interface).
|
||||
{titolo-padre} deve apparire nel titolo dell'applicazione-padre. Accertarsi
|
||||
che sia sufficientemente esplicativo. Notare che l'implementazione è ancora
|
||||
rudimentale. Non funziona per tutte le applicazioni, e il menù non funziona.
|
||||
.TP
|
||||
\-r
|
||||
Lista file di swap, e informazioni su come usarli per ripristinare file.
|
||||
Listare file di swap, con informazioni su come usarli per ripristinare file.
|
||||
.TP
|
||||
\-r {file}
|
||||
Modo Recovery (ripristino).
|
||||
Eseguire Vim in Modo Recovery (ripristino).
|
||||
Il file di swap è usato per recuperare una sessione di edit finita male.
|
||||
Il file di swap è un file con lo stesso nome file del file di testo
|
||||
editato, col suffisso ".swp".
|
||||
Il file di swap è un file con lo stesso nome file del file di testo editato,
|
||||
col prefisso "." e col suffisso ".swp".
|
||||
Vedere ":help recovery".
|
||||
.TP
|
||||
\-R
|
||||
Modo Read-only (Sola Lettura).
|
||||
Imposta l'opzione 'readonly'.
|
||||
Si può ancora modificare il buffer, ma il file è protetto da una riscrittura
|
||||
involontaria.
|
||||
Se si vuole davvero riscrivere il file, occorre aggiungere un punto esclamativo
|
||||
al comando Ex, come in ":w!".
|
||||
Eseguire Vim in Modo Read-only (Sola Lettura).
|
||||
Viene impostata l'opzione 'readonly'.
|
||||
È ancora possibile modificare il buffer, ma il file è protetto da una
|
||||
riscrittura involontaria.
|
||||
Se si vuole davvero riscrivere il file, occorre aggiungere un punto
|
||||
esclamativo al comando Ex, come in ":w!".
|
||||
L'opzione \-R implica anche l'opzione \-n (vedere sopra).
|
||||
L'opzione 'readonly' può essere annullata con ":set noro".
|
||||
Vedere ":help 'readonly'".
|
||||
.TP
|
||||
\-s
|
||||
Modo silenzioso. Solo quando invocato come "Ex" o quando l'opzione
|
||||
"\-e" è stata data prima dell'opzione "\-s".
|
||||
Eseguire Vim in Modo silenzioso. Solo quando invocato come "Ex" o quando
|
||||
l'opzione "\-e" è stata specificata prima dell'opzione "\-s".
|
||||
.TP
|
||||
\-s {script_in_input}
|
||||
Lo script file {script_in_input} è letto.
|
||||
Eseguire lo script file {script_in_input}.
|
||||
I caratteri nel file sono interpretati come se immessi da terminale.
|
||||
Lo stesso risultato si può ottenere col comando ":source! {script_in_input}".
|
||||
Se la fine del file di input viene raggiunta prima che Vim termini,
|
||||
l'ulteriore input verrà preso dalla tastiera.
|
||||
.TP
|
||||
\-S {file}
|
||||
I comandi contenuti in {file} sono eseguiti dopo la lettura del primo file.
|
||||
Eseguire i comandi contenuti in {file} dopo la lettura del primo file.
|
||||
Equivalente a \-c "source {file}".
|
||||
{file} non può avere un nome che inizia per '\-'.
|
||||
Se {file} è omesso si usa "Session.vim" (funziona solo se \-S è l'ultimo
|
||||
argomento specificato).
|
||||
.TP
|
||||
\-T {terminale}
|
||||
Dice a
|
||||
Specificare a
|
||||
.B Vim
|
||||
quale tipo di terminale state usando.
|
||||
il tipo di terminale che si sta usando.
|
||||
Utile solo se il terminale non viene riconosciuto correttamente da Vim.
|
||||
Dovrebbe essere un terminale noto a
|
||||
.B Vim
|
||||
(predefinito) o definito nei file termcap o terminfo.
|
||||
.TP
|
||||
\-u {vimrc}
|
||||
Usa i comandi nel file {vimrc} per inizializzazioni.
|
||||
Usare i comandi nel file {vimrc} per inizializzazioni.
|
||||
Tutte le altre inizializzazioni non sono eseguite.
|
||||
Usare quest'opzione per editare qualche file di tipo speciale.
|
||||
Si possono anche omettere tutte le inizializzazioni dando come nome "NONE".
|
||||
Vedere ":help initialization" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
\-U {gvimrc}
|
||||
Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
|
||||
Usare i comandi nel file {gvimrc} per inizializzare la GUI.
|
||||
Tutte le altre inizializzazioni GUI non sono eseguite.
|
||||
Si possono anche omettere tutte le inizializzazioni GUI dando come nome "NONE".
|
||||
Si possono anche omettere tutte le inizializzazioni GUI dando come nome
|
||||
"NONE".
|
||||
Vedere ":help gui\-init" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
\-v
|
||||
Inizia
|
||||
Iniziare
|
||||
.B Vim
|
||||
in Modo Vi, come se il programma eseguibile fosse "vi". Questo ha
|
||||
effetto solo quando Vim viene invocato con il nome "ex".
|
||||
.TP
|
||||
\-V[N]
|
||||
Verboso. Vim manda messaggi relativi ai file di script che esegue
|
||||
e quando legge o scrive un file viminfo. Il numero opzionale N è il valore
|
||||
dell'opzione 'verbose'. Il valore predefinito è 10.
|
||||
Verboso. Fare inviare a Vim messaggi relativi ai file di script eseguiti
|
||||
e alla lettura/scrittura di un file viminfo. Il numero opzionale N è il
|
||||
valore dell'opzione 'verbose'. Il valore predefinito è 10.
|
||||
.TP
|
||||
\-V[N]{nome_file}
|
||||
Come \-V imposta 'verbosefile' a {nome_file}. Il risultato è che i messaggi
|
||||
non sono visualizzati, ma scritti sul file {nome_file}. Il {nome_file} non
|
||||
deve iniziare con un numero.
|
||||
Come \-V, e si imposta 'verbosefile' a {nome_file}. Il risultato è che i
|
||||
messaggi non sono visualizzati, ma scritti sul file {nome_file}. Il
|
||||
{nome_file} non deve iniziare con un numero.
|
||||
.TP
|
||||
\-w{numero}
|
||||
Imposta l'opzione 'window' a {numero}.
|
||||
Impostare l'opzione 'window' a {numero}.
|
||||
.TP
|
||||
\-w {script_file}
|
||||
Ogni carattere immesso viene registrato nel file {script_file},
|
||||
Registrare ogni carattere immesso nel file {script_file},
|
||||
finché non si esce da
|
||||
.B Vim.
|
||||
Utile se si vuole creare uno script file da usare con "vim \-s" o
|
||||
@@ -402,7 +408,7 @@ nella scrittura dei file. Verrà chiesta una chiave di cifratura.
|
||||
.TP
|
||||
\-X
|
||||
Non connettersi al server X. Vim parte più rapidamente,
|
||||
ma il titolo della finestra e la clipboard non sono usati.
|
||||
ma il titolo della finestra e gli appunti non sono disponibili.
|
||||
.TP
|
||||
\-Y
|
||||
Non connettersi al compositore Wayland.
|
||||
@@ -410,17 +416,19 @@ Non connettersi al compositore Wayland.
|
||||
\-y
|
||||
Eseguire
|
||||
.B Vim
|
||||
in Modo Easy (semplificato), come se l'eseguibile invocato sia "evim" o "eview".
|
||||
in Modo Easy (semplificato), come se l'eseguibile invocato sia "evim" o
|
||||
"eview".
|
||||
Fa sì che
|
||||
.B Vim
|
||||
si comporti come un editor che usa solo il mouse e i caratteri.
|
||||
.TP
|
||||
\-Z
|
||||
Modo ristretto. Vim si comporta come se invocato con un nome che inizia per "r".
|
||||
Eseguire Vim in Modo ristretto. Vim si comporta come se invocato con un nome
|
||||
che inizia per "r".
|
||||
.TP
|
||||
\-\-
|
||||
Specifica la fine delle opzioni.
|
||||
Argomenti specificati dopo questo sono considerati nomi file.
|
||||
In questo modo si specifica la fine delle opzioni.
|
||||
Argomenti aggiunti dopo questo sono considerati nomi file.
|
||||
Si può usare per editare un file il cui nome inizi per '-'.
|
||||
.TP
|
||||
\-\-clean
|
||||
@@ -428,40 +436,43 @@ Richiede di non usare alcun file di personalizzazione (vimrc, plugin, etc.).
|
||||
Utile per verificare se un problema persiste invocando Vim "originale".
|
||||
.TP
|
||||
\-\-cmd {comando}
|
||||
Come "\-c", ma il comando è eseguito subito PRIMA
|
||||
di eseguire qualsiasi file vimrc.
|
||||
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi "\-c".
|
||||
Come "\-c", ma eseguire il comando subito PRIMA di eseguire qualsiasi file
|
||||
vimrc.
|
||||
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
|
||||
"\-c".
|
||||
.TP
|
||||
\-\-echo\-wid
|
||||
Solo per GUI GTK: Visualizza ID di Window su stdout.
|
||||
Solo per GUI GTK: Visualizzare ID di Window su stdout.
|
||||
.TP
|
||||
\-\-gui-dialog-file {nome}
|
||||
Quando si usa la GUI, invece di visualizzare un dialogo, il titolo e il
|
||||
messaggio del dialogo sono scritti sul file {nome}. Il file viene creato o,
|
||||
se già esistente, viene esteso. Quest'opzione serve solo in fase di test,
|
||||
per evitare di restare bloccati da un dialogo che non si riesce a visualizzare.
|
||||
per evitare di restare bloccati da un dialogo che non si riesce a
|
||||
visualizzare.
|
||||
Se si sta lavorando senza la GUI l'argomento viene ignorato.
|
||||
.TP
|
||||
\-\-help, \-h, \-?
|
||||
Un po' di aiuto su opzioni e argomenti che si possono dare invocando Vim.
|
||||
Visualizzare opzioni e argomenti che si possono specificare invocando Vim.
|
||||
Subito dopo
|
||||
.B Vim
|
||||
esce.
|
||||
.TP
|
||||
\-\-literal
|
||||
Considera i nomi passati come argomenti letterali, senza espandere metacaratteri.
|
||||
Considerare i nomi passati come argomenti letterali, senza espandere
|
||||
metacaratteri.
|
||||
Non ha effetto in Unix, dove la shell espande comunque i metacaratteri.
|
||||
.TP
|
||||
\-\-log {nome_file}
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con le funzionalità eval e channel, inizia a registrare
|
||||
e scrive le registrazioni a {nome_file}. Ciò equivale a chiamare
|
||||
è stato compilato con le funzionalità eval e channel, iniziare a registrare
|
||||
e scrivere le registrazioni a {nome_file}. Ciò equivale a chiamare
|
||||
.I ch_logfile({nome_file}, 'ao')
|
||||
in una fase molto iniziale dell'avvio del programma.
|
||||
.TP
|
||||
\-\-nofork
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
Eseguire Vim irettamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dalla shell di invocazione.
|
||||
.TP
|
||||
@@ -471,17 +482,19 @@ Non caricare plugin. Implicito se si specifica \-u NONE.
|
||||
\-\-not\-a\-term
|
||||
Da usare per specificare a
|
||||
.B Vim
|
||||
che l'utente è consapevole che l'input e l'output non avvengono con un terminale
|
||||
vero e proprio. Ciò serve per evitare il messaggio di avvertimento e il ritardo
|
||||
di due secondi che avverrebbero in assenza di questo argomento.
|
||||
che l'utente è consapevole che l'input e l'output non avvengono con un
|
||||
terminale vero e proprio. Ciò serve per evitare il messaggio di avvertimento
|
||||
e il ritardo di due secondi, ossia il comportamento previsto in assenza di
|
||||
questo argomento.
|
||||
.TP
|
||||
\-\-remote
|
||||
Connettersi a un server Vim e chiedere di editare i file elencati come altri
|
||||
argomenti. Se non si trova un server viene dato un messaggio e i file sono
|
||||
editati nel Vim corrente.
|
||||
Connettersi a un server Vim a cui chiedere di editare i file elencati come
|
||||
altri argomenti. Se non si trova un server viene dato un messaggio e i file
|
||||
sono editati nel Vim corrente.
|
||||
.TP
|
||||
\-\-remote\-expr {expr}
|
||||
Connettersi a un server Vim, valutare {expr} e stampare il risultato su stdout.
|
||||
\-\-remote\-expr {espressione}
|
||||
Connettersi a un server Vim, valutare {espressione} e stampare il risultato su
|
||||
stdout.
|
||||
.TP
|
||||
\-\-remote\-send {chiavi}
|
||||
Connettersi a un server Vim e spedirgli {chiavi}.
|
||||
@@ -490,16 +503,16 @@ Connettersi a un server Vim e spedirgli {chiavi}.
|
||||
Come \-\-remote, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
\-\-remote-wait
|
||||
Come \-\-remote, ma Vim non termina finché i file non sono stati editati.
|
||||
Come \-\-remote, ma non terminare Vim finché i file non sono stati editati.
|
||||
.TP
|
||||
\-\-remote\-wait\-silent
|
||||
Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
\-\-serverlist
|
||||
Elenca i nomi di tutti i server Vim disponibili.
|
||||
Elencare i nomi di tutti i server Vim disponibili.
|
||||
.TP
|
||||
\-\-servername {nome}
|
||||
Usa {nome} come nome del server usato per il Vim corrente, a meno che sia
|
||||
Usare {nome} come nome del server usato per il Vim corrente, a meno che sia
|
||||
usato con l'argomento \-\-remote, nel qual caso indica il server a cui
|
||||
connettersi.
|
||||
Quando si sta usando il server a socket [socketserver backend], se il nome
|
||||
@@ -512,19 +525,20 @@ rispettivamente, o "socket" o "x11". Disponibile solo se Vim è stato
|
||||
compilato con le due funzionalità socketserver e X11.
|
||||
.TP
|
||||
\-\-socketid {id}
|
||||
Solo per GUI GTK: Usa meccanismo GtkPlug per eseguire gVim in un'altra finestra.
|
||||
Solo per GUI GTK: Usare meccanismo GtkPlug per eseguire gVim in un'altra
|
||||
finestra.
|
||||
.TP
|
||||
\-\-startuptime {nome_file}
|
||||
Durante la fase iniziale, scrive messaggi di log al file {nome_file}.
|
||||
Durante la fase iniziale, scrivere messaggi di log al file {nome_file}.
|
||||
.TP
|
||||
\-\-ttyfail
|
||||
Quando stdin o stdout non sono un terminale (tty) esce subito da Vim.
|
||||
Quando stdin o stdout non sono un terminale (tty) uscire subito da Vim.
|
||||
.TP
|
||||
\-\-version
|
||||
Stampa la versione di Vim ed esce.
|
||||
Stampare la versione di Vim e uscire.
|
||||
.TP
|
||||
\-\-windowid {id}
|
||||
Solo per GUI Win32: Chiede a gVim di provare a user l'ID di window {id}
|
||||
Solo per GUI Win32: Chiedere a gVim di provare a user l'ID di window {id}
|
||||
come padre, in modo da venir eseguito all'interno della finestra specificata.
|
||||
.SH AIUTO ONLINE
|
||||
Battere ":help" in
|
||||
@@ -532,10 +546,11 @@ Battere ":help" in
|
||||
per iniziare.
|
||||
Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
|
||||
Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
|
||||
Usare <Tab> e CTRL\-D per completare gli argomenti (":help cmdline\-completion").
|
||||
Usare <Tab> e CTRL\-D per completare gli argomenti
|
||||
(":help cmdline\-completion").
|
||||
Ci sono "tag" nei file di help per passare da un argomento a un altro
|
||||
(simili a legami ipertestuali, vedere ":help").
|
||||
Tutti i file di documentazione possono essere navigati così. Ad es.:
|
||||
Tutti i file di documentazione possono essere navigati così. P.es.:
|
||||
":help syntax.txt".
|
||||
.SH FILE
|
||||
.TP 15
|
||||
@@ -546,11 +561,11 @@ I file di documentazione di
|
||||
Usare ":help doc\-file\-list" per avere la lista completa.
|
||||
.br
|
||||
.I vim??
|
||||
è il numero di versione corto, p.es., vim91 per indicare
|
||||
.B Vim 9.1
|
||||
è il numero di versione corto, p.es., vim92 per indicare
|
||||
.B Vim 9.2
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/doc/tags
|
||||
Il file di tags usato per trovare informazioni nei file di documentazione.
|
||||
Il file di tag usato per trovare informazioni nei file di documentazione.
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/syntax/syntax.vim
|
||||
Inizializzazioni sintattiche a livello di sistema.
|
||||
@@ -586,18 +601,21 @@ Inizializzazioni del menù
|
||||
a livello di sistema.
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/bugreport.vim
|
||||
Script Vim per generare una segnalazione di errore. Vedere ":help bugs".
|
||||
Script Vim per generare una segnalazione di errore.
|
||||
Vedere ":help bugs".
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/filetype.vim
|
||||
Script Vim per determinare il tipo di un file dal suo nome. Vedere ":help 'filetype'".
|
||||
Script Vim per determinare il tipo di un file dal suo nome.
|
||||
Vedere ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/scripts.vim
|
||||
Script Vim per determinare il tipo di un file dal suo contenuto. Vedere ":help 'filetype'".
|
||||
Script Vim per determinare il tipo di un file dal suo contenuto.
|
||||
Vedere ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/share/vim/vim??/print/*.ps
|
||||
File usati per stampa PostScript.
|
||||
.PP
|
||||
Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim:
|
||||
Per informazioni aggiornate [in inglese] vedere la home page di Vim:
|
||||
.br
|
||||
<URL:http://www.vim.org/>
|
||||
.SH VEDERE ANCHE
|
||||
@@ -614,12 +632,12 @@ Vedere ":help credits" in
|
||||
Tony Andrews e G.R. (Fred) Walter.
|
||||
In verità, poco o nulla è rimasto del loro codice originale.
|
||||
.SH BUG
|
||||
Probabilmente.
|
||||
È probabile che ce ne siano.
|
||||
Vedere ":help todo" per una lista di problemi noti.
|
||||
.PP
|
||||
Si noti che un certo numero di comportamenti che possono essere considerati errori
|
||||
da qualcuno, sono in effetti causati da una riproduzione fin troppo fedele del
|
||||
comportamento di Vi. Se si ritiene che altre cose siano errori "perché Vi si comporta
|
||||
diversamente", si dia prima un'occhiata al file vi_diff.txt (o si immetta
|
||||
:help vi_diff.txt da Vim).
|
||||
Un'occhiata va data anche alle opzioni 'compatible' e 'cpoptions.
|
||||
Si noti che un certo numero di comportamenti che possono essere visti come
|
||||
errori, sono in effetti causati da una riproduzione fin troppo fedele del
|
||||
comportamento di Vi. Se si ritiene che altre cose siano errori "perché Vi si
|
||||
comporta diversamente", si dia prima un'occhiata al file vi_diff.txt
|
||||
(o si immetta :help vi_diff.txt da Vim).
|
||||
Un'occhiata va data anche alle opzioni 'compatible' e 'cpoptions'.
|
||||
|
||||
@@ -515,7 +515,7 @@ GTK GUI only: Use the GtkPlug mechanism to run gVim in another window.
|
||||
During startup write timing messages to the file {fname}.
|
||||
.TP
|
||||
\-\-ttyfail
|
||||
When stdin or stdout is not a a terminal (tty) then exit right away.
|
||||
When stdin or stdout is not a terminal (tty) then exit right away.
|
||||
.TP
|
||||
\-\-version
|
||||
Print version information and exit.
|
||||
|
||||
@@ -396,7 +396,7 @@ OPTIONS
|
||||
--startuptime {file}
|
||||
During startup write timing messages to the file {fname}.
|
||||
|
||||
--ttyfail When stdin or stdout is not a a terminal (tty) then exit
|
||||
--ttyfail When stdin or stdout is not a terminal (tty) then exit
|
||||
right away.
|
||||
|
||||
--version Print version information and exit.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*vim9.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*vim9.txt* For Vim version 9.2. Last change: 2026 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -2355,11 +2355,6 @@ in Vim9 script.
|
||||
|
||||
let &laststatus=v:true
|
||||
vim9cmd &laststatus = true
|
||||
<
|
||||
- Not using a string where an argument requires a string (|E1174|) >vim
|
||||
|
||||
echo substitute('Hallo', 'a', 'e', v:true)
|
||||
vim9cmd echo substitute('Hallo', 'a', 'e', true) # E1174: String...
|
||||
<
|
||||
One consequence is that the item type of a list or dict given to |map()| must
|
||||
not change when its type is either declared or inferred. For example, this
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*windows.txt* For Vim version 9.2. Last change: 2026 Mar 01
|
||||
*windows.txt* For Vim version 9.2. Last change: 2026 May 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -960,6 +960,9 @@ settings. The option is a comma-separated list of values:
|
||||
the value is "on", it must be set after border.
|
||||
height maximum height of the popup
|
||||
highlight highlight group of the popup (default is Pmenu)
|
||||
opacity opacity percentage 0-100 (default 100, fully opaque).
|
||||
When less than 100, content beneath the popup shows
|
||||
through.
|
||||
resize show resize handle: "on" (default) or "off"
|
||||
shadow "off" (default) or "on" using |hl-PmenuShadow|
|
||||
width maximum width of the popup
|
||||
@@ -968,6 +971,7 @@ Example: >
|
||||
:set previewpopup=height:10,width:60
|
||||
:set previewpopup=border:single,borderhilight:PmenuBorder
|
||||
:set previewpopup=border:custom:─;│;─;│;┌;┐;┘;└
|
||||
:set previewpopup=border:round,opacity:80
|
||||
|
||||
A few peculiarities:
|
||||
- If the file is in a buffer already, it will be re-used. This will allow for
|
||||
|
||||
47
runtime/ftplugin/algol68.vim
Normal file
47
runtime/ftplugin/algol68.vim
Normal file
@@ -0,0 +1,47 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Algol 68
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2026 Apr 23
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
" TODO: 'comments'
|
||||
|
||||
setlocal commentstring=#\ %s\ #
|
||||
|
||||
let &l:include='\c\%(^\|;\)\s*\%(PR\|PRAGMAT\)\s\+\%(read\|include\)'
|
||||
|
||||
let b:undo_ftplugin = "setl cms< inc<"
|
||||
|
||||
if exists("loaded_matchit") && !exists("b:match_words")
|
||||
let b:match_ignorecase = 0
|
||||
let b:match_words = '\<BEGIN\>:\<END\>,' ..
|
||||
\ '\<IF\>:\<THEN\>:\<ELIF\>:\<ELSE\>:\<FI\>,' ..
|
||||
\ '\<CASE\>:\<IN\>:\<OUSE\>:\<OUT\>:\<ESAC\>,' ..
|
||||
"\ TODO: loops have overlapping start and intermediate keywords like
|
||||
"\ `TO` which are difficult to match with patterns alone.
|
||||
\ '\<DO\>:\<OD\>'
|
||||
let b:match_skip = 's:Comment\|String\|PreProc'
|
||||
let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_skip b:match_words"
|
||||
endif
|
||||
|
||||
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
|
||||
let b:browsefilter = "Algol 68 Source Files (*.a68)\t*.a68\n"
|
||||
if has("win32")
|
||||
let b:browsefilter ..= "All Files (*.*)\t*\n"
|
||||
else
|
||||
let b:browsefilter ..= "All Files (*)\t*\n"
|
||||
endif
|
||||
let b:undo_ftplugin ..= " | unlet! b:browsefilter"
|
||||
endif
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8
|
||||
@@ -2,6 +2,8 @@
|
||||
" Language: Cucumber
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" Last Change: 2016 Aug 29
|
||||
" 2026 May 26 by Vim Project: prevent Code Injection
|
||||
" https://github.com/vim/vim/security/advisories/GHSA-4473-94jm-w5x9
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if (exists("b:did_ftplugin"))
|
||||
@@ -96,7 +98,8 @@ function! s:stepmatch(receiver,target)
|
||||
catch
|
||||
endtry
|
||||
if has("ruby") && pattern !~ '\\\@<!#{'
|
||||
ruby VIM.command("return #{if (begin; Kernel.eval('/'+VIM.evaluate('pattern')+'/'); rescue SyntaxError; end) === VIM.evaluate('a:target') then 1 else 0 end}")
|
||||
" Use Regexp.new, so the pattern stays untrusted data and cannot inject Ruby
|
||||
ruby VIM.command("return #{if (begin; Regexp.new(VIM.evaluate('pattern')); rescue RegexpError; end) === VIM.evaluate('a:target') then 1 else 0 end}")
|
||||
else
|
||||
return 0
|
||||
endif
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
" Last Change: 2025 Apr 08
|
||||
" 2025 Apr 08 by Vim project (set 'omnifunc' and 'iskeyword', #17073)
|
||||
" 2025 Aug 08 by Vim project (unset comment options, #17889)
|
||||
" 2026 Apr 26 by Vim project (make HelpComplete global, #20024)
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
@@ -17,14 +18,14 @@ let b:undo_ftplugin = "setl isk< fo< tw< cole< cocu< keywordprg< omnifunc< comme
|
||||
|
||||
setl comments= cms=
|
||||
|
||||
setlocal formatoptions+=tcroql textwidth=78 keywordprg=:help omnifunc=s:HelpComplete
|
||||
setlocal formatoptions+=tcroql textwidth=78 keywordprg=:help omnifunc=HelpComplete
|
||||
let &l:iskeyword='!-~,^*,^|,^",192-255'
|
||||
if has("conceal")
|
||||
setlocal cole=2 cocu=nc
|
||||
endif
|
||||
|
||||
if !exists('*s:HelpComplete')
|
||||
func s:HelpComplete(findstart, base)
|
||||
if !exists('*HelpComplete')
|
||||
func HelpComplete(findstart, base)
|
||||
if a:findstart
|
||||
let colnr = col('.') - 1 " Get the column number before the cursor
|
||||
let line = getline('.')
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
" Language: Justfile
|
||||
" Maintainer: Peter Benjamin <@pbnj>
|
||||
" Last Change: 2025 Jan 19
|
||||
" 2026 May 17 by Vim Project: add 'suffixesadd' #20197
|
||||
" Credits: The original author, Noah Bogart <https://github.com/NoahTheDuke/vim-just/>
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
@@ -13,5 +14,6 @@ let b:did_ftplugin = 1
|
||||
setlocal iskeyword+=-
|
||||
setlocal comments=n:#
|
||||
setlocal commentstring=#\ %s
|
||||
setlocal suffixesadd=.just
|
||||
|
||||
let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<"
|
||||
let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring< suffixesadd<"
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Nvidia PTX (Parellel Thread Execution)
|
||||
" Language: Nvidia PTX (Parallel Thread Execution)
|
||||
" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com>
|
||||
" Last Change: 2024-12-05
|
||||
" 2026 May 04 by Vim Project: fix typo
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||
" Last Change: 2024 Sep 19 (simplify keywordprg #15696)
|
||||
" 2024 Jul 22 by Vim project (use :hor term #17822)
|
||||
" 2026 May 04 by Vim Project: fix typo
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
@@ -26,7 +27,7 @@ if exists("loaded_matchit") && !exists("b:match_words")
|
||||
endif
|
||||
|
||||
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
|
||||
let b:browsefilter = "Readline Intialization Files (inputrc, .inputrc)\tinputrc;*.inputrc\n"
|
||||
let b:browsefilter = "Readline Initialization Files (inputrc, .inputrc)\tinputrc;*.inputrc\n"
|
||||
if has("win32")
|
||||
let b:browsefilter ..= "All Files (*.*)\t*\n"
|
||||
else
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
" Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net> (Invalid email address)
|
||||
" Doug Kearns <dougkearns@gmail.com>
|
||||
" Last Change: 2022 Apr 06
|
||||
" 2026 May 04 by Vim Project: fix typo
|
||||
|
||||
if exists("b:did_indent")
|
||||
"finish
|
||||
@@ -71,7 +72,7 @@ fun! CdlGetIndent(lnum)
|
||||
" One 'closing' element at the beginning of the line has already reduced the
|
||||
" indent, but 'else', 'elseif' & 'then' increment it for the next line.
|
||||
" '=' at the beginning already has the right indent (increased for
|
||||
" asignments).
|
||||
" assignments).
|
||||
let f = -1
|
||||
let inicio = matchend(line, '^\c\s*\(else\a*\|then\|endif\|/[*/]\|[);={]\)')
|
||||
if inicio > 0
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
|
||||
" Placeholder for backwards compatibility: .jsx used to stand for JavaScript.
|
||||
runtime! indent/javascript.vim
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
" Last Change: 2023-09-11
|
||||
" 2024 Jul 04 by Vim Project: use shiftwidth() instead of hard-coding shifted values #15138
|
||||
" 2025 Dec 29 by Vim Project: clean up
|
||||
" 2025 Dec 31 by Vim Project: correcly indent after nested array literal #19042
|
||||
" 2025 Dec 31 by Vim Project: correctly indent after nested array literal #19042
|
||||
" 2026 Jan 28 by Vim Project: fix indentation when a string literal contains 'if' #19265
|
||||
" 2026 May 04 by Vim Project: fix typo
|
||||
|
||||
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
||||
" Note: upstream seems umaintained: https://github.com/rust-lang/rust.vim/issues/502
|
||||
|
||||
@@ -3,10 +3,11 @@
|
||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||
" Original Author: Nikolai Weibull <now@bitwi.se>
|
||||
" Previous Maintainer: Peter Aronoff <telemachus@arpinum.org>
|
||||
" Latest Revision: 2019-10-24
|
||||
" Latest Revision: 20260504
|
||||
" License: Vim (see :h license)
|
||||
" Repository: https://github.com/chrisbra/vim-sh-indent
|
||||
" Changelog:
|
||||
" 20260504 - fix typo
|
||||
" 20250906 - indent function closing properly on multiline commands
|
||||
" 20250318 - Detect local arrays in functions
|
||||
" 20241411 - Detect dash character in function keyword for
|
||||
@@ -233,7 +234,7 @@ function! s:is_array(line)
|
||||
endfunction
|
||||
|
||||
function! s:is_in_block(line)
|
||||
" checks whether a:line is whithin a
|
||||
" checks whether a:line is within a
|
||||
" block e.g. a shell function
|
||||
" foo() {
|
||||
" ..
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
" Language: Stylus
|
||||
" Maintainer: Marc Harter
|
||||
" Last Change: 2010 May 21
|
||||
" 2026 May 04 by Vim Project: fix typo
|
||||
" Based On: sass.vim from Tim Pope
|
||||
"
|
||||
if exists("b:did_indent")
|
||||
@@ -97,7 +98,7 @@ function! GetStylusIndent()
|
||||
let line = substitute(getline(lnum),'[\s()]\+$','','') " get last line strip ending whitespace
|
||||
let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','') " get current line, trimmed
|
||||
let lastcol = strlen(line) " get last col in prev line
|
||||
let line = substitute(line,'^\s\+','','') " then remove preceeding whitespace
|
||||
let line = substitute(line,'^\s\+','','') " then remove preceding whitespace
|
||||
let indent = indent(lnum) " get indent on prev line
|
||||
let cindent = indent(v:lnum) " get indent on current line
|
||||
let increase = indent + &sw " increase indent by the shift width
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
" Placeholder for backwards compatilibity: .tsx used to stand for TypeScript.
|
||||
" Placeholder for backwards compatibility: .tsx used to stand for TypeScript.
|
||||
runtime! indent/typescript.vim
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" These commands create the option window.
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2026 Apr 15
|
||||
" Last Change: 2026 May 17
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" If there already is an option window, jump to that one.
|
||||
@@ -315,6 +315,8 @@ call append("$", "\t" .. s:global_or_local)
|
||||
call <SID>OptionG("tc", &tc)
|
||||
call <SID>AddOption("tagrelative", gettext("file names in a tags file are relative to the tags file"))
|
||||
call <SID>BinOptionG("tr", &tr)
|
||||
call <SID>AddOption("tagsecure", gettext("a :tag command cannot access remote files"))
|
||||
call <SID>BinOptionG("tsc", &tsc)
|
||||
call <SID>AddOption("tagstack", gettext("a :tag command will use the tagstack"))
|
||||
call <SID>BinOptionG("tgst", &tgst)
|
||||
call <SID>AddOption("showfulltag", gettext("when completing tags in Insert mode show more info"))
|
||||
@@ -351,7 +353,7 @@ call append("$", "\t" .. s:local_to_window)
|
||||
call <SID>BinOptionL("sms")
|
||||
call <SID>AddOption("scrolloff", gettext("number of screen lines to show around the cursor"))
|
||||
call append("$", " \tset so=" . &so)
|
||||
call <SID>AddOption("scrolloffpad", gettext("keep 'scrolloff' context even at end of file"))
|
||||
call <SID>AddOption("scrolloffpad", gettext("vertically center cursor even at end of file"))
|
||||
call append("$", " \tset sop=" . &sop)
|
||||
call <SID>AddOption("wrap", gettext("long lines wrap"))
|
||||
call append("$", "\t" .. s:local_to_window)
|
||||
|
||||
28
runtime/pack/dist/opt/hlyank/plugin/hlyank.vim
vendored
28
runtime/pack/dist/opt/hlyank/plugin/hlyank.vim
vendored
@@ -1,7 +1,7 @@
|
||||
vim9script
|
||||
|
||||
# Highlight Yank plugin
|
||||
# Last Change: 2026 Apr 11
|
||||
# Last Change: 2026 May 11
|
||||
|
||||
def HighlightedYank()
|
||||
|
||||
@@ -36,8 +36,34 @@ def HighlightedYank()
|
||||
endif
|
||||
enddef
|
||||
|
||||
export def HighlightedPut()
|
||||
if !get(g:, "hlput_enable", false)
|
||||
return
|
||||
endif
|
||||
|
||||
var hlgroup = get(g:, "hlput_hlgroup", "IncSearch")
|
||||
var duration = min([get(g:, "hlput_duration", 300), 3000])
|
||||
|
||||
var [beg, end] = [getpos("'["), getpos("']")]
|
||||
var type = v:event.regtype ?? 'v'
|
||||
var pos = getregionpos(beg, end, {type: type, exclusive: false})
|
||||
|
||||
var m = matchaddpos(hlgroup, pos->mapnew((_, v) => {
|
||||
var col_beg = v[0][2] + v[0][3]
|
||||
var col_end = v[1][2] + v[1][3] + 1
|
||||
return [v[0][1], col_beg, col_end - col_beg]
|
||||
}))
|
||||
var winid = win_getid()
|
||||
timer_start(duration, (_) => {
|
||||
if winbufnr(winid) != -1
|
||||
m->matchdelete(winid)
|
||||
endif
|
||||
})
|
||||
enddef
|
||||
|
||||
augroup hlyank
|
||||
autocmd!
|
||||
autocmd TextYankPost * HighlightedYank()
|
||||
autocmd TextPutPost * HighlightedPut()
|
||||
augroup END
|
||||
# vim:sts=2:sw=2:et:
|
||||
|
||||
76
runtime/pack/dist/opt/netrw/autoload/netrw.vim
vendored
76
runtime/pack/dist/opt/netrw/autoload/netrw.vim
vendored
@@ -1,33 +1,7 @@
|
||||
" Creator: Charles E Campbell
|
||||
" Previous Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
|
||||
" Maintainer: This runtime file is looking for a new maintainer.
|
||||
" Last Change:
|
||||
" 2025 Aug 07 by Vim Project (use correct "=~#" for netrw_stylesize option #17901)
|
||||
" 2025 Aug 07 by Vim Project (netrw#BrowseX() distinguishes remote files #17794)
|
||||
" 2025 Aug 22 by Vim Project netrw#Explore handle terminal correctly #18069
|
||||
" 2025 Sep 05 by Vim Project ensure netrw#fs#Dirname() returns trailing slash #18199
|
||||
" 2025 Sep 11 by Vim Project only keep cursor position in tree mode #18275
|
||||
" 2025 Sep 17 by Vim Project tighten the regex to handle remote compressed archives #18318
|
||||
" 2025 Sep 18 by Vim Project 'equalalways' not always respected #18358
|
||||
" 2025 Oct 01 by Vim Project fix navigate to parent folder #18464
|
||||
" 2025 Oct 26 by Vim Project fix parsing of remote user names #18611
|
||||
" 2025 Oct 27 by Vim Project align comment after #18611
|
||||
" 2025 Nov 01 by Vim Project fix NetrwChgPerm #18674
|
||||
" 2025 Nov 13 by Vim Project don't wipe unnamed buffers #18740
|
||||
" 2025 Nov 18 by Vim Project use UNC paths when using scp and Windows paths #18764
|
||||
" 2025 Nov 28 by Vim Project fix undefined variable in *NetrwMenu #18829
|
||||
" 2025 Dec 26 by Vim Project fix use of g:netrw_cygwin #19015
|
||||
" 2026 Jan 19 by Vim Project do not create swapfiles #18854
|
||||
" 2026 Feb 15 by Vim Project fix global variable initialization for MS-Windows #19287
|
||||
" 2026 Feb 21 by Vim Project better absolute path detection on MS-Windows #19477
|
||||
" 2026 Feb 27 by Vim Project Make the hostname validation more strict
|
||||
" 2026 Mar 01 by Vim Project include portnumber in hostname checking #19533
|
||||
" 2026 Apr 01 by Vim Project use fnameescape() with netrw#FileUrlEdit()
|
||||
" 2026 Apr 05 by Vim Project Fix netrw#RFC2396() #19913
|
||||
" 2026 Apr 15 by Vim Project Add missing escape()
|
||||
" 2026 Apr 19 by Vim Project expand ~ on Windows #20003
|
||||
" 2026 Apr 21 by Vim Project fix shell-injection via tempfile suffix (sftp://, file://)
|
||||
" 2026 Apr 21 by Vim Project drop unused g:netrw_tmpfile_escape
|
||||
" Last Change: 2026 May 17
|
||||
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
|
||||
" Permission is hereby granted to use and distribute this code,
|
||||
" with or without modifications, provided that this copyright
|
||||
@@ -2961,7 +2935,7 @@ function s:NetrwBookHistSave()
|
||||
while ( first || cnt != g:netrw_dirhistcnt )
|
||||
let lastline= lastline + 1
|
||||
if exists("g:netrw_dirhist_{cnt}")
|
||||
call setline(lastline,'let g:netrw_dirhist_'.cnt."='".g:netrw_dirhist_{cnt}."'")
|
||||
call setline(lastline,'let g:netrw_dirhist_'.cnt.'='.string(g:netrw_dirhist_{cnt}))
|
||||
endif
|
||||
let first = 0
|
||||
let cnt = ( cnt - 1 ) % g:netrw_dirhistmax
|
||||
@@ -4836,6 +4810,12 @@ endfunction
|
||||
|
||||
" s:NetrwMaps: {{{2
|
||||
function s:NetrwMaps(islocal)
|
||||
" remove B flag from 'cpo' so that \<CR>, \<Bar>, etc. inside
|
||||
" interpolated path names play back as literal text rather than
|
||||
" the actual key — without this, a crafted directory name can
|
||||
" inject keystrokes into the cmdline the mapping is typing
|
||||
let _cpo = &cpo
|
||||
set cpo-=B
|
||||
|
||||
" mouse <Plug> maps: {{{3
|
||||
if g:netrw_mousemaps && g:netrw_retmap
|
||||
@@ -5080,6 +5060,7 @@ function s:NetrwMaps(islocal)
|
||||
" support user-specified maps
|
||||
call netrw#UserMaps(0)
|
||||
endif " }}}3
|
||||
let &cpo = _cpo
|
||||
endfunction
|
||||
|
||||
" s:NetrwCommands: set up commands {{{2
|
||||
@@ -5179,7 +5160,7 @@ function s:NetrwMarkFile(islocal,fname)
|
||||
|
||||
else
|
||||
" remove filename from buffer's markfilelist
|
||||
call filter(s:netrwmarkfilelist_{curbufnr},'v:val != a:fname')
|
||||
call filter(s:netrwmarkfilelist_{curbufnr}, {_, v -> v !=# a:fname})
|
||||
if s:netrwmarkfilelist_{curbufnr} == []
|
||||
" local markfilelist is empty; remove it entirely
|
||||
call s:NetrwUnmarkList(curbufnr,curdir)
|
||||
@@ -5200,7 +5181,6 @@ function s:NetrwMarkFile(islocal,fname)
|
||||
|
||||
else
|
||||
" initialize new markfilelist
|
||||
|
||||
let s:netrwmarkfilelist_{curbufnr}= []
|
||||
call add(s:netrwmarkfilelist_{curbufnr},substitute(a:fname,'[|@]$','',''))
|
||||
|
||||
@@ -5220,7 +5200,7 @@ function s:NetrwMarkFile(islocal,fname)
|
||||
call add(s:netrwmarkfilelist,netrw#fs#ComposePath(b:netrw_curdir,a:fname))
|
||||
else
|
||||
" remove new filename from global markfilelist
|
||||
call filter(s:netrwmarkfilelist,'v:val != "'.dname.'"')
|
||||
call filter(s:netrwmarkfilelist, {_, v -> v !=# dname})
|
||||
if s:netrwmarkfilelist == []
|
||||
unlet s:netrwmarkfilelist
|
||||
endif
|
||||
@@ -6348,7 +6328,7 @@ function s:NetrwUnMarkFile(islocal)
|
||||
endif
|
||||
|
||||
let ibuf= 1
|
||||
while ibuf < bufnr("$")
|
||||
while ibuf <= bufnr("$")
|
||||
if exists("s:netrwmarkfilelist_".ibuf)
|
||||
unlet s:netrwmarkfilelist_{ibuf}
|
||||
unlet s:netrwmarkfilemtch_{ibuf}
|
||||
@@ -7243,7 +7223,7 @@ function s:NetrwTreeDisplay(dir,depth)
|
||||
" hide given patterns
|
||||
let listhide= split(g:netrw_list_hide,',')
|
||||
for pat in listhide
|
||||
call filter(w:netrw_treedict[dir],'v:val !~ "'.escape(pat,'\\').'"')
|
||||
call filter(w:netrw_treedict[dir], {_, v -> v !~# pat})
|
||||
endfor
|
||||
|
||||
elseif g:netrw_hide == 2
|
||||
@@ -9005,22 +8985,30 @@ function s:MakeSshCmd(sshcmd)
|
||||
return sshcmd
|
||||
endfunction
|
||||
|
||||
" s:MakeBookmark: enters a bookmark into Netrw's bookmark system {{{2
|
||||
" s:MakeBookmark: enters a bookmark into Netrw's bookmark system {{{2
|
||||
" Note that bookmark paths should always be absolute.
|
||||
function s:MakeBookmark(fname)
|
||||
|
||||
if !exists("g:netrw_bookmarklist")
|
||||
let g:netrw_bookmarklist= []
|
||||
let g:netrw_bookmarklist = []
|
||||
endif
|
||||
|
||||
if index(g:netrw_bookmarklist,a:fname) == -1
|
||||
" curdir not currently in g:netrw_bookmarklist, so include it
|
||||
if isdirectory(s:NetrwFile(a:fname)) && a:fname !~ '/$'
|
||||
call add(g:netrw_bookmarklist,a:fname.'/')
|
||||
elseif a:fname !~ '/'
|
||||
call add(g:netrw_bookmarklist,getcwd()."/".a:fname)
|
||||
else
|
||||
call add(g:netrw_bookmarklist,a:fname)
|
||||
endif
|
||||
" Normalize path to prevent duplicate entries
|
||||
let bookmark_path = netrw#fs#AbsPath(s:NetrwFile(a:fname))
|
||||
let ignore_case = 0
|
||||
if has('win32')
|
||||
let bookmark_path = substitute(bookmark_path, '\\', '/', 'ge')
|
||||
let ignore_case = 1
|
||||
endif
|
||||
let bookmark_path = simplify(bookmark_path)
|
||||
|
||||
if isdirectory(bookmark_path) && bookmark_path !~ '/$'
|
||||
let bookmark_path .= '/'
|
||||
endif
|
||||
|
||||
if index(g:netrw_bookmarklist, bookmark_path, 0, ignore_case) == -1
|
||||
" Not currently in the bookmarks list, so include it
|
||||
call add(g:netrw_bookmarklist, bookmark_path)
|
||||
call sort(g:netrw_bookmarklist)
|
||||
endif
|
||||
|
||||
|
||||
2
runtime/pack/dist/opt/netrw/doc/netrw.txt
vendored
2
runtime/pack/dist/opt/netrw/doc/netrw.txt
vendored
@@ -1142,6 +1142,8 @@ One may easily "bookmark" the currently browsed directory by using >
|
||||
|
||||
mb
|
||||
<
|
||||
Note: Bookmarked paths are normalized and stored as absolute paths.
|
||||
|
||||
*.netrwbook*
|
||||
Bookmarks are retained in between sessions of vim in a file called .netrwbook
|
||||
as a |List|, which is typically stored in the first directory on the user's
|
||||
|
||||
17
runtime/pack/dist/opt/osc52/autoload/osc52.vim
vendored
17
runtime/pack/dist/opt/osc52/autoload/osc52.vim
vendored
@@ -16,13 +16,20 @@ def OSCMessage(id: number)
|
||||
sent_message = true
|
||||
enddef
|
||||
|
||||
export def Paste(reg: string): tuple<string, list<string>>
|
||||
var loop_timerid: number = -1
|
||||
|
||||
export def Paste(reg: string): any
|
||||
# Check if user has indicated that the terminal does not support OSC 52 paste
|
||||
# (or has disabled it)
|
||||
if get(g:, 'osc52_disable_paste', 0)
|
||||
return ("c", [])
|
||||
endif
|
||||
|
||||
if loop_timerid != -1
|
||||
# This will result in the register being unchanged
|
||||
return null
|
||||
endif
|
||||
|
||||
# Some terminals like Kitty respect the selection type parameter on both X11
|
||||
# and Wayland. If the terminal doesn't then the selection type parameter
|
||||
# should be ignored (no-op)
|
||||
@@ -61,6 +68,14 @@ export def Paste(reg: string): tuple<string, list<string>>
|
||||
endif
|
||||
endtry
|
||||
|
||||
# A TextPutPost autocmd may cause this function to be called twice, which is
|
||||
# technically intended behaviour, however it is not necessary for this plugin.
|
||||
# To prevent this, return immediately if we have not returned back to the main
|
||||
# loop since the last "paste" call.
|
||||
loop_timerid = timer_start(0, (_) => {
|
||||
loop_timerid = -1
|
||||
})
|
||||
|
||||
if interrupt
|
||||
echo "Interrupted while waiting for OSC 52 response"
|
||||
return ("c", [""])
|
||||
|
||||
@@ -35,6 +35,7 @@ augroup tar
|
||||
au FileWriteCmd tarfile::*/* call tar#Write(expand("<amatch>"))
|
||||
endif
|
||||
|
||||
au BufReadCmd *.cbt call tar#Browse(expand("<amatch>"))
|
||||
au BufReadCmd *.lrp call tar#Browse(expand("<amatch>"))
|
||||
au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
|
||||
au BufReadCmd *.tar.bz2 call tar#Browse(expand("<amatch>"))
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
" Last Change:
|
||||
" 2025 Apr 02 by Vim Project: add *.whl to list of zip extensions (#17038)
|
||||
" 2025 Oct 06 by MultisampledNight: add *.pkpass to list of zip extensions (#18501)
|
||||
" 2026 May 16 by Vim Project: add .cbz extension (#20206)
|
||||
" License: Vim License (see vim's :help license)
|
||||
" Copyright: Copyright (C) 2005-2016 Charles E. Campbell {{{1
|
||||
" Permission is hereby granted to use and distribute this code,
|
||||
@@ -31,7 +32,7 @@ set cpo&vim
|
||||
" ---------------------------------------------------------------------
|
||||
" Options: {{{1
|
||||
if !exists("g:zipPlugin_ext")
|
||||
let g:zipPlugin_ext='*.aar,*.apk,*.celzip,*.crtx,*.docm,*.docx,*.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,*.odb,*.odc,*.odf,*.odg,*.odi,*.odm,*.odp,*.ods,*.odt,*.otc,*.otf,*.otg,*.oth,*.oti,*.otp,*.ots,*.ott,*.oxt,*.pkpass,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.whl,*.wsz,*.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'
|
||||
let g:zipPlugin_ext='*.aar,*.apk,*.cbz,*.celzip,*.crtx,*.docm,*.docx,*.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,*.odb,*.odc,*.odf,*.odg,*.odi,*.odm,*.odp,*.ods,*.odt,*.otc,*.otf,*.otg,*.oth,*.oti,*.otp,*.ots,*.ott,*.oxt,*.pkpass,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.whl,*.wsz,*.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'
|
||||
endif
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
|
||||
470
runtime/syntax/algol68.vim
Normal file
470
runtime/syntax/algol68.vim
Normal file
@@ -0,0 +1,470 @@
|
||||
" Vim syntax file
|
||||
" Language: Algol 68
|
||||
" Version: 0.4
|
||||
" Maintainer: Janis Papanagnou
|
||||
" Previous Maintainer: NevilleD.ALGOL_68@sgr-a.net
|
||||
" Last Change: 2026 May 02
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn sync minlines=250 maxlines=500
|
||||
|
||||
" Algol68 Final Report, unrevised
|
||||
syn keyword algol68PreProc PRIORITY
|
||||
syn keyword algol68Operator BTB CTB CONJ QUOTE CT CTAB EITHER SIGN
|
||||
|
||||
|
||||
" Algol68 Revised Report
|
||||
syn keyword algol68Boolean TRUE FALSE
|
||||
syn keyword algol68Conditional IF THEN ELSE ELIF FI
|
||||
syn keyword algol68Conditional CASE IN OUT OUSE ESAC
|
||||
syn keyword algol68Constant NIL SKIP EMPTY
|
||||
syn keyword algol68Statement MODE OP PRIO PROC
|
||||
syn keyword algol68Label GOTO
|
||||
syn match algol68Label "\<GO TO\>"
|
||||
syn keyword algol68Operator ABS REPR ROUND ENTIER ARG BIN LENG SHORTEN ODD
|
||||
syn keyword algol68Operator SHL SHR ROL ROR UP DOWN LEVEL LWB UPB I RE IM
|
||||
syn keyword algol68Operator OVER MOD ELEM SET CLEAR
|
||||
syn keyword algol68Operator LT LE GE GT
|
||||
syn keyword algol68Operator EQ NE
|
||||
syn keyword algol68Operator AND OR XOR NOT
|
||||
" Genie short-circuit pseudo operators
|
||||
syn keyword algol68Operator THEF ANDF ANDTH ELSF ORF OREL
|
||||
syn keyword algol68Operator ANDTHEN ORELSE
|
||||
syn keyword algol68Operator MINUSAB PLUSAB TIMESAB DIVAB OVERAB MODAB PLUSTO
|
||||
syn keyword algol68Operator IS ISNT OF AT
|
||||
syn keyword algol68Operator SORT ELEMS
|
||||
syn keyword algol68Repeat FOR FROM BY UPTO DOWNTO TO WHILE DO UNTIL OD
|
||||
syn keyword algol68Statement PAR BEGIN END EXIT
|
||||
syn keyword algol68Struct STRUCT
|
||||
syn keyword algol68PreProc VECTOR
|
||||
syn keyword algol68Type FLEX HEAP LOC LONG REF SHORT
|
||||
syn keyword algol68Type VOID BOOL INT REAL COMPL CHAR STRING COMPLEX
|
||||
syn keyword algol68Type BITS BYTES FILE CHANNEL PIPE SEMA SOUND
|
||||
syn keyword algol68Type FORMAT STRUCT UNION
|
||||
" Genie extensions in addition to ROUND and ENTIER
|
||||
syn keyword algol68Operator FLOOR CEIL NINT TRUNC FRAC FIX
|
||||
|
||||
" 20011222az: Added new items.
|
||||
syn keyword algol68Todo contained TODO FIXME XXX DEBUG NOTE
|
||||
|
||||
|
||||
" String
|
||||
syn region algol68String matchgroup=algol68String start=+"+ end=+"+ contains=algol68StringEscape
|
||||
syn match algol68StringEscape contained '""'
|
||||
syn match algol68StringEscape contained "\\$"
|
||||
|
||||
|
||||
syn match algol68Identifier "\<[a-z][a-z0-9_]*\>"
|
||||
|
||||
|
||||
if exists("algol68_symbolic_operators")
|
||||
syn match algol68SymbolOperator "\\"
|
||||
syn match algol68SymbolOperator ":=\|="
|
||||
syn match algol68SymbolOperator "[~^]"
|
||||
syn match algol68SymbolOperator "[~^]="
|
||||
syn match algol68SymbolOperator "[<>]"
|
||||
syn match algol68SymbolOperator "[<>]="
|
||||
syn match algol68SymbolOperator "\%([-+*%/]\|%\*\)"
|
||||
syn match algol68SymbolOperator "\%([-+*%/]\|%\*\):="
|
||||
syn match algol68SymbolOperator "+=:"
|
||||
syn match algol68SymbolOperator "*\*\|&"
|
||||
syn match algol68SymbolOperator ":/\==:"
|
||||
endif
|
||||
|
||||
syn match algol68Number "\<\d\+\%(\s\+\d\+\)*\>"
|
||||
|
||||
syn match algol68Float "\c\.\d\+\%(\s\+\d\+\)*\%(\s*[e\\⏨]\s*[-+]\?\s*\d\+\%(\s\+\d\+\)*\)\?\>"
|
||||
syn match algol68Float "\c\<\d\+\%(\s\+\d\+\)*\%(\s*[e\\⏨]\s*[-+]\?\s*\d\+\%(\s\+\d\+\)*\)\>"
|
||||
syn match algol68Float "\c\<\d\+\%(\s\+\d\+\)*\s*\.\s*\d\+\%(\s\+\d\+\)*\%(\s*[e\\⏨]\s*[-+]\?\s*\d\+\%(\s\+\d\+\)*\)\?\>"
|
||||
|
||||
syn match algol68HexNumber "\c\<2r\s*[01]\+\%(\s\+[01]\+\)*\>"
|
||||
syn match algol68HexNumber "\c\<4r\s*[0-3]\+\%(\s\+[0-3]\+\)*\>"
|
||||
syn match algol68HexNumber "\c\<8r\s*[0-7]\+\%(\s\+[0-7]\+\)*\>"
|
||||
syn match algol68HexNumber "\c\<16r\s*[0-9a-f]\+\%(\s\+[0-9a-f]\+\)*\>"
|
||||
|
||||
|
||||
syn region algol68Special start="\$" end="\$" contains=algol68String
|
||||
syn region algol68Comment start="¢" end="¢" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68Comment start="£" end="£" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68Comment start="#" end="#" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68Comment start="\<CO\>" end="\<CO\>" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68Comment start="\<COMMENT\>" end="\<COMMENT\>" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68PreProc start="\<PR\>" end="\<PR\>" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68PreProc start="\<PRAGMAT\>" end="\<PRAGMAT\>" contains=algol68Todo,algol68SpaceError
|
||||
" algol68r
|
||||
syn region algol68Comment start="{" end="}" contains=algol68Todo,algol68SpaceError
|
||||
syn region algol68Comment start="{{{" end="}}}" contains=algol68Todo,algol68SpaceError
|
||||
|
||||
" ALGOL 68r
|
||||
syn keyword algol68PreProc DECS CONTEXT configinfo A68CONFIG KEEP FINISH USE SYSPROCS IOSTATE FORALL
|
||||
" ALGOL 68c
|
||||
syn keyword algol68PreProc USING ENVIRON FOREACH ASSERT
|
||||
|
||||
if !exists("algol68_no_preludes")
|
||||
|
||||
|
||||
" THE STANDARD ENVIRONMENT
|
||||
|
||||
" Enquiries
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(blank\|formfeed\|newline\|null\|tab\|eof\)\s*char\%(acter\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(max\s*abs\|exp\|error\)\s*char\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(long\s*\)\?long\s*\)\?max\s*\%(bits\|int\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(long\s*\)\?long\s*\)\?\%(max\|min\|small\)\s*real\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\?\%(bits\|bytes\|exp\|int\|real\)\s*width\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(bits\|bytes\|compl\|int\|real\)\s*\%(lengths\|shorths\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(blank\|flip\|flop\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Transput Files and Channels
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<stand\s*\%(in\|out\|back\|error\)\%(\s*channel\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<stand\s*draw\s*channel\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Transput Event Routines
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<on\s*\%(\%(line\|page\|\%(logical\s*\|physical\s*\)\?file\|format\)\s*\)end\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<on\s*\%(\%(format\|value\|open\|transput\)\s*\)error\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Connections to Files
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(open\|establish\|append\|create\|associate\|close\|lock\|erase\|scratch\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Positioning on Files
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<new\s*line\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<new\s*page\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<back\s*space\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(reset\|rewind\|rewrite\|set\|seek\|space\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" I/O on Files (Standard)
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(get\|put\|print\|read\|write\)\%(f\|\s*bin\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" I/O on Files (Algol68C)
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(print\|read\)\s*\%(\%(long\s*\)\?long\s*\)\?\%(int\|real\|complex\|bits\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(print\|read\)\s*\%(bool\|char\|string\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<read\s*line\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Enquiries on Files
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(get\|put\|bin\|set\|reset\|rewind\|reidf\|draw\)\s*possible\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<end\s*of\s*\%(file\|line\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(make\s*\)\?term\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(compressible\|eof\|eoln\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Keyboard Control
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cooked\|raw\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Math Constants
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(long\s*\)\?long\s*\)\?\%(min\s*real\|\%(minus\s*\)\?infinity\|\%(min\s*\)\?inf\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?pi\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<mp\s*radix\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<nan\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Math Basic Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\%([a-z0-9]\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(sqrt\|cbrt\|curt\|exp\|ln\|log\)\>\%(\s*[a-z0-9]\)\@!\%(\s\{1,7}[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<ln\s*abs\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Math Trigonometric Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(arc\s*\|a\)\?\%(sin\|cos\|tan\|cot\|sec\|csc\|cas\)\%(h\|\%(\s*dg\)\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(arc\s*\|a\)\?tan2\%(\s*dg\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
" long-long-sinpi/cospi/tanpi/cotpi
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(sin\|cos\|tan\|cot\)\s*pi\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<ln\s*\%(sinh\|cosh\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
" a special case in Genie?
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<atan\s*int\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Random Number Generator
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(long\s*\)\?long\s*\)\?\%(next\s*\)\?random\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<first\s*random\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<rnd\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Garbage Collection and Memory
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<collect\s*seconds\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<garbage\%(\s*\%(collections\|freed\|refused\|seconds\)\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<gc\s*heap\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<on\s*gc\s*event\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<preemptive\s*\%(gc\|sweep\%(\s*heap\)\?\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<sweep\s*heap\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<sweeps\%(\s*refused\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(system\s*\)\?\%(heap\|stack\)\s*pointer\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(actual\|system\)\s*stack\s*size\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(blocks\|collections\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" I/O on Strings
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(puts\|gets\|string\)f\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
" Character Type Tests
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<is\s*\%(alnum\|alpha\|cntrl\|digit\|graph\|lower\|print\|punct\|space\|upper\|xdigit\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
" Operations on Characters
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<to\s*\%(upper\|lower\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
" Search in Strings
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(char\|last\s*char\|string\)\s*in\s*string\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Time and Date
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cpu\|wall\|utc\|local\)\s*time\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(wall\s*\)\?clock\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(wall\s*\)\?seconds\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<sleep\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Type Operations
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(long\s*\)\?\%(bits\|bytes\)\s*pack\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(long\s*long\s*\)\?bits\s*pack\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\%([a-z0-9]\s\+\)\@8<!\<\%(bits\|whole\|fixed\|float\|real\)\>\%(\s*[a-z0-9]\)\@!\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Runtime
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(program\s*\)\?idf\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(backtrace\|break\|debug\|monitor\|abend\|evaluate\|system\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(i32\|i64\|r64\|r128\)mach\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" UNIX EXTENSIONS
|
||||
|
||||
" Environment Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(a68g\s*\)\?\%(argc\|argv\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<get\s*env\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<reset\s*errno\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<str\s*error\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(get\|set\)\s*pwd\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(rows\|columns\|abend\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<errno\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Processes
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<execve\%(\s*child\%(\s*pipe\)\?\|\s*output\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<exec\%(\s*sub\%(\s*pipeline\|\s*output\)\?\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<fork\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<wait\s*pid\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<create\s*pipe\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<peek\s*char\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<sig\s*segv\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" File types and attributes
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<file\s*is\s*\%(block\s*device\|char\s*device\|directory\|regular\|fifo\|link\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<file\s*mode\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<get\s*directory\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<real\s*path\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Fetching web page contents and sending requests
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<https\?\s*\%(content\|timeout\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<tcp\s*request\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Regular expressions in string manipulation
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<grep\s*in\s*\%(sub\)\?string\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<sub\s*in\s*string\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Curses support
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<curses\s*\%(start\|end\|clear\|refresh\|get\s*char\|put\s*char\|move\|lines\|columns\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<curses\s*\%(green\|cyan\|red\|yellow\|magenta\|blue\|white\)\%(\s*inverse\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<curses\s*del\s*char\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" POSTGRESQL CLIENT ROUTINES
|
||||
|
||||
" Connecting to a server
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<pq\s*\%(connect\s*db\|finish\|reset\|parameter\s*status\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Sending queries and retrieving results
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<pq\s*\%(exec\|ntuples\|nfields\|fname\|fnumber\|fformat\|get\s*is\s*null\|get\s*value\|cmd\s*status\|cmd\s*tuples\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Connection status information
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<pq\s*\%(\%(result\s*\)\?error\s*message\|db\|user\|pass\|host\|port\|tty\|options\|\%(protocol\|server\)\s*version\|socket\|backend\s*pid\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" SOUND
|
||||
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(new\|get\|set\)\s*sound\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn keyword algol68Operator RESOLUTION CHANNELS RATE SAMPLES
|
||||
|
||||
|
||||
" DRAWING USING THE GNU PLOTTING UTILITIES
|
||||
|
||||
" Setting up a graphics device
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<draw\s*\%(device\|erase\|show\|move\|aspect\|fill\s*style\|line\s*style\|line\s*width\|clear\|flush\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<make\s*device\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Specifying colours
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<draw\s*\%(\%(background\s*\)\?colou\?r\%(\s*name\)\?\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<draw\s*get\s*colou\?r\s*name\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Drawing objects
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<draw\s*\%(point\|line\|rect\|circle\|ball\|star\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Drawing text
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<draw\s*\%(text\%(\s*angle\)\?\|font\s*\%(name\|size\)\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" EXTRA NUMERICAL PROCEDURES
|
||||
|
||||
" COMPLEX Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?c\%(omplex\s*\)\?\%(sqrt\|exp\|ln\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(long\s*\)\?long\s*\)\?complex\s*\%(arc\s*\)\?\%(sin\|cos\|tan\)h\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
" cas casin casinh dcas dcasin dcasinh qcas qcasin qcasinh longcas longlongcas
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[dq]\?\)ca\?\%(sin\|cos\|tan\)h\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
" a special case in Genie?
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<long\s*complex\s*atanh\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" REAL Airy Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<airy\s*[ab]i\%(\s*deriv\)\?\%(\s*scaled\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<airy\s*[ab]i\%(\s*derivative\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<airy\s*zero\s*[ab]i\%(\s*deriv\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" REAL Bessel Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(jn\|yn\|in\|exp\s*in\|kn\|exp\s*kn\|jl\|yl\|exp\s*il\|exp\s*kl\|jnu\|ynu\|inu\|exp\s*inu\|knu\|exp\s*knu\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" only a few could be sensibly merged; we keep them apart
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(il[012]\?\s*scaled\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(in[01]\%(\s*scaled\)\?\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(in\s*u\?\s*scaled\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(j\%(\l[012]\|n[01]\)\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(kl[012]\?\s*scaled\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(kn[01]\%(\s*scaled\)\?\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(kn\s*[u_]\?\s*scaled\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*ln\s*knu\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*\%(y\%(\l[012]\|n[01]\)\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<bessel\s*zero\s*j\%([01]\|nu\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" REAL Elliptic Integrals
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<elliptic\s*integral\s*\%(k\|e\|rf\<rd\|rj\|rc\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" REAL Error and Gamma Functions
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(ln\s*\)\?\%(fact\|choose\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<prime\s*factors\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(long\s*\)\?long\s*\)\|[qd]\)\?\%(inv\%(erse\)\?\s*\)\?erfc\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<mpfr\s*\%(\%(\%(long\s*\)\?long\s*\)\|q\)\?\%(inv\s*\)\?erfc\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(\%(mpfr\s*\)\?long\s*\)\?long\s*\)\|\%(d\|\%(mpfr\s*\)\?q\)\)\?\%(beta\|gamma\)\%(\s*inc\s*g\?f\?\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<beta\s*inc\s*gsl\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(\%(\%(\%(mpfr\s*\)\?long\s*\)\?long\s*\)\|\%(d\|\%(mpfr\s*\)\?q\)\)\?ln\s*\%(beta\|gamma\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<mpfr\s*mp\>\%(\s*[a-z0-9]\)\@!"
|
||||
" is the following a special case in Genie?
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<mpfr\s*\%(long\s*\|d\)gamma\s*inc\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "gamma\s*\%(\%(inc\s*\%(gsl\|[pq]\)\)\|inv\|star\)\>\%(\s*\%([a-z_]\|\l\d\+\)\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<lj[ef]\s*126\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<ln1p\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
|
||||
" Scaling Factors
|
||||
|
||||
" strangely missing some common factors (hecto, deca, deci, centi),
|
||||
" also myria, and the more extreme factors (quetta, ronna, ronto, quecto)
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<num\s*\%(yotta\|zetta\|exa\|peta\|tera\|giga\|mega\|kilo\|milli\|micro\|nano\|pico\|femto\|atto\|zepto\|yocto\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" Physical Constants
|
||||
|
||||
" Fundamental Constants
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(boltzmann\|faraday\|gauss\|hectare\|\%(kilometers\|miles\)\s*per\s*hour\|micron\|molar\s*gas\|planck\s*constant\%(\s*bar\)\?\|speed\s*of\s*light\|standard\s*gas\s*volume\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<mksa\s*vacuum\s*\%(permeability\|permittivity\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<num\s*avogadro\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Astronomy and Astrophysics
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(astronomical\s*unit\|grav\s*accel\|gravitational\s*constant\|light\s*year\|parsec\|solar\s*mass\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Atomic and Nuclear Physics
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(angstrom\|barn\|bohr\s*magneton\|bohr\s*radius\|electron\s*\%(charge\|magnetic\s*moment\|volt\)\|mass\s*\%(electron\|muon\|neutron\|proton\)\|nuclear\s*magneton\|proton\s*magnetic\s*moment\|rydberg\|unified\s*atomic\s*mass\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<num\s*fine\s*structure\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Time
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(day\|hour\|minute\|week\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Imperial units
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(foot\|inch\|mil\|mile\|yard\|\%(tex\)\?point\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Nautical units
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(fathom\|knot\|nautical\s*mile\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Volume
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(acre\|\%(canadian\|uk\|us\)\s*gallon\|liter\|pint\|quart\|cup\|fluid\s*ounce\|\%(table\|tea\)\s*spoon\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Mass and weight
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(carat\|\%(gram\|\%(kilo\s*\)\?pound\)\s*force\|\%(metric\s*\|uk\s*\)\?ton\|\%(ounce\|pound\)\s*mass\|poundal\|troy\s*ounce\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Thermal energy and power
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(btu\|calorie\|horsepower\|therm\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Pressure
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(bar\|inch\s*of\s*\%(mercury\|water\)\|meter\s*of\s*mercury\|psi\|std\s*atmosphere\|torr\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Viscosity
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(poise\|stokes\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Light and illumination
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(foot\s*candle\|foot\s*lambert\|lambert\|lumen\|lux\|phot\|stilb\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Radioactivity
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(curie\|rad\|roentgen\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
" Force and energy
|
||||
syn match algol68Predefined "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(cgs\|mksa\)\s*\%(dyne\|erg\|joule\|newton\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" Functions from GSL
|
||||
|
||||
syn keyword algol68Operator CV RV T INV PINV MEAN DET TRACE NORM DYAD BEFORE ABOVE
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<angle\s*restrict\s*\%(pos\|symm\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<conical\s*p\s*\%([01]\|cylreg\|m\?half\|sph\s*reg\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<cholesky\s*\%(decomp\|solve\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<debye\s*[1-6]\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<ellint\s*\%([defp]\|[ekp]\s*comp\|r[cdfj]\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(expint\s*\%(3\|e[12in]\)\|expm1\|exprel[2n]\?\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<fermi\s*dirac\s*\%([012]\|3\?half\|inc0\|int\|m1\|mhalf\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<fft\s*\%(complex\s*\)\?\%(forward\|backward\|inverse\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(gegenpoly\|laguerre\)\s*[123n]\s*real\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<lambert\s*\%(w0\|wm1\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<legendre\s*\%(h3d\%([01]\)\?\|p[123l]\|q[01l]\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<pseudo\s*inv\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<psi\s*\%(1\%(\s*int\|\s*piy\)\?\|int\|n\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<synchrotron\s*[12]\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<taylor\s*coeff\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<transport\s*[2-5]\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<zeta\%(\s*m1\)\?\%(\s*int\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(chi\|ci\|clausen\|dawson\|digamma\|dilog\|\%(ln\s*\)\?doublefact\|eta\|eta\s*int\|hermite\s*func\|hypot\|hzeta\|laplace\|shi\|si\|sinc\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<ln1\s*\%(plusx\%(mx\)\?\)\?\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(compl\s*\)\?\%(matrix\|vector\)\s*echo\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<print\s*\%(matrix\|vector\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(complex\s*\)\?lu\s*\%(decomp\|det\|inv\|solve\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<left\s*columns\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(ols\|tls\|pcacv\|pcasvd\|pcr\|pls[12]\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<\%(ln\s*poch\|poch\s*\%(rel\)\?\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<qr\s*\%(decomp\|\%(ls\s*\)\?solve\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<svd\s*\%(decomp\|solve\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
" Functions from R Mathlib
|
||||
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[dpqr]n\?\s*binom\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*\%(di\|tri\|tetra\|penta\|psi\)\s*gamma\>\%(\s*[a-z0-9]\)\@!"
|
||||
" note: Genie documents 'r rn chisq' but it's missing in the code?
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[dpqr]n\?\s*chisq\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[dpqr]\%(\s*n\)\?\s*f\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[dpq]\%(\s*n\)\?\s*t\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[dpqr]\s*\%(l\s*\)\?norm\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[dpqr]\s*\%(beta\|cauchy\|exp\|geom\|hyper\|logis\|pois\|sign\s*rank\|t\|unif\|weibull\|wilcox\)\>\%(\s*[a-z0-9]\)\@!"
|
||||
syn match algol68Function "\%(\%([a-z_]\|\l\d\+\)\s\+\)\@8<!\<r\s*[pq]\s*tu\s*key\>\%(\s*[a-z0-9]\)\@!"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
" Define the default highlighting.
|
||||
hi def link algol68Boolean Boolean
|
||||
hi def link algol68Comment Comment
|
||||
hi def link algol68Conditional Conditional
|
||||
hi def link algol68Constant Constant
|
||||
hi def link algol68Float Float
|
||||
hi def link algol68Function Function
|
||||
hi def link algol68Label Label
|
||||
hi def link algol68MatrixDelimiter Identifier
|
||||
hi def link algol68HexNumber Number
|
||||
hi def link algol68Number Number
|
||||
hi def link algol68Operator Operator
|
||||
hi def link algol68Predefined Identifier
|
||||
hi def link algol68PreProc PreProc
|
||||
hi def link algol68Repeat Repeat
|
||||
hi def link algol68SpaceError Error
|
||||
hi def link algol68Statement Statement
|
||||
hi def link algol68String String
|
||||
hi def link algol68StringEscape Special
|
||||
hi def link algol68Struct algol68Statement
|
||||
hi def link algol68SymbolOperator algol68Operator
|
||||
hi def link algol68Todo Todo
|
||||
hi def link algol68Type Type
|
||||
hi def link algol68ShowTab Error
|
||||
|
||||
let b:current_syntax = "algol68"
|
||||
|
||||
" vim: ts=8 sw=2
|
||||
@@ -2,6 +2,7 @@
|
||||
" Language: Debian autopkgtest control files
|
||||
" Maintainer: Debian Vim Maintainers
|
||||
" Last Change: 2025 Jul 05
|
||||
" 2026 May 05 by Vim project: fix typos
|
||||
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/syntax/autopkgtest.vim
|
||||
"
|
||||
" Specification of the autopkgtest format is available at:
|
||||
@@ -31,10 +32,10 @@ syn match autopkgtestTests contained "[a-z0-9][a-z0-9+.-]\+\%(,\=\s*[a-z0-9][a-z
|
||||
syn match autopkgtestArbitrary contained "[^#]*"
|
||||
syn keyword autopkgtestRestrictions contained
|
||||
\ allow-stderr
|
||||
\ breaks-testbe
|
||||
\ build-neede
|
||||
\ breaks-testbed
|
||||
\ build-needed
|
||||
\ flaky
|
||||
\ hint-testsuite-trigger
|
||||
\ hint-testsuite-triggers
|
||||
\ isolation-container
|
||||
\ isolation-machine
|
||||
\ needs-internet
|
||||
@@ -43,10 +44,11 @@ syn keyword autopkgtestRestrictions contained
|
||||
\ needs-sudo
|
||||
\ rw-build-tree
|
||||
\ skip-foreign-architecture
|
||||
\ skip-not-installable
|
||||
\ skippable
|
||||
\ superficial
|
||||
syn keyword autopkgtestDeprecatedRestrictions contained needs-recommends
|
||||
syn keyword autopkgtestDeprecatedRestrictions contained
|
||||
\ needs-recommends
|
||||
\ skip-not-installable
|
||||
syn match autopkgtestFeatures contained 'test-name=[^, ]*\%([, ]*[^, #]\)*,\='
|
||||
syn match autopkgtestDepends contained '\%(@builddeps@\|@recommends@\|@\)'
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
" Previous Maintainer: Vincent Berthoux <twinside@gmail.com>
|
||||
" File Types: .cabal
|
||||
" Last Change: 22 Oct 2022
|
||||
"
|
||||
" 2026 Apr 29 by Léana: add missing haskell language editions
|
||||
" 2026 Apr 20 by Vim project: remove wrong oneline keyword #20018
|
||||
"
|
||||
" v1.6: Added support for foreign-libraries
|
||||
@@ -193,7 +195,9 @@ syn match cabalVersionRegionB
|
||||
\ contains=cabalStatementRegion,cabalVersionOperator,cabalVersion
|
||||
\ /^\s*\%(cabal-\)\?version\s*:.*$/
|
||||
|
||||
syn keyword cabalLanguage Haskell98 Haskell2010
|
||||
" See the following link for all Haskell language editions supported by Cabal.
|
||||
" https://cabal.readthedocs.io/en/stable/cabal-package-description-file.html#pkg-field-default-language
|
||||
syn keyword cabalLanguage Haskell98 Haskell2010 GHC2021 GHC2024
|
||||
|
||||
" title region
|
||||
syn match cabalName contained /:\@<=.*/
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
" Last Change: 2021 Nov 29
|
||||
" 2026 Feb 12 by Vim Project add partial support #19386
|
||||
" 2026 Apr 17 by Vim Project Update to Django 5.2 version #19994
|
||||
" 2026 May 17 by Vim Project Update comparison operators #20225
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -18,8 +19,6 @@ syn match djangoError "%}\|}}\|#}"
|
||||
" Django template built-in tags and parameters
|
||||
" 'comment' doesn't appear here because it gets special treatment
|
||||
syn keyword djangoStatement contained autoescape csrf_token empty
|
||||
" FIXME ==, !=, <, >, <=, and >= should be djangoStatements:
|
||||
" syn keyword djangoStatement contained == != < > <= >=
|
||||
syn keyword djangoStatement contained and as block endblock by cycle debug else elif
|
||||
syn keyword djangoStatement contained extends filter endfilter firstof for
|
||||
syn keyword djangoStatement contained endfor if endif ifchanged endifchanged
|
||||
@@ -33,7 +32,9 @@ syn keyword djangoStatement contained get_current_language noop get_available_la
|
||||
syn keyword djangoStatement contained get_current_language_bidi get_language_info plural
|
||||
syn keyword djangoStatement contained translate blocktranslate endblocktranslate
|
||||
syn keyword djangoStatement contained partialdef endpartialdef partial
|
||||
syn keyword djangoStatement contained querystring lorem verbatim
|
||||
syn keyword djangoStatement contained querystring lorem verbatim localize endlocalize
|
||||
syn keyword djangoStatement contained localtime endlocaltime timezone endtimezone
|
||||
syn keyword djangoStatement contained get_current_timezone
|
||||
|
||||
" Django templete built-in filters
|
||||
syn keyword djangoFilter contained add addslashes capfirst center cut date
|
||||
@@ -49,6 +50,7 @@ syn keyword djangoFilter contained time timesince timeuntil title truncatechars
|
||||
syn keyword djangoFilter contained truncatewords truncatewords_html unordered_list upper urlencode
|
||||
syn keyword djangoFilter contained urlize urlizetrunc wordcount wordwrap yesno
|
||||
syn keyword djangoFilter contained force_escape iriencode json_script truncatechars_html
|
||||
syn keyword djangoFilter contained localize unlocalize localtime utc timezone
|
||||
|
||||
" Keywords to highlight within comments
|
||||
syn keyword djangoTodo contained TODO FIXME XXX
|
||||
@@ -68,6 +70,9 @@ syn region djangoVarBlock start="{{" end="}}" contains=djangoFilter,djangoArgume
|
||||
syn region djangoComment start="{%\s*comment\(\s\+.\{-}\)\?%}" end="{%\s*endcomment\s*%}" contains=djangoTodo
|
||||
syn region djangoComBlock start="{#" end="#}" contains=djangoTodo
|
||||
|
||||
" Match comparison operators within Django statements.
|
||||
syn match djangoOperator "==\|!=\|<=\|>=\|<\|>" contained containedin=djangoTagBlock
|
||||
|
||||
" Define the default highlighting.
|
||||
" Only when an item doesn't have highlighting yet
|
||||
|
||||
@@ -82,6 +87,6 @@ hi def link djangoError Error
|
||||
hi def link djangoComment Comment
|
||||
hi def link djangoComBlock Comment
|
||||
hi def link djangoTodo Todo
|
||||
|
||||
hi def link djangoOperator Operator
|
||||
|
||||
let b:current_syntax = "django"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
" dockerfile.vim - Syntax highlighting for Dockerfiles
|
||||
" Maintainer: Honza Pokorny <https://honza.ca>
|
||||
" Last Change: 2024 Dec 20
|
||||
" 2026 Mar 26 by Vim Project: dockerfileShell comments (#19829)
|
||||
" License: BSD
|
||||
|
||||
" https://docs.docker.com/engine/reference/builder/
|
||||
@@ -31,7 +32,7 @@ syntax match dockerfileInstruction contained /\v<(SHELL|VOLUME)>/
|
||||
|
||||
syntax region dockerfileString contained start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
syntax region dockerfileJSON contained keepend start=/\v\[/ skip=/\v\\\_./ end=/\v$/ contains=@JSON
|
||||
syntax region dockerfileShell contained keepend start=/\v/ skip=/\v\\\_./ end=/\v$/ contains=@Shell
|
||||
syntax region dockerfileShell contained keepend start=/\v/ skip=/\v\\\_.|^\s*#.*/ end=/\v$/ contains=@Shell
|
||||
syntax region dockerfileValue contained keepend start=/\v/ skip=/\v\\\_./ end=/\v$/ contains=dockerfileString
|
||||
|
||||
syntax region dockerfileComment start=/\v^\s*#/ end=/\v$/ contains=@Spell
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
" Filenames: *.graphql *.graphqls *.gql
|
||||
" URL: https://github.com/jparise/vim-graphql
|
||||
" License: MIT <https://opensource.org/license/mit>
|
||||
" Last Change: 2024 Dec 21
|
||||
" Last Change: 2026 Apr 21
|
||||
|
||||
if !exists('main_syntax')
|
||||
if exists('b:current_syntax')
|
||||
@@ -26,8 +26,13 @@ syn match graphqlOperator "\M..." display
|
||||
syn keyword graphqlBoolean true false
|
||||
syn keyword graphqlNull null
|
||||
syn match graphqlNumber "-\=\<\%(0\|[1-9]\d*\)\%(\.\d\+\)\=\%([eE][-+]\=\d\+\)\=\>" display
|
||||
syn region graphqlString start=+"+ skip=+\\\\\|\\"+ end=+"\|$+
|
||||
syn region graphqlString start=+"""+ skip=+\\"""+ end=+"""+
|
||||
syn region graphqlString start=+"+ skip=+\\\\\|\\"+ end=+"\|$+ contains=graphqlEscape
|
||||
syn region graphqlString start=+"""+ skip=+\\"""+ end=+"""+ contains=graphqlEscape
|
||||
|
||||
syn match graphqlEscape +\\["\\/bfnrt]+ contained display
|
||||
syn match graphqlEscape +\\u\x\{4}+ contained display
|
||||
syn match graphqlEscape +\\u{\x\+}+ contained display
|
||||
syn match graphqlEscape +\\""\"+ contained display
|
||||
|
||||
syn keyword graphqlKeyword repeatable nextgroup=graphqlKeyword skipwhite
|
||||
syn keyword graphqlKeyword on nextgroup=graphqlType,graphqlDirectiveLocation skipwhite
|
||||
@@ -45,11 +50,11 @@ syn match graphqlVariable "\<\$\h\w*\>" display
|
||||
syn match graphqlName "\<\h\w*\>" display
|
||||
syn match graphqlType "\<_*\u\w*\>" display
|
||||
|
||||
" https://spec.graphql.org/October2021/#ExecutableDirectiveLocation
|
||||
" https://spec.graphql.org/September2025/#ExecutableDirectiveLocation
|
||||
syn keyword graphqlDirectiveLocation QUERY MUTATION SUBSCRIPTION FIELD
|
||||
syn keyword graphqlDirectiveLocation FRAGMENT_DEFINITION FRAGMENT_SPREAD
|
||||
syn keyword graphqlDirectiveLocation INLINE_FRAGMENT VARIABLE_DEFINITION
|
||||
" https://spec.graphql.org/October2021/#TypeSystemDirectiveLocation
|
||||
" https://spec.graphql.org/September2025/#TypeSystemDirectiveLocation
|
||||
syn keyword graphqlDirectiveLocation SCHEMA SCALAR OBJECT FIELD_DEFINITION
|
||||
syn keyword graphqlDirectiveLocation ARGUMENT_DEFINITION INTERFACE UNION
|
||||
syn keyword graphqlDirectiveLocation ENUM ENUM_VALUE INPUT_OBJECT
|
||||
@@ -73,6 +78,7 @@ hi def link graphqlBoolean Boolean
|
||||
hi def link graphqlNull Keyword
|
||||
hi def link graphqlNumber Number
|
||||
hi def link graphqlString String
|
||||
hi def link graphqlEscape Special
|
||||
|
||||
hi def link graphqlDirective PreProc
|
||||
hi def link graphqlDirectiveLocation Special
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
" Language: Django HTML template
|
||||
" Maintainer: Dave Hodder <dmh@dmh.org.uk>
|
||||
" Last Change: 2014 Jul 13
|
||||
" 2026 May 17 by Vim Project Add highlighting for comparison operators #20232
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -23,4 +24,8 @@ syn region djangoVarBlock start="{{" end="}}" contains=djangoFilter,djangoArgume
|
||||
syn region djangoComment start="{%\s*comment\(\s\+.\{-}\)\?%}" end="{%\s*endcomment\s*%}" contains=djangoTodo containedin=ALLBUT,@djangoBlocks
|
||||
syn region djangoComBlock start="{#" end="#}" contains=djangoTodo containedin=ALLBUT,@djangoBlocks
|
||||
|
||||
" Use djangoTagBlockNaive to limit the djangoOperator matched characters to avoid spill-over with HTML, JS and CSS.
|
||||
syn region djangoTagBlockNaive start="{%" end="%}" contains=djangoTagBlock,djangoVarBlock,djangoComment,djangoComBlock
|
||||
syn match djangoOperator "==\|!=\|<=\|>=\|<\|>" contained containedin=CONTAINS,@djangoTagBlockNaive
|
||||
|
||||
let b:current_syntax = "htmldjango"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" URL: http://www.fleiner.com/vim/syntax/javacc.vim
|
||||
" Last Change: 2012 Oct 05
|
||||
" 2026 May 11 by Vim project: check for existence of javaFuncDef before clearing it
|
||||
|
||||
" Uses java.vim, and adds a few special things for JavaCC Parser files.
|
||||
" Those files usually have the extension *.jj
|
||||
@@ -33,7 +34,9 @@ syn clear javaError2
|
||||
" remove function definitions (they look different) (first define in
|
||||
" in case it was not defined in java.vim)
|
||||
"syn match javaFuncDef "--"
|
||||
syn clear javaFuncDef
|
||||
if hlexists('javaFuncDef')
|
||||
syn clear javaFuncDef
|
||||
endif
|
||||
syn match javaFuncDef "[$_a-zA-Z][$_a-zA-Z0-9_. \[\]]*([^-+*/()]*)[ \t]*:" contains=javaType
|
||||
|
||||
syn keyword javaccPackages options DEBUG_PARSER DEBUG_LOOKAHEAD DEBUG_TOKEN_MANAGER
|
||||
|
||||
@@ -1,18 +1,12 @@
|
||||
" Vim syntax file
|
||||
" Language: JavaScript
|
||||
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" Updaters: Scott Shattuck (ss) <ss@technicalpursuit.com>
|
||||
" URL: http://www.fleiner.com/vim/syntax/javascript.vim
|
||||
" Changes: (ss) added keywords, reserved words, and other identifiers
|
||||
" (ss) repaired several quoting and grouping glitches
|
||||
" (ss) fixed regex parsing issue with multiple qualifiers [gi]
|
||||
" (ss) additional factoring of keywords, globals, and members
|
||||
" Last Change: 2022 Jun 09
|
||||
" 2013 Jun 12: adjusted javaScriptRegexpString (Kevin Locke)
|
||||
" 2018 Apr 14: adjusted javaScriptRegexpString (LongJohnCoder)
|
||||
" 2024 Aug 14: fix a few stylistic issues (#15480)
|
||||
" 2025 Aug 07: as is a reserved keyword (#17912)
|
||||
" 2025 Sep 24: using is a reserved keyword (Devin Weaver)
|
||||
" Language: JavaScript
|
||||
" Maintainer: This runtime file is looking for a maintainer.
|
||||
" Previous Maintainer: Claudio Fleiner <claudio@fleiner.com>
|
||||
" Contributors: Scott Shattuck <ss@technicalpursuit.com>
|
||||
" Kevin Locke
|
||||
" LongJohnCoder
|
||||
" Devin Weaver
|
||||
" Last Change: 2026 Apr 26
|
||||
|
||||
" tuning parameters:
|
||||
" unlet javaScript_fold
|
||||
@@ -52,7 +46,14 @@ syn match javaScriptNumber "\<\d\+\(_\d\+\)*[eE][+-]\?\d\+\>"
|
||||
syn match javaScriptNumber "\<[1-9]\d*\(_\d\+\)*\(\.\(\d\+\(_\d\+\)*\([eE][+-]\?\d\+\)\?\)\?\)\?\>"
|
||||
syn match javaScriptNumber "\<\(\d\+\(_\d\+\)*\)\?\.\d\+\(_\d\+\)*\([eE][+-]\?\d\+\)\?\>"
|
||||
syn match javaScriptNumber "\<\d\+\(_\d\+\)*\.\(\d\+\(_\d\+\)*\([eE][+-]\?\d\+\)\?\)\?\>"
|
||||
syn region javaScriptRegexpString start=+[,(=+]\s*/[^/*]+ms=e-1,me=e-1 skip=+\\\\\|\\/+ end=+/[gimuys]\{0,2\}\s*$+ end=+/[gimuys]\{0,2\}\s*[+;.,)\]}]+me=e-1 end=+/[gimuys]\{0,2\}\s\+\/+me=e-1 contains=@htmlPreproc,javaScriptComment oneline
|
||||
syn region javaScriptRegexpString
|
||||
\ start=+\%([,(=+]\s*\)\@8<=/[^/*]+
|
||||
\ skip=+\\\\\|\\/+
|
||||
\ end=+/[dgimsuvy]\{0,7\}\ze\s*$+
|
||||
\ end=+/[dgimsuvy]\{0,7\}\ze\s*[+;.,)\]}]+
|
||||
\ end=+/[dgimsuvy]\{0,7\}\ze\s\+\/+
|
||||
\ contains=@htmlPreproc,javaScriptComment
|
||||
\ oneline
|
||||
|
||||
syn keyword javaScriptConditional if else switch
|
||||
syn keyword javaScriptRepeat while for do in of
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
" Maintainer: Chase Knowlden <haroldknowlden@gmail.com>
|
||||
" Changes: `git log` is your friend
|
||||
" Last Change: 2023 Aug 16
|
||||
" 2026 Apr 16 by Vim project: handle ?. optional chaining #19988
|
||||
"
|
||||
" This file is bassed on the original work done by Warwick Allison
|
||||
" <warwick.allison@nokia.com> whose did about 99% of the work here.
|
||||
@@ -44,6 +45,7 @@ syn match qmlObjectLiteralType "[A-Za-z][_A-Za-z0-9]*\s*\({\)\@="
|
||||
syn region qmlTernaryColon start="?" end=":" contains=@qmlExpr,qmlBraces,qmlParens,qmlLineComment
|
||||
syn match qmlBindingProperty "\<[A-Za-z][_A-Za-z.0-9]*\s*:"
|
||||
syn match qmlNullishCoalescing "??"
|
||||
syn match qmlOptionalChaining "?\."
|
||||
|
||||
syn keyword qmlConditional if else switch
|
||||
syn keyword qmlRepeat while for do in
|
||||
|
||||
@@ -3,28 +3,7 @@
|
||||
" Maintainer: This runtime file is looking for a new maintainer.
|
||||
" Previous Maintainers: Charles E. Campbell
|
||||
" Lennart Schultz <Lennart.Schultz@ecmwf.int>
|
||||
" Last Change: 2024 Mar 04 by Vim Project {{{1
|
||||
" 2024 Nov 03 by Aliaksei Budavei <0x000c70 AT gmail DOT com> improved bracket expressions, #15941
|
||||
" 2025 Jan 06 add $PS0 to bashSpecialVariables #16394
|
||||
" 2025 Jan 18 add bash coproc, remove duplicate syn keywords #16467
|
||||
" 2025 Mar 21 update shell capability detection #16939
|
||||
" 2025 Apr 03 command substitution opening paren at EOL #17026
|
||||
" 2025 Apr 10 improve shell detection #17084
|
||||
" 2025 Apr 29 match escaped chars in test operands #17221
|
||||
" 2025 May 06 improve single-quote string matching in parameter expansions
|
||||
" 2025 May 06 match KornShell compound arrays
|
||||
" 2025 May 10 improve wildcard character class lists
|
||||
" 2025 May 21 improve supported KornShell features
|
||||
" 2025 Jun 16 change how sh_fold_enabled is reset #17557
|
||||
" 2025 Jul 18 properly delete :commands #17785
|
||||
" 2025 Aug 23 bash: add support for ${ cmd;} and ${|cmd;} #18084
|
||||
" 2025 Sep 23 simplify ksh logic, update sh statements #18355
|
||||
" 2026 Jan 15 highlight command switches that contain a digit
|
||||
" 2026 Feb 11 improve support for KornShell function names and variables
|
||||
" 2026 Feb 15 improve comment handling #19414
|
||||
" 2026 Mar 23 improve matching of function definitions #19638
|
||||
" 2026 Apr 02 improve matching of function definitions #19849
|
||||
" }}}
|
||||
" Last Change: 2026 May 17 by Vim Project
|
||||
" Version: 208
|
||||
" Former URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH
|
||||
" For options and settings, please use: :help ft-sh-syntax
|
||||
@@ -279,7 +258,7 @@ syn cluster shDerefList contains=shDeref,shDerefSimple,shDerefVar,shDerefSpecial
|
||||
syn cluster shDerefVarList contains=shDerefOffset,shDerefOp,shDerefVarArray,shDerefOpError
|
||||
syn cluster shEchoList contains=shArithmetic,shBracketExpr,shCommandSub,shCommandSubBQ,shDerefVarArray,shSubshare,shValsub,shDeref,shDerefSimple,shEscape,shExSingleQuote,shExDoubleQuote,shSingleQuote,shDoubleQuote,shCtrlSeq,shEchoQuote
|
||||
syn cluster shExprList1 contains=shBracketExpr,shNumber,shOperator,shExSingleQuote,shExDoubleQuote,shSingleQuote,shDoubleQuote,shExpr,shDblBrace,shDeref,shDerefSimple,shCtrlSeq
|
||||
syn cluster shExprList2 contains=@shExprList1,@shCaseList,shTest
|
||||
syn cluster shExprList2 contains=@shExprList1,@shCaseList,shTest,shFunctionNameError
|
||||
syn cluster shFunctionCmds contains=shFor,shCaseEsac,shIf,shRepeat,shDblBrace,shDblParen
|
||||
if exists("b:is_ksh88") || exists("b:is_mksh")
|
||||
" Offer "shFunctionCmds" as is.
|
||||
@@ -305,7 +284,7 @@ if exists("b:is_kornshell") || exists("b:is_bash")
|
||||
endif
|
||||
syn cluster shPPSLeftList contains=shAlias,shArithmetic,shBracketExpr,shCmdParenRegion,shCommandSub,shSubshare,shValsub,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shEcho,shEscape,shExDoubleQuote,shExpr,shExSingleQuote,shHereDoc,shNumber,shOperator,shOption,shPosnParm,shHereString,shRedir,shSingleQuote,shSpecial,shStatement,shSubSh,shTest,shVariable
|
||||
syn cluster shPPSRightList contains=shDeref,shDerefSimple,shEscape,shPosnParm
|
||||
syn cluster shSubShList contains=shBracketExpr,@shCommandSubList,shCommandSubBQ,shSubshare,shValsub,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq,shOperator
|
||||
syn cluster shSubShList contains=shBracketExpr,@shCommandSubList,shCommandSubBQ,shSubshare,shValsub,shCaseEsac,shColon,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shIf,shHereString,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq,shOperator,shFunctionNameError
|
||||
syn cluster shTestList contains=shArithmetic,shBracketExpr,shCommandSub,shCommandSubBQ,shSubshare,shValsub,shCtrlSeq,shDeref,shDerefSimple,shDoubleQuote,shSpecialDQ,shExDoubleQuote,shExpr,shExSingleQuote,shNumber,shOperator,shSingleQuote,shTest,shTestOpr
|
||||
syn cluster shNoZSList contains=shSpecialNoZS
|
||||
syn cluster shForList contains=shTestOpr,shNumber,shDerefSimple,shDeref,shCommandSub,shCommandSubBQ,shSubshare,shValsub,shArithmetic
|
||||
@@ -664,40 +643,48 @@ endif
|
||||
ShFoldFunctions syn region shFunctionExpr matchgroup=shFunctionExprRegion start="{" end="}" contains=@shFunctionList contained skipwhite skipnl nextgroup=shQuickComment
|
||||
ShFoldFunctions syn region shFunctionSubSh matchgroup=shFunctionSubShRegion start="(" end=")" contains=@shFunctionList contained skipwhite skipnl nextgroup=shQuickComment
|
||||
|
||||
syn match shFunctionParens "()" contained
|
||||
|
||||
if exists("b:is_bash")
|
||||
syn keyword shFunctionKey coproc
|
||||
syn match shFunctionCmdOne "\%#=1^\s*\zs\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionCmdTwo "\%#=1\%(\%(\<\k\+\>\|[^()<>|&$;\t ]\+\)\+\)\@>\ze\s*\%(()\ze\)\=\_s*\%(\<\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" contained skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionOne "\%#=1^\s*\zs\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionTwo "\%#=1\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\ze\s*\%(()\ze\)\=\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionThree "\%#=1^\s*\zs\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionFour "\%#=1\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\ze\s*\%(\%(()\ze\)\=\)\@>\_s*((\@!" contained skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionCmdOne "\%#=1^\s*\zs\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionCmdTwo "\%#=1\%(\%(\<\k\+\>\|[^()<>|&$;\t ]\+\)\+\)\@>\ze\s*\%(()\ze\)\=\_s*\%(\<\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" contained skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionOne "\%#=1^\s*\zs\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionTwo "\%#=1\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\ze\s*\%(()\ze\)\=\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionThree "\%#=1^\s*\zs\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
syn match shFunctionFour "\%#=1\%(\%(\<\k\+\|[^()<>|&$;\t ]\+\)\+\)\@>\ze\s*\%(\%(()\ze\)\=\)\@>\_s*((\@!" contained skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
" Claim empty array assignments.
|
||||
syn match shArrayEmptyDecl "\%#=1\ze\%(\<\h\w*=\)\@>()" transparent nextgroup=shVariable
|
||||
|
||||
if !exists("g:sh_no_error")
|
||||
syn match shFunctionNameError "\%#=1\%(\%(\<\h\w*\)\@>=\)\%(\%(\w\+\)\@>=\=\)\+()" skipwhite skipnl nextgroup=shExpr,shSubSh
|
||||
endif
|
||||
elseif exists("b:is_ksh88")
|
||||
" AT&T ksh88
|
||||
syn match shFunctionCmdOne "^\s*\zs\h\w*\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionOne "^\s*\zs\h\w*\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionCmdOne "^\s*\zs\h\w*\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionOne "^\s*\zs\h\w*\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionTwo "\<\h\w*\>\ze\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionThree "^\s*\zs\h\w*\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionThree "^\s*\zs\h\w*\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
elseif exists("b:is_mksh")
|
||||
" MirBSD ksh is the wild west of absurd and abstruse function names...
|
||||
syn match shFunctionCmdOne "^\s*\zs[-A-Za-z_@!+.%,0-9:]*[-A-Za-z_.%,0-9:]\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionOne "^\s*\zs[-A-Za-z_@!+.%,0-9:]*[-A-Za-z_.%,0-9:]\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionTwo "\%#=1\%(\%(\<\w\+\|[@!+.%,:-]\+\)*[-A-Za-z_.%,0-9:]\)\@>\ze\s*\%(()\ze\)\=\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionThree "^\s*\zs[-A-Za-z_@!+.%,0-9:]*[-A-Za-z_.%,0-9:]\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionCmdOne "^\s*\zs[-A-Za-z_@!+.%,0-9:]*[-A-Za-z_.%,0-9:]\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionOne "^\s*\zs[-A-Za-z_@!+.%,0-9:]*[-A-Za-z_.%,0-9:]\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionTwo "\%#=1\%(\%(\<\w\+\|[@!+.%,:-]\+\)*[-A-Za-z_.%,0-9:]\)\@>\ze\s*\%(()\ze\)\=\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionThree "^\s*\zs[-A-Za-z_@!+.%,0-9:]*[-A-Za-z_.%,0-9:]\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
elseif exists("b:is_kornshell")
|
||||
" ksh93
|
||||
syn match shFunctionCmdOne "^\s*\zs[A-Za-z_.][A-Za-z_.0-9]*\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionOne "^\s*\zs[A-Za-z_.][A-Za-z_.0-9]*\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionCmdOne "^\s*\zs[A-Za-z_.][A-Za-z_.0-9]*\s*()\ze\_s*\%(\%(for\|case\|select\|if\|while\|until\)\>\|\[\[\s\|((\)" skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionOne "^\s*\zs[A-Za-z_.][A-Za-z_.0-9]*\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionTwo "\%(\<\h\+\|\.\)[A-Za-z_.0-9]*\ze\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionThree "^\s*\zs[A-Za-z_.][A-Za-z_.0-9]*\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionThree "^\s*\zs[A-Za-z_.][A-Za-z_.0-9]*\s*()\ze\_s*((\@!" skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
syn match shNamespaceOne "\<\h\w*\>\ze\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr
|
||||
else
|
||||
syn match shFunctionCmdOne "^\s*\zs\h\w*\s*()\ze\_s*\%(for\|case\|if\|while\|until\)\>" skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionCmdTwo "\<\h\w*\s*()\ze\_s*\%(for\|case\|if\|while\|until\)\>" contained skipwhite skipnl nextgroup=@shFunctionCmds
|
||||
syn match shFunctionOne "^\s*\zs\h\w*\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionTwo "\<\h\w*\>\s*()\ze\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr
|
||||
syn match shFunctionThree "^\s*\zs\h\w*\s*()\ze\_s*(" skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionFour "\<\h\w*\>\s*()\ze\_s*(" contained skipwhite skipnl nextgroup=shFunctionSubSh
|
||||
syn match shFunctionCmdOne "^\s*\zs\h\w*\s*()\ze\_s*\%(for\|case\|if\|while\|until\)\>" skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionCmdTwo "\<\h\w*\s*()\ze\_s*\%(for\|case\|if\|while\|until\)\>" contained skipwhite skipnl nextgroup=@shFunctionCmds contains=shFunctionParens
|
||||
syn match shFunctionOne "^\s*\zs\h\w*\s*()\ze\_s*{" skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionTwo "\<\h\w*\>\s*()\ze\_s*{" contained skipwhite skipnl nextgroup=shFunctionExpr contains=shFunctionParens
|
||||
syn match shFunctionThree "^\s*\zs\h\w*\s*()\ze\_s*(" skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
syn match shFunctionFour "\<\h\w*\>\s*()\ze\_s*(" contained skipwhite skipnl nextgroup=shFunctionSubSh contains=shFunctionParens
|
||||
endif
|
||||
|
||||
if !exists("g:sh_no_error")
|
||||
@@ -751,13 +738,15 @@ endif
|
||||
if exists("b:is_bash")
|
||||
syn region shDeref matchgroup=PreProc start="\${!" end="\*\=}" contains=@shDerefList,shDerefOffset
|
||||
syn match shDerefVar contained "{\@<=!\h\w*" nextgroup=@shDerefVarList
|
||||
syn match shDerefSpecial contained "\({!\)\@<=[[:alnum:]*#@_]\+" nextgroup=@shDerefVarList,shDerefOp
|
||||
endif
|
||||
if (exists("b:is_kornshell") && !exists("b:is_ksh88"))
|
||||
syn match shDerefVar contained "{\@<=!\h\w*[[:alnum:]_.]*" nextgroup=@shDerefVarList
|
||||
syn match shDerefSpecial contained "\({!\)\@<=[[:alnum:]*#@_]\+" nextgroup=@shDerefVarList,shDerefOp
|
||||
endif
|
||||
|
||||
syn match shDerefSpecial contained "{\@<=[-*@?0]" nextgroup=shDerefOp,shDerefOffset,shDerefOpError
|
||||
syn match shDerefSpecial contained "\({[#!]\)\@<=[[:alnum:]*@_]\+" nextgroup=@shDerefVarList,shDerefOp
|
||||
syn match shDerefSpecial contained "\({[#]\)\@<=[[:alnum:]*@_]\+" nextgroup=@shDerefVarList,shDerefOp
|
||||
syn match shDerefVar contained "{\@<=\h\w*" nextgroup=@shDerefVarList
|
||||
syn match shDerefVar contained '\d' nextgroup=@shDerefVarList
|
||||
if exists("b:is_kornshell") || exists("b:is_posix")
|
||||
@@ -964,6 +953,9 @@ if !exists("skip_sh_syntax_inits")
|
||||
hi def link shInError Error
|
||||
hi def link shParenError Error
|
||||
hi def link shTestError Error
|
||||
if exists("b:is_bash")
|
||||
hi def link shFunctionNameError Error
|
||||
endif
|
||||
if exists("b:is_kornshell") || exists("b:is_posix")
|
||||
hi def link shDTestError Error
|
||||
endif
|
||||
@@ -984,6 +976,7 @@ if !exists("skip_sh_syntax_inits")
|
||||
hi def link shCtrlSeq Special
|
||||
hi def link shExprRegion Delimiter
|
||||
hi def link shFunctionKey Keyword
|
||||
hi def link shFunctionParens Delimiter
|
||||
hi def link shFunctionOne Function
|
||||
hi def link shFunctionTwo shFunctionOne
|
||||
hi def link shFunctionThree shFunctionOne
|
||||
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_00.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_00.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
>#+0#0000e05#ffffff0| +0#0000000&@73
|
||||
| +0#0000e05&@3|V|I|M|_|T|E|S|T|_|S|E|T|U|P| |l|e|t| |g|:|a|l|g|o|l|6|8|_|s|y|m|b|o|l|i|c|_|o|p|e|r|a|t|o|r|s| |=| |1| +0#0000000&@19
|
||||
|#+0#0000e05&| +0#0000000&@73
|
||||
|#+0#0000e05&| +0#0000000&@73
|
||||
| +0#0000e05&@3|A|l|g|o|l| |6|8| |p|r|e|l|u|d|e| |i|d|e|n|t|i|f|i|e|r| |f|r|o|m| |t|h|e| |G|e|n|i|e| |s|o|u|r|c|e| |c|o|d|e| |f|i|l|e|s|.| +0#0000000&@9
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|P|r|o|v|i|d|e|d| |a|s| |a| |b|a|s|e| |t|o| |v|e|r|i|f|y| |t|h|e| |c|o|r@1|e|c|t| |s|y|n|t|a|x| |h|i|g|h|l|i|g|h|t|i|n|g| +0#0000000&@10
|
||||
| +0#0000e05&@3|o|f| |t|h|e| |a|l|g|o|l|6|8|.|v|i|m| |s|y|n|t|a|x| |f|i|l|e| |f|o|r| |t|h|e| |V|i|m| |e|d|i|t|o|r|.| +0#0000000&@20
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|T|h|e|r|e|'|s| |f|o|u|r| |s|e|c|t|i|o|n|s|,| |e|a|c|h| |r|e|p|r|e|s|e|n|t|i|n|g| |a|n| |o|r|i|g|i|n|a|l| |f|i|l|e|,| +0#0000000&@12
|
||||
| +0#0000e05&@3|t|h|a|t| |a|r|e| |e|n|c|l|o|s|e|d| |i|n| |t|h|e| |U|n|i|x|-|'|m|o|r|e|'| |f|o|r|m| |t|o| |s|t|a|n|d| |o|u|t|.| +0#0000000&@15
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|S|o|m|e| |i|n|f|o|r|m|a|l| |c|o|m@1|e|n|t|s| |f|r|o|m| |t|h|e| |s|o|u|r|c|e| |c|o|d|e| |l|e|f|t| |i|n|t|a|c|t| |a|s| +0#0000000&@12
|
||||
| +0#0000e05&@3|a| |c|o|m@1|e|n|t| |i|n| |A|l|g|o|l| |6|8| |s|y|n|t|a|x|.| +0#0000000&@41
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|D|e|p|e|n|d|i|n|g| |o|n| |t|h|e| |l|a|n|g|u|a|g|e| |c|o|n|t|e|x|t| |t|h|e|r|e|'|s| |d|u|p|l|i|c|a|t|e|s| |i|n| |t|h|e| +0#0000000&@11
|
||||
| +0#0000e05&@3|l|i|s|t|,| |t|h|a|t| |a|r|e| |k|e|p|t| |f|o|r| |c|l|a|r|i|t|y| |g|i|v|e|n| |t|h|e| |a|s@1|o|c|i|a|t|e|d| |i|n|f|o|r|m|a|l| +0#0000000&@9
|
||||
| +0#0000e05&@3|c|o|m@1|e|n|t| |a|s@1|o|c|i|a|t|e|d| |w|i|t|h| |t|h|e|m|.| +0#0000000&@41
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
@57|1|,|1| @10|T|o|p|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_01.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_01.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#0000e05#ffffff0@3|a| |c|o|m@1|e|n|t| |i|n| |A|l|g|o|l| |6|8| |s|y|n|t|a|x|.| +0#0000000&@41
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|D|e|p|e|n|d|i|n|g| |o|n| |t|h|e| |l|a|n|g|u|a|g|e| |c|o|n|t|e|x|t| |t|h|e|r|e|'|s| |d|u|p|l|i|c|a|t|e|s| |i|n| |t|h|e| +0#0000000&@11
|
||||
| +0#0000e05&@3|l|i|s|t|,| |t|h|a|t| |a|r|e| |k|e|p|t| |f|o|r| |c|l|a|r|i|t|y| |g|i|v|e|n| |t|h|e| |a|s@1|o|c|i|a|t|e|d| |i|n|f|o|r|m|a|l| +0#0000000&@9
|
||||
| +0#0000e05&@3|c|o|m@1|e|n|t| |a|s@1|o|c|i|a|t|e|d| |w|i|t|h| |t|h|e|m|.| +0#0000000&@41
|
||||
| +0#0000e05&@2> | +0#0000000&@70
|
||||
| +0#0000e05&@3|S|o|m|e| |e|n|t|r|i|e|s| |d|e|l|i|b|e|r|a|t|e|l|y| |c|o|n|t|a|i|n| |t|w|o| |i|d|e|n|t|i|f|i|e|r| |v|a|r|i|a|n|t|s| |t|h|a|t| +0#0000000&@8
|
||||
| +0#0000e05&@3|m|a|y| |b|e| |u|s|e|d| |a|s| |a|l|t|e|r|n|a|t|i|v|e| |f|o|r|m| |i|n| |a|n| |A|l|g|o|l| |6|8| |G|e|n|i|e| |p|r|o|g|r|a|m|.| +0#0000000&@9
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|T|h|e| |i|d|e|n|t|i|f|i|e|r|s| |a|r|e| |p|r|e|s|e|n|t|e|d| |i|n| |t|w|o| |v|a|r|i|a|n|t|s| |s|e|p|a|r|a|t|e|d| |b|y| |a| +0#0000000&@10
|
||||
| +0#0000e05&@3|t|a|b|u|l|a|t|o|r|;| |f|i|r|s|t| |w|i|t|h| |s|p|a|c|e|s|,| |t|h|e|n| |i|n| |c|a|n|o|n|i|c|a|l| |f|o|r|m| |w|i|t|h|o|u|t| +0#0000000&@10
|
||||
| +0#0000e05&@3|s|p|a|c|e|s|.| |V|a|r|i|a|n|t|s| |w|i|t|h| |s|p|a|c|e|s| |a|r|e| |s|u|p@1|o|r|t|e|d| |b|y| |t|h|e| |V|i|m| |s|y|n|t|a|x| +0#0000000&@10
|
||||
| +0#0000e05&@3|f|i|l|e| |a|s| |t|h|e| |A|l|g|o|l| |6|8| |l|a|n|g|u|a|g|e| |d|o|e|s|.| +0#0000000&@35
|
||||
| +0#0000e05&@3|B|u|t| |n|o|t|e| |t|h|a|t| |w|h|i|l|e| |A|l|g|o|l| |6|8| |a|l@1|o|w|s| |a|r|b|i|t|r|a|r|y| |s|p|a|c|i|n|g| |w|i|t|h|i|n| +0#0000000&@10
|
||||
| +0#0000e05&@3|i|d|e|n|t|i|f|i|e|r|s| |-| |e|v|e|n| |a|s| |e|x|t|r|e|m|e| |a|s| |w|r|i|t|i|n|g| |o|n|e| |c|h|a|r|a|c|t|e|r| |p|e|r| +0#0000000&@12
|
||||
| +0#0000e05&@3|l|i|n|e|!| |-| |t|h|e| |V|i|m| |s|y|n|t|a|x| |f|i|l|e| |f|o|r| |A|l|g|o|l| |6|8| |h|a|d| |d|e|l|i|b|e|r|a|t|e|l|y| +0#0000000&@13
|
||||
| +0#0000e05&@3|b|e@1|n| |d|e|f|i|n|e|d| |i|n| |a| |w|a|y| |r|e|s|t|r|i|c|t|i|n|g| |t|h|e| |h|i|g|h|l|i|g|h|t|e|d| |o|p|t|i|o|n|s|;| +0#0000000&@12
|
||||
| +0#0000e05&@3|s|p|a|c|i|n|g| |c|a|n| |u|s|u|a|l@1|y| |b|e| |i|n|s|e|r|t|e|d| |w|h|e|r|e| |"|n|a|t|u|r|a|l| |w|o|r|d|s|"| |w|o|u|l|d| +0#0000000&@11
|
||||
| +0#0000e05&@3|a|l@1|o|w| |a| |s|e|p|a|r|a|t|i|o|n| |(|s|a|y| |f|o|r| |'|i|n|t|w|i|d|t|h|'| |y|o|u| |m|a|y| |w|r|i|t|e|,| |e|.|g|.|,| +0#0000000&@11
|
||||
@57|1|9|,|4| @10|0|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_02.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_02.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0#0000e05#ffffff0@3|a|l@1|o|w| |a| |s|e|p|a|r|a|t|i|o|n| |(|s|a|y| |f|o|r| |'|i|n|t|w|i|d|t|h|'| |y|o|u| |m|a|y| |w|r|i|t|e|,| |e|.|g|.|,| +0#0000000&@11
|
||||
| +0#0000e05&@3|'|i|n|t| |w|i|d|t|h|'| |b|u|t| |n|o|t| |'|i|n|t| |w|i|d| |t|h|'|;| |t|h|e| |l|a|t@1|e|r| |w|o|u|l|d| |n|o|t| |g|e|t| +0#0000000&@12
|
||||
| +0#0000e05&@3|h|i|g|h|l|i|g|h|t|e|d|)|.| +0#0000000&@57
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|M|o|d|e|l|i|n|e|s| |a|r|e| |s|e|t| |t|o| |s|i|m|p|l|y| |i|n|s|p|e|c|t| |t|h|e| |c|o|r@1|e|c|t| |h|i|g|h|l|i|g|h|t|i|n|g| +0#0000000&@10
|
||||
| +0#0000e05&@3>i|n| |t|h|i|s| |f|i|l|e|.| +0#0000000&@57
|
||||
| +0#0000e05&@3| +0#0000000&@70
|
||||
| +0#0000e05&@3|J|a|n|i|s| |P|a|p|a|n|a|g|n|o|u|,| |2|0|2|6|-|0|4|-|2|3| +0#0000000&@42
|
||||
|#+0#0000e05&| +0#0000000&@73
|
||||
@75
|
||||
|#+0#0000e05&|:@12| +0#0000000&@60
|
||||
|p+0#0000e05&|r|e|l|u|d|e|.|c| +0#0000000&@65
|
||||
|:+0#0000e05&@12|#| +0#0000000&@60
|
||||
@75
|
||||
|#+0#0000e05&| |P|r|i|m|i|t|i|v|e| |A|6|8| |m|o|i|d|s|.| |#| +0#0000000&@50
|
||||
@2|V+0#00e0003&|O|I|D| +0#0000000&@41|V+0#00e0003&|O|I|D| +0#0000000&@22
|
||||
|#+0#0000e05&| |S|t|a|n|d|a|r|d| |p|r|e|c|i|s|i|o|n|.| |#| +0#0000000&@51
|
||||
@2|I+0#00e0003&|N|T| +0#0000000&@42|I+0#00e0003&|N|T| +0#0000000&@23
|
||||
@2|R+0#00e0003&|E|A|L| +0#0000000&@41|R+0#00e0003&|E|A|L| +0#0000000&@22
|
||||
@57|3|7|,|5| @10|1|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_03.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_03.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|R+0#00e0003&|E|A|L| +0#0000000&@41|R+0#00e0003&|E|A|L| +0#0000000&@22
|
||||
@2|C+0#00e0003&|O|M|P|L|E|X| +0#0000000&@38|C+0#00e0003&|O|M|P|L|E|X| +0#0000000&@19
|
||||
@2|C+0#00e0003&|O|M|P|L| +0#0000000&@40|C+0#00e0003&|O|M|P|L| +0#0000000&@21
|
||||
@2|B+0#00e0003&|I|T|S| +0#0000000&@41|B+0#00e0003&|I|T|S| +0#0000000&@22
|
||||
@2|B+0#00e0003&|Y|T|E|S| +0#0000000&@40|B+0#00e0003&|Y|T|E|S| +0#0000000&@21
|
||||
>#+0#0000e05&| |M|u|l|t|i|p|l|e| |p|r|e|c|i|s|i|o|n|.| |#| +0#0000000&@51
|
||||
@2|I+0#00e0003&|N|T| +0#0000000&@42|I+0#00e0003&|N|T| +0#0000000&@23
|
||||
@2|R+0#00e0003&|E|A|L| +0#0000000&@41|R+0#00e0003&|E|A|L| +0#0000000&@22
|
||||
@2|C+0#00e0003&|O|M|P|L|E|X| +0#0000000&@38|C+0#00e0003&|O|M|P|L|E|X| +0#0000000&@19
|
||||
@2|C+0#00e0003&|O|M|P|L| +0#0000000&@40|C+0#00e0003&|O|M|P|L| +0#0000000&@21
|
||||
@2|B+0#00e0003&|I|T|S| +0#0000000&@41|B+0#00e0003&|I|T|S| +0#0000000&@22
|
||||
@2|B+0#00e0003&|Y|T|E|S| +0#0000000&@40|B+0#00e0003&|Y|T|E|S| +0#0000000&@21
|
||||
@2|R+0#00e0003&|E|A|L| +0#0000000&@41|R+0#00e0003&|E|A|L| +0#0000000&@22
|
||||
@2|I+0#00e0003&|N|T| +0#0000000&@42|I+0#00e0003&|N|T| +0#0000000&@23
|
||||
@2|C+0#00e0003&|O|M|P|L|E|X| +0#0000000&@38|C+0#00e0003&|O|M|P|L|E|X| +0#0000000&@19
|
||||
@2|C+0#00e0003&|O|M|P|L| +0#0000000&@40|C+0#00e0003&|O|M|P|L| +0#0000000&@21
|
||||
@2|B+0#00e0003&|I|T|S| +0#0000000&@41|B+0#00e0003&|I|T|S| +0#0000000&@22
|
||||
|#+0#0000e05&| |O|t|h|e|r|.| |#| +0#0000000&@64
|
||||
@2|B+0#00e0003&|O@1|L| +0#0000000&@41|B+0#00e0003&|O@1|L| +0#0000000&@22
|
||||
@57|5@1|,|1| @10|2|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_04.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_04.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|B+0#00e0003&|O@1|L| +0#0000000&@41|B+0#00e0003&|O@1|L| +0#0000000&@22
|
||||
@2|C+0#00e0003&|H|A|R| +0#0000000&@41|C+0#00e0003&|H|A|R| +0#0000000&@22
|
||||
@2|S+0#00e0003&|T|R|I|N|G| +0#0000000&@39|S+0#00e0003&|T|R|I|N|G| +0#0000000&@20
|
||||
@2|F+0#00e0003&|I|L|E| +0#0000000&@41|F+0#00e0003&|I|L|E| +0#0000000&@22
|
||||
@2|C+0#00e0003&|H|A|N@1|E|L| +0#0000000&@38|C+0#00e0003&|H|A|N@1|E|L| +0#0000000&@19
|
||||
@2>P+0#00e0003&|I|P|E| +0#0000000&@41|P+0#00e0003&|I|P|E| +0#0000000&@22
|
||||
@2|F+0#00e0003&|O|R|M|A|T| +0#0000000&@39|F+0#00e0003&|O|R|M|A|T| +0#0000000&@20
|
||||
@2|S+0#00e0003&|E|M|A| +0#0000000&@41|S+0#00e0003&|E|M|A| +0#0000000&@22
|
||||
@2|S+0#00e0003&|O|U|N|D| +0#0000000&@40|S+0#00e0003&|O|U|N|D| +0#0000000&@21
|
||||
|#+0#0000e05&| |I|d|e|n|t|i|f|i|e|r|s|.| |#| +0#0000000&@58
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |p|i|;+0#0000000&| @1|q+0#00e0e07&|p|i|;+0#0000000&| @26|l+0#00e0e07&|o|n|g|l|o|n|g|p|i|;+0#0000000&| @1|q+0#00e0e07&|p|i| +0#0000000&@10
|
||||
|#+0#0000e05&| |#| +0#0000000&@71
|
||||
@2|b+0#00e0e07&|i|t|s| |l|e|n|g|t|h|s|;+0#0000000&| @32|b+0#00e0e07&|i|t|s|l|e|n|g|t|h|s| +0#0000000&@15
|
||||
@2|b+0#00e0e07&|i|t|s| |s|h|o|r|t|h|s|;+0#0000000&| @32|b+0#00e0e07&|i|t|s@1|h|o|r|t|h|s| +0#0000000&@15
|
||||
@2|b+0#00e0e07&|i|t|s| |w|i|d|t|h|;+0#0000000&| @34|b+0#00e0e07&|i|t|s|w|i|d|t|h| +0#0000000&@17
|
||||
@2|b+0#00e0e07&|y|t|e|s| |l|e|n|g|t|h|s|;+0#0000000&| @31|b+0#00e0e07&|y|t|e|s|l|e|n|g|t|h|s| +0#0000000&@14
|
||||
@2|b+0#00e0e07&|y|t|e|s| |s|h|o|r|t|h|s|;+0#0000000&| @31|b+0#00e0e07&|y|t|e|s@1|h|o|r|t|h|s| +0#0000000&@14
|
||||
@2|b+0#00e0e07&|y|t|e|s| |w|i|d|t|h|;+0#0000000&| @33|b+0#00e0e07&|y|t|e|s|w|i|d|t|h| +0#0000000&@16
|
||||
@2|c+0#00e0e07&|o|m|p|l| |l|e|n|g|t|h|s|;+0#0000000&| @31|c+0#00e0e07&|o|m|p|l@1|e|n|g|t|h|s| +0#0000000&@14
|
||||
@57|7|3|,|3| @10|3|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_05.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_05.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|c+0#00e0e07&|o|m|p|l| |l|e|n|g|t|h|s|;+0#0000000&| @31|c+0#00e0e07&|o|m|p|l@1|e|n|g|t|h|s| +0#0000000&@14
|
||||
@2|c+0#00e0e07&|o|m|p|l| |s|h|o|r|t|h|s|;+0#0000000&| @31|c+0#00e0e07&|o|m|p|l|s|h|o|r|t|h|s| +0#0000000&@14
|
||||
@2|e+0#00e0e07&|x|p| |w|i|d|t|h|;+0#0000000&| @35|e+0#00e0e07&|x|p|w|i|d|t|h| +0#0000000&@18
|
||||
@2|i+0#00e0e07&|n|f|i|n|i|t|y|;+0#0000000&| @36|i+0#00e0e07&|n|f|i|n|i|t|y| +0#0000000&@18
|
||||
@2|i+0#00e0e07&|n|f|;+0#0000000&| @41|i+0#00e0e07&|n|f| +0#0000000&@23
|
||||
@2>i+0#00e0e07&|n|t| |l|e|n|g|t|h|s|;+0#0000000&| @33|i+0#00e0e07&|n|t|l|e|n|g|t|h|s| +0#0000000&@16
|
||||
@2|i+0#00e0e07&|n|t| |s|h|o|r|t|h|s|;+0#0000000&| @33|i+0#00e0e07&|n|t|s|h|o|r|t|h|s| +0#0000000&@16
|
||||
@2|i+0#00e0e07&|n|t| |w|i|d|t|h|;+0#0000000&| @35|i+0#00e0e07&|n|t|w|i|d|t|h| +0#0000000&@18
|
||||
@2|l+0#00e0e07&|o|n|g| |b|i|t|s| |w|i|d|t|h|;+0#0000000&| @29|l+0#00e0e07&|o|n|g|b|i|t|s|w|i|d|t|h| +0#0000000&@13
|
||||
@2|l+0#00e0e07&|o|n|g| |b|y|t|e|s| |w|i|d|t|h|;+0#0000000&| @28|l+0#00e0e07&|o|n|g|b|y|t|e|s|w|i|d|t|h| +0#0000000&@12
|
||||
@2|l+0#00e0e07&|o|n|g| |e|x|p| |w|i|d|t|h|;+0#0000000&| @30|l+0#00e0e07&|o|n|g|e|x|p|w|i|d|t|h| +0#0000000&@14
|
||||
@2|l+0#00e0e07&|o|n|g| |i|n|t| |w|i|d|t|h|;+0#0000000&| @30|l+0#00e0e07&|o|n|g|i|n|t|w|i|d|t|h| +0#0000000&@14
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |e|x|p|w|i|d|t|h|;+0#0000000&| @26|l+0#00e0e07&|o|n|g|l|o|n|g|e|x|p|w|i|d|t|h| +0#0000000&@10
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |i|n|f|i|n|i|t|y|;+0#0000000&| @26|l+0#00e0e07&|o|n|g|l|o|n|g|i|n|f|i|n|i|t|y| +0#0000000&@10
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |i|n|f|;+0#0000000&| @31|l+0#00e0e07&|o|n|g|l|o|n|g|i|n|f| +0#0000000&@15
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |i|n|t|w|i|d|t|h|;+0#0000000&| @26|l+0#00e0e07&|o|n|g|l|o|n|g|i|n|t|w|i|d|t|h| +0#0000000&@10
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |m|a|x|i|n|t|;+0#0000000&| @28|l+0#00e0e07&|o|n|g|l|o|n|g|m|a|x|i|n|t| +0#0000000&@12
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |m|a|x|r|e|a|l|;+0#0000000&| @27|l+0#00e0e07&|o|n|g|l|o|n|g|m|a|x|r|e|a|l| +0#0000000&@11
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |m|i|n|i|n|f|;+0#0000000&| @28|l+0#00e0e07&|o|n|g|l|o|n|g|m|i|n|i|n|f| +0#0000000&@12
|
||||
@57|9|1|,|3| @10|4|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_06.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_06.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|l+0#00e0e07&|o|n|g| |l|o|n|g| |m|i|n|i|n|f|;+0#0000000&| @28|l+0#00e0e07&|o|n|g|l|o|n|g|m|i|n|i|n|f| +0#0000000&@12
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |m|i|n|r|e|a|l|;+0#0000000&| @27|l+0#00e0e07&|o|n|g|l|o|n|g|m|i|n|r|e|a|l| +0#0000000&@11
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |m|i|n|u|s| |i|n|f|i|n|i|t|y|;+0#0000000&| @20|l+0#00e0e07&|o|n|g|l|o|n|g|m|i|n|u|s|i|n|f|i|n|i|t|y| +0#0000000&@5
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |r|e|a|l| |w|i|d|t|h|;+0#0000000&| @24|l+0#00e0e07&|o|n|g|l|o|n|g|r|e|a|l|w|i|d|t|h| +0#0000000&@9
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |s|m|a|l@1| |r|e|a|l|;+0#0000000&| @24|l+0#00e0e07&|o|n|g|l|o|n|g|s|m|a|l@1|r|e|a|l| +0#0000000&@9
|
||||
@2>l+0#00e0e07&|o|n|g| |r|e|a|l| |w|i|d|t|h|;+0#0000000&| @29|l+0#00e0e07&|o|n|g|r|e|a|l|w|i|d|t|h| +0#0000000&@13
|
||||
@2|m+0#00e0e07&|a|x| |a|b|s| |c|h|a|r|;+0#0000000&| @32|m+0#00e0e07&|a|x|a|b|s|c|h|a|r| +0#0000000&@16
|
||||
@2|m+0#00e0e07&|a|x| |b|i|t|s|;+0#0000000&| @36|m+0#00e0e07&|a|x|b|i|t|s| +0#0000000&@19
|
||||
@2|m+0#00e0e07&|a|x| |i|n|t|;+0#0000000&| @37|m+0#00e0e07&|a|x|i|n|t| +0#0000000&@20
|
||||
@2|m+0#00e0e07&|a|x| |r|e|a|l|;+0#0000000&| @36|m+0#00e0e07&|a|x|r|e|a|l| +0#0000000&@19
|
||||
@2|m+0#00e0e07&|i|n| |i|n|f|;+0#0000000&| @37|m+0#00e0e07&|i|n|i|n|f| +0#0000000&@20
|
||||
@2|m+0#00e0e07&|i|n| |r|e|a|l|;+0#0000000&| @36|m+0#00e0e07&|i|n|r|e|a|l| +0#0000000&@19
|
||||
@2|m+0#00e0e07&|i|n|u|s| |i|n|f|i|n|i|t|y|;+0#0000000&| @30|m+0#00e0e07&|i|n|u|s|i|n|f|i|n|i|t|y| +0#0000000&@13
|
||||
@2|m+0#00e0e07&|p|r|a|d|i|x|;+0#0000000&| @37|m+0#00e0e07&|p|r|a|d|i|x| +0#0000000&@19
|
||||
@2|n+0#00e0e07&|a|n|;+0#0000000&| @41|n+0#00e0e07&|a|n| +0#0000000&@23
|
||||
@2|p+0#00e0e07&|i|;+0#0000000&| @42|p+0#00e0e07&|i| +0#0000000&@24
|
||||
@2|r+0#00e0e07&|e|a|l| |l|e|n|g|t|h|s|;+0#0000000&| @32|r+0#00e0e07&|e|a|l@1|e|n|g|t|h|s| +0#0000000&@15
|
||||
@2|r+0#00e0e07&|e|a|l| |s|h|o|r|t|h|s|;+0#0000000&| @32|r+0#00e0e07&|e|a|l|s|h|o|r|t|h|s| +0#0000000&@15
|
||||
@2|r+0#00e0e07&|e|a|l| |w|i|d|t|h|;+0#0000000&| @34|r+0#00e0e07&|e|a|l|w|i|d|t|h| +0#0000000&@17
|
||||
@57|1|0|9|,|3| @9|4|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_07.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_07.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|r+0#00e0e07&|e|a|l| |w|i|d|t|h|;+0#0000000&| @34|r+0#00e0e07&|e|a|l|w|i|d|t|h| +0#0000000&@17
|
||||
@2|s+0#00e0e07&|m|a|l@1| |r|e|a|l|;+0#0000000&| @34|s+0#00e0e07&|m|a|l@1|r|e|a|l| +0#0000000&@17
|
||||
@2|c+0#00e0e07&|l|o|c|k|;+0#0000000&| @39|c+0#00e0e07&|l|o|c|k| +0#0000000&@21
|
||||
@2|c+0#00e0e07&|p|u| |t|i|m|e|;+0#0000000&| @36|c+0#00e0e07&|p|u|t|i|m|e| +0#0000000&@19
|
||||
@2|s+0#00e0e07&|e|c|o|n|d|s|;+0#0000000&| @37|s+0#00e0e07&|e|c|o|n|d|s| +0#0000000&@19
|
||||
@2>w+0#00e0e07&|a|l@1| |c|l|o|c|k|;+0#0000000&| @34|w+0#00e0e07&|a|l@1|c|l|o|c|k| +0#0000000&@17
|
||||
@2|w+0#00e0e07&|a|l@1| |s|e|c|o|n|d|s|;+0#0000000&| @32|w+0#00e0e07&|a|l@1|s|e|c|o|n|d|s| +0#0000000&@15
|
||||
@2|w+0#00e0e07&|a|l@1| |t|i|m|e|;+0#0000000&| @35|w+0#00e0e07&|a|l@1|t|i|m|e| +0#0000000&@18
|
||||
@2|b+0#00e0e07&|l|o|c|k|s|;+0#0000000&| @38|b+0#00e0e07&|l|o|c|k|s| +0#0000000&@20
|
||||
@2|c+0#00e0e07&|o|l@1|e|c|t|i|o|n|s|;+0#0000000&| @33|c+0#00e0e07&|o|l@1|e|c|t|i|o|n|s| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|o|l@1|e|c|t| |s|e|c|o|n|d|s|;+0#0000000&| @29|c+0#00e0e07&|o|l@1|e|c|t|s|e|c|o|n|d|s| +0#0000000&@12
|
||||
@2|g+0#00e0e07&|a|r|b|a|g|e|;+0#0000000&| @37|g+0#00e0e07&|a|r|b|a|g|e| +0#0000000&@19
|
||||
@2|g+0#00e0e07&|a|r|b|a|g|e| |c|o|l@1|e|c|t|i|o|n|s|;+0#0000000&| @25|g+0#00e0e07&|a|r|b|a|g|e|c|o|l@1|e|c|t|i|o|n|s| +0#0000000&@8
|
||||
@2|g+0#00e0e07&|a|r|b|a|g|e| |f|r|e@1|d|;+0#0000000&| @31|g+0#00e0e07&|a|r|b|a|g|e|f|r|e@1|d| +0#0000000&@14
|
||||
@2|g+0#00e0e07&|a|r|b|a|g|e| |r|e|f|u|s|e|d|;+0#0000000&| @29|g+0#00e0e07&|a|r|b|a|g|e|r|e|f|u|s|e|d| +0#0000000&@12
|
||||
@2|g+0#00e0e07&|a|r|b|a|g|e| |s|e|c|o|n|d|s|;+0#0000000&| @29|g+0#00e0e07&|a|r|b|a|g|e|s|e|c|o|n|d|s| +0#0000000&@12
|
||||
@2|o+0#00e0e07&|n| |g|c| |e|v|e|n|t|;+0#0000000&| @33|o+0#00e0e07&|n|g|c|e|v|e|n|t| +0#0000000&@17
|
||||
@2|s+0#00e0e07&|w|e@1|p|s|;+0#0000000&| @38|s+0#00e0e07&|w|e@1|p|s| +0#0000000&@20
|
||||
@2|s+0#00e0e07&|w|e@1|p|s| |r|e|f|u|s|e|d|;+0#0000000&| @30|s+0#00e0e07&|w|e@1|p|s|r|e|f|u|s|e|d| +0#0000000&@13
|
||||
@57|1|2|7|,|3| @9|5|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_08.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_08.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|s+0#00e0e07&|w|e@1|p|s| |r|e|f|u|s|e|d|;+0#0000000&| @30|s+0#00e0e07&|w|e@1|p|s|r|e|f|u|s|e|d| +0#0000000&@13
|
||||
@2|s+0#00e0e07&|t|a|c|k| |p|o|i|n|t|e|r|;+0#0000000&| @31|s+0#00e0e07&|t|a|c|k|p|o|i|n|t|e|r| +0#0000000&@14
|
||||
@2|s+0#00e0e07&|y|s|t|e|m| |s|t|a|c|k| |p|o|i|n|t|e|r|;+0#0000000&| @24|s+0#00e0e07&|y|s|t|e|m|s|t|a|c|k|p|o|i|n|t|e|r| +0#0000000&@8
|
||||
@2|s+0#00e0e07&|y|s|t|e|m| |s|t|a|c|k| |s|i|z|e|;+0#0000000&| @27|s+0#00e0e07&|y|s|t|e|m|s|t|a|c|k|s|i|z|e| +0#0000000&@11
|
||||
@2|a+0#00e0e07&|c|t|u|a|l| |s|t|a|c|k| |s|i|z|e|;+0#0000000&| @27|a+0#00e0e07&|c|t|u|a|l|s|t|a|c|k|s|i|z|e| +0#0000000&@11
|
||||
@2>h+0#00e0e07&|e|a|p| |p|o|i|n|t|e|r|;+0#0000000&| @32|h+0#00e0e07&|e|a|p@1|o|i|n|t|e|r| +0#0000000&@15
|
||||
@2|s+0#00e0e07&|y|s|t|e|m| |h|e|a|p| |p|o|i|n|t|e|r|;+0#0000000&| @25|s+0#00e0e07&|y|s|t|e|m|h|e|a|p@1|o|i|n|t|e|r| +0#0000000&@9
|
||||
@2|g+0#00e0e07&|c| |h|e|a|p|;+0#0000000&| @37|g+0#00e0e07&|c|h|e|a|p| +0#0000000&@20
|
||||
@2|s+0#00e0e07&|w|e@1|p| |h|e|a|p|;+0#0000000&| @34|s+0#00e0e07&|w|e@1|p|h|e|a|p| +0#0000000&@17
|
||||
@2|p+0#00e0e07&|r|e@1|m|p|t|i|v|e| |g|c|;+0#0000000&| @31|p+0#00e0e07&|r|e@1|m|p|t|i|v|e|g|c| +0#0000000&@14
|
||||
@2|p+0#00e0e07&|r|e@1|m|p|t|i|v|e| |s|w|e@1|p|;+0#0000000&| @28|p+0#00e0e07&|r|e@1|m|p|t|i|v|e|s|w|e@1|p| +0#0000000&@11
|
||||
@2|p+0#00e0e07&|r|e@1|m|p|t|i|v|e| |s|w|e@1|p|h|e|a|p|;+0#0000000&| @24|p+0#00e0e07&|r|e@1|m|p|t|i|v|e|s|w|e@1|p|h|e|a|p| +0#0000000&@7
|
||||
@2|b+0#00e0e07&|a|c|k|t|r|a|c|e|;+0#0000000&| @35|b+0#00e0e07&|a|c|k|t|r|a|c|e| +0#0000000&@17
|
||||
@2|b+0#00e0e07&|r|e|a|k|;+0#0000000&| @39|b+0#00e0e07&|r|e|a|k| +0#0000000&@21
|
||||
@2|d+0#00e0e07&|e|b|u|g|;+0#0000000&| @39|d+0#00e0e07&|e|b|u|g| +0#0000000&@21
|
||||
@2|m+0#00e0e07&|o|n|i|t|o|r|;+0#0000000&| @37|m+0#00e0e07&|o|n|i|t|o|r| +0#0000000&@19
|
||||
@2|a+0#00e0e07&|b|e|n|d|;+0#0000000&| @39|a+0#00e0e07&|b|e|n|d| +0#0000000&@21
|
||||
@2|e+0#00e0e07&|v|a|l|u|a|t|e|;+0#0000000&| @36|e+0#00e0e07&|v|a|l|u|a|t|e| +0#0000000&@18
|
||||
@2|s+0#00e0e07&|y|s|t|e|m|;+0#0000000&| @38|s+0#00e0e07&|y|s|t|e|m| +0#0000000&@20
|
||||
@57|1|4|5|,|3| @9|6|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_09.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_09.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|s+0#00e0e07&|y|s|t|e|m|;+0#0000000&| @38|s+0#00e0e07&|y|s|t|e|m| +0#0000000&@20
|
||||
@2|s+0#00e0e07&|l|e@1|p|;+0#0000000&| @39|s+0#00e0e07&|l|e@1|p| +0#0000000&@21
|
||||
|#+0#0000e05&| |M|a|c|h|i|n|e| |e|n|v|i|r|o|n| |p|a|r|a|m|e|t|e|r|s|.| |#| +0#0000000&@43
|
||||
@2|i+0#00e0e07&|3|2|m|a|c|h|;+0#0000000&| @37|i+0#00e0e07&|3|2|m|a|c|h| +0#0000000&@19
|
||||
@2|r+0#00e0e07&|6|4|m|a|c|h|;+0#0000000&| @37|r+0#00e0e07&|6|4|m|a|c|h| +0#0000000&@19
|
||||
@2>i+0#00e0e07&|6|4|m|a|c|h|;+0#0000000&| @37|i+0#00e0e07&|6|4|m|a|c|h| +0#0000000&@19
|
||||
@2|r+0#00e0e07&|1|2|8|m|a|c|h|;+0#0000000&| @36|r+0#00e0e07&|1|2|8|m|a|c|h| +0#0000000&@18
|
||||
|#+0#0000e05&| |B|I|T|S| |p|r|o|c|e|d|u|r|e|s|.| |#| +0#0000000&@54
|
||||
@2|b+0#00e0e07&|i|t|s| |p|a|c|k|;+0#0000000&| @35|b+0#00e0e07&|i|t|s|p|a|c|k| +0#0000000&@18
|
||||
|#+0#0000e05&| |R|N|G| |p|r|o|c|e|d|u|r|e|s|.| |#| +0#0000000&@55
|
||||
@2|f+0#00e0e07&|i|r|s|t| |r|a|n|d|o|m|;+0#0000000&| @32|f+0#00e0e07&|i|r|s|t|r|a|n|d|o|m| +0#0000000&@15
|
||||
@2|n+0#00e0e07&|e|x|t| |r|a|n|d|o|m|;+0#0000000&| @33|n+0#00e0e07&|e|x|t|r|a|n|d|o|m| +0#0000000&@16
|
||||
@2|r+0#00e0e07&|a|n|d|o|m|;+0#0000000&| @38|r+0#00e0e07&|a|n|d|o|m| +0#0000000&@20
|
||||
@2|r+0#00e0e07&|n|d|;+0#0000000&| @41|r+0#00e0e07&|n|d| +0#0000000&@23
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |n|e|x|t|r|a|n|d|o|m|;+0#0000000&| @24|l+0#00e0e07&|o|n|g|l|o|n|g|n|e|x|t|r|a|n|d|o|m| +0#0000000&@8
|
||||
@2|l+0#00e0e07&|o|n|g| |l|o|n|g| |r|a|n|d|o|m|;+0#0000000&| @28|l+0#00e0e07&|o|n|g|l|o|n|g|r|a|n|d|o|m| +0#0000000&@12
|
||||
|#+0#0000e05&| |P|r|i|o|r|i|t|i|e|s|.| |#| +0#0000000&@59
|
||||
|#+0#0000e05&| |I|N|T| |o|p|s|.| |#| +0#0000000&@62
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@57|1|6|3|,|3| @9|7|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_10.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_10.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|A+0#af5f00255&|B|S| +0#0000000&@42|A+0#af5f00255&|B|S| +0#0000000&@23
|
||||
@2|S+0#af5f00255&|I|G|N| +0#0000000&@41|S+0#af5f00255&|I|G|N| +0#0000000&@22
|
||||
@2|O+0#af5f00255&|D@1| +0#0000000&@42|O+0#af5f00255&|D@1| +0#0000000&@23
|
||||
@2>=+0#af5f00255&| +0#0000000&@44|=+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&|=| +0#0000000&@43|/+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|~+0#af5f00255&|=| +0#0000000&@43|~+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|^+0#af5f00255&|=| +0#0000000&@43|^+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|<+0#af5f00255&| +0#0000000&@44|<+0#af5f00255&| +0#0000000&@25
|
||||
@2|<+0#af5f00255&|=| +0#0000000&@43|<+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|>+0#af5f00255&| +0#0000000&@44|>+0#af5f00255&| +0#0000000&@25
|
||||
@2|>+0#af5f00255&|=| +0#0000000&@43|>+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|E+0#af5f00255&|Q| +0#0000000&@43|E+0#af5f00255&|Q| +0#0000000&@24
|
||||
@2|N+0#af5f00255&|E| +0#0000000&@43|N+0#af5f00255&|E| +0#0000000&@24
|
||||
@2|L+0#af5f00255&|T| +0#0000000&@43|L+0#af5f00255&|T| +0#0000000&@24
|
||||
@2|L+0#af5f00255&|E| +0#0000000&@43|L+0#af5f00255&|E| +0#0000000&@24
|
||||
@2|G+0#af5f00255&|T| +0#0000000&@43|G+0#af5f00255&|T| +0#0000000&@24
|
||||
@2|G+0#af5f00255&|E| +0#0000000&@43|G+0#af5f00255&|E| +0#0000000&@24
|
||||
@57|1|8|1|,|3| @9|8|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_100.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_100.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|s+0#00e0e07&|y|n|c|h|r|o|t|r|o|n| |2|;+0#0000000&| @31|s+0#00e0e07&|y|n|c|h|r|o|t|r|o|n|2| +0#0000000&@14
|
||||
@2|t+0#00e0e07&|a|y|l|o|r| |c|o|e|f@1|;+0#0000000&| @32|t+0#00e0e07&|a|y|l|o|r|c|o|e|f@1| +0#0000000&@15
|
||||
@2|t+0#00e0e07&|r|a|n|s|p|o|r|t| |2|;+0#0000000&| @33|t+0#00e0e07&|r|a|n|s|p|o|r|t|2| +0#0000000&@16
|
||||
@2|t+0#00e0e07&|r|a|n|s|p|o|r|t| |3|;+0#0000000&| @33|t+0#00e0e07&|r|a|n|s|p|o|r|t|3| +0#0000000&@16
|
||||
@2|t+0#00e0e07&|r|a|n|s|p|o|r|t| |4|;+0#0000000&| @33|t+0#00e0e07&|r|a|n|s|p|o|r|t|4| +0#0000000&@16
|
||||
@2>t+0#00e0e07&|r|a|n|s|p|o|r|t| |5|;+0#0000000&| @33|t+0#00e0e07&|r|a|n|s|p|o|r|t|5| +0#0000000&@16
|
||||
@2|z+0#00e0e07&|e|t|a| |i|n|t|;+0#0000000&| @36|z+0#00e0e07&|e|t|a|i|n|t| +0#0000000&@19
|
||||
@2|z+0#00e0e07&|e|t|a| |m|1| |i|n|t|;+0#0000000&| @33|z+0#00e0e07&|e|t|a|m|1|i|n|t| +0#0000000&@17
|
||||
@2|z+0#00e0e07&|e|t|a| |m|1|;+0#0000000&| @37|z+0#00e0e07&|e|t|a|m|1| +0#0000000&@20
|
||||
@2|z+0#00e0e07&|e|t|a|;+0#0000000&| @40|z+0#00e0e07&|e|t|a| +0#0000000&@22
|
||||
|#+0#0000e05&| |V|e|c|t|o|r| |a|n|d| |m|a|t|r|i|x| |p|r|e|t@1|y| |p|r|i|n|t|.| |#| +0#0000000&@39
|
||||
@2|p+0#00e0e07&|r|i|n|t| |v|e|c|t|o|r|;+0#0000000&| @32|p+0#00e0e07&|r|i|n|t|v|e|c|t|o|r| +0#0000000&@15
|
||||
@2|p+0#00e0e07&|r|i|n|t| |m|a|t|r|i|x|;+0#0000000&| @32|p+0#00e0e07&|r|i|n|t|m|a|t|r|i|x| +0#0000000&@15
|
||||
|#+0#0000e05&| |V|e|c|t|o|r| |a|n|d| |m|a|t|r|i|x| |m|o|n|a|d|i|c|.| |#| +0#0000000&@44
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|C+0#af5f00255&|V| +0#0000000&@43|C+0#af5f00255&|V| +0#0000000&@24
|
||||
@2|R+0#af5f00255&|V| +0#0000000&@43|R+0#af5f00255&|V| +0#0000000&@24
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@57|1|7|6@1|,|3| @7|8|3|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_101.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_101.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|T+0#af5f00255&| +0#0000000&@44|T+0#af5f00255&| +0#0000000&@25
|
||||
@2|I+0#af5f00255&|N|V| +0#0000000&@42|I+0#af5f00255&|N|V| +0#0000000&@23
|
||||
@2|P+0#af5f00255&|I|N|V| +0#0000000&@41|P+0#af5f00255&|I|N|V| +0#0000000&@22
|
||||
@2>M+0#af5f00255&|E|A|N| +0#0000000&@41|M+0#af5f00255&|E|A|N| +0#0000000&@22
|
||||
@2|D+0#af5f00255&|E|T| +0#0000000&@42|D+0#af5f00255&|E|T| +0#0000000&@23
|
||||
@2|T+0#af5f00255&|R|A|C|E| +0#0000000&@40|T+0#af5f00255&|R|A|C|E| +0#0000000&@21
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|T+0#af5f00255&| +0#0000000&@44|T+0#af5f00255&| +0#0000000&@25
|
||||
@2|I+0#af5f00255&|N|V| +0#0000000&@42|I+0#af5f00255&|N|V| +0#0000000&@23
|
||||
@2|D+0#af5f00255&|E|T| +0#0000000&@42|D+0#af5f00255&|E|T| +0#0000000&@23
|
||||
@2|T+0#af5f00255&|R|A|C|E| +0#0000000&@40|T+0#af5f00255&|R|A|C|E| +0#0000000&@21
|
||||
|#+0#0000e05&| |V|e|c|t|o|r| |a|n|d| |m|a|t|r|i|x| |d|y|a|d|i|c|.| |#| +0#0000000&@45
|
||||
@2|=+0#af5f00255&| +0#0000000&@44|=+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&|=| +0#0000000&@43|/+0#af5f00255&|=| +0#0000000&@24
|
||||
@57|1|7|8|4|,|3| @7|8|4|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_102.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_102.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|/+0#af5f00255&|=| +0#0000000&@43|/+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|++0#af5f00255&|:|=| +0#0000000&@42|++0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@39|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@20
|
||||
@2>-+0#af5f00255&|:|=| +0#0000000&@42|-+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@38|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@19
|
||||
@2|=+0#af5f00255&| +0#0000000&@44|=+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&|-| +0#0000000&@43|/+0#af5f00255&|-| +0#0000000&@24
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|B+0#af5f00255&|E|F|O|R|E| +0#0000000&@39|B+0#af5f00255&|E|F|O|R|E| +0#0000000&@20
|
||||
@2|A+0#af5f00255&|B|O|V|E| +0#0000000&@40|A+0#af5f00255&|B|O|V|E| +0#0000000&@21
|
||||
@2|++0#af5f00255&|:|=| +0#0000000&@42|++0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@39|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@20
|
||||
@2|-+0#af5f00255&|:|=| +0#0000000&@42|-+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@38|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@19
|
||||
@2|=+0#af5f00255&| +0#0000000&@44|=+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&|=| +0#0000000&@43|/+0#af5f00255&|=| +0#0000000&@24
|
||||
@57|1|8|0|2|,|3| @7|8|5|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_103.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_103.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|/+0#af5f00255&|=| +0#0000000&@43|/+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|++0#af5f00255&|:|=| +0#0000000&@42|++0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@39|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@20
|
||||
@2>-+0#af5f00255&|:|=| +0#0000000&@42|-+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@38|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@19
|
||||
@2|=+0#af5f00255&| +0#0000000&@44|=+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&|=| +0#0000000&@43|/+0#af5f00255&|=| +0#0000000&@24
|
||||
@2|++0#af5f00255&| +0#0000000&@44|++0#af5f00255&| +0#0000000&@25
|
||||
@2|-+0#af5f00255&| +0#0000000&@44|-+0#af5f00255&| +0#0000000&@25
|
||||
@2|++0#af5f00255&|:|=| +0#0000000&@42|++0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@39|P+0#af5f00255&|L|U|S|A|B| +0#0000000&@20
|
||||
@2|-+0#af5f00255&|:|=| +0#0000000&@42|-+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@38|M+0#af5f00255&|I|N|U|S|A|B| +0#0000000&@19
|
||||
|#+0#0000e05&| |V|e|c|t|o|r| |a|n|d| |m|a|t|r|i|x| |s|c|a|l|i|n|g|.| |#| +0#0000000&@44
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&| +0#0000000&@44|/+0#af5f00255&| +0#0000000&@25
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
@57|1|8|2|0|,|3| @7|8|6|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_104.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_104.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&| +0#0000000&@44|/+0#af5f00255&| +0#0000000&@25
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
@2|/+0#af5f00255&| +0#0000000&@44|/+0#af5f00255&| +0#0000000&@25
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
@2>/+0#af5f00255&| +0#0000000&@44|/+0#af5f00255&| +0#0000000&@25
|
||||
@2|*+0#af5f00255&|:|=| +0#0000000&@42|*+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|/+0#af5f00255&|:|=| +0#0000000&@42|/+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|*+0#af5f00255&|:|=| +0#0000000&@42|*+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|/+0#af5f00255&|:|=| +0#0000000&@42|/+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|*+0#af5f00255&|:|=| +0#0000000&@42|*+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|/+0#af5f00255&|:|=| +0#0000000&@42|/+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|*+0#af5f00255&|:|=| +0#0000000&@42|*+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|/+0#af5f00255&|:|=| +0#0000000&@42|/+0#af5f00255&|:|=| +0#0000000&@23
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
|#+0#0000e05&| |M|a|t|r|i|x| |t|i|m|e|s| |v|e|c|t|o|r| |o|r| |m|a|t|r|i|x|.| |#| +0#0000000&@40
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
|#+0#0000e05&| |V|e|c|t|o|r| |a|n|d| |m|a|t|r|i|x| |m|i|s|c|e|l@1|a|n|e|o|u|s|.| |#| +0#0000000&@38
|
||||
@2|v+0#00e0e07&|e|c|t|o|r| |e|c|h|o|;+0#0000000&| @33|v+0#00e0e07&|e|c|t|o|r|e|c|h|o| +0#0000000&@16
|
||||
@57|1|8|3|8|,|3| @7|8|7|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_105.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_105.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|v+0#00e0e07&|e|c|t|o|r| |e|c|h|o|;+0#0000000&| @33|v+0#00e0e07&|e|c|t|o|r|e|c|h|o| +0#0000000&@16
|
||||
@2|m+0#00e0e07&|a|t|r|i|x| |e|c|h|o|;+0#0000000&| @33|m+0#00e0e07&|a|t|r|i|x|e|c|h|o| +0#0000000&@16
|
||||
@2|c+0#00e0e07&|o|m|p|l| |v|e|c|t|o|r| |e|c|h|o|;+0#0000000&| @27|c+0#00e0e07&|o|m|p|l|v|e|c|t|o|r|e|c|h|o| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|o|m|p|l| |m|a|t|r|i|x| |e|c|h|o|;+0#0000000&| @27|c+0#00e0e07&|o|m|p|l|m|a|t|r|i|x|e|c|h|o| +0#0000000&@11
|
||||
@2|*+0#af5f00255&| +0#0000000&@44|*+0#af5f00255&| +0#0000000&@25
|
||||
@2>N+0#af5f00255&|O|R|M| +0#0000000&@41|N+0#af5f00255&|O|R|M| +0#0000000&@22
|
||||
@2|D+0#af5f00255&|Y|A|D| +0#0000000&@41|D+0#af5f00255&|Y|A|D| +0#0000000&@22
|
||||
|#+0#0000e05&| |P|r|i|n|c|i|p|l|e| |C|o|m|p|o|n|e|n|t| |A|n|a|l|y|s|i|s|.| |#| +0#0000000&@41
|
||||
@2|p+0#00e0e07&|c|a|c|v|;+0#0000000&| @39|p+0#00e0e07&|c|a|c|v| +0#0000000&@21
|
||||
@2|p+0#00e0e07&|c|a|s|v|d|;+0#0000000&| @38|p+0#00e0e07&|c|a|s|v|d| +0#0000000&@20
|
||||
|#+0#0000e05&| |T|o|t|a|l| |L|e|a|s|t| |S|q|u|a|r|e| |r|e|g|r|e|s@1|i|o|n|.| |#| +0#0000000&@40
|
||||
@2|o+0#00e0e07&|l|s|;+0#0000000&| @41|o+0#00e0e07&|l|s| +0#0000000&@23
|
||||
@2|t+0#00e0e07&|l|s|;+0#0000000&| @41|t+0#00e0e07&|l|s| +0#0000000&@23
|
||||
|#+0#0000e05&| |P|a|r|t|i|a|l| |L|e|a|s|t| |S|q|u|a|r|e|s| |r|e|g|r|e|s@1|i|o|n|.| |#| +0#0000000&@37
|
||||
@2|p+0#00e0e07&|c|r|;+0#0000000&| @41|p+0#00e0e07&|c|r| +0#0000000&@23
|
||||
@2|p+0#00e0e07&|l|s|1|;+0#0000000&| @40|p+0#00e0e07&|l|s|1| +0#0000000&@22
|
||||
@2|p+0#00e0e07&|l|s|2|;+0#0000000&| @40|p+0#00e0e07&|l|s|2| +0#0000000&@22
|
||||
|#+0#0000e05&| |R|o|u|t|i|n|e| |l|e|f|t| |c|o|l|u|m|n|s|,| |a| |G|S|L| |a|l|t|e|r|n|a|t|i|v|e| |t|o| |t|r|i|m@1|i|n|g| |c|o|l|u|m|n|s|.| |#| +0#0000000&@10
|
||||
@2|l+0#00e0e07&|e|f|t| |c|o|l|u|m|n|s|;+0#0000000&| @32|l+0#00e0e07&|e|f|t|c|o|l|u|m|n|s| +0#0000000&@15
|
||||
@57|1|8|5|6|,|3| @7|8@1|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_106.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_106.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|l+0#00e0e07&|e|f|t| |c|o|l|u|m|n|s|;+0#0000000&| @32|l+0#00e0e07&|e|f|t|c|o|l|u|m|n|s| +0#0000000&@15
|
||||
|#+0#0000e05&| |M|o@1|r|e|-|P|e|n|r|o|s|e| |p|s|e|u|d|o| |i|n|v|e|r|s|e|.| |#| +0#0000000&@41
|
||||
@2|p+0#00e0e07&|s|e|u|d|o| |i|n|v|;+0#0000000&| @34|p+0#00e0e07&|s|e|u|d|o|i|n|v| +0#0000000&@17
|
||||
|#+0#0000e05&| |L|U| |d|e|c|o|m|p|o|s|i|t|i|o|n|.| |#| +0#0000000&@53
|
||||
@2|l+0#00e0e07&|u| |d|e|c|o|m|p|;+0#0000000&| @35|l+0#00e0e07&|u|d|e|c|o|m|p| +0#0000000&@18
|
||||
@2>l+0#00e0e07&|u| |d|e|t|;+0#0000000&| @38|l+0#00e0e07&|u|d|e|t| +0#0000000&@21
|
||||
@2|l+0#00e0e07&|u| |i|n|v|;+0#0000000&| @38|l+0#00e0e07&|u|i|n|v| +0#0000000&@21
|
||||
@2|l+0#00e0e07&|u| |s|o|l|v|e|;+0#0000000&| @36|l+0#00e0e07&|u|s|o|l|v|e| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|o|m|p|l|e|x| |l|u| |d|e|c|o|m|p|;+0#0000000&| @27|c+0#00e0e07&|o|m|p|l|e|x|l|u|d|e|c|o|m|p| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|o|m|p|l|e|x| |l|u| |d|e|t|;+0#0000000&| @30|c+0#00e0e07&|o|m|p|l|e|x|l|u|d|e|t| +0#0000000&@14
|
||||
@2|c+0#00e0e07&|o|m|p|l|e|x| |l|u| |i|n|v|;+0#0000000&| @30|c+0#00e0e07&|o|m|p|l|e|x|l|u|i|n|v| +0#0000000&@14
|
||||
@2|c+0#00e0e07&|o|m|p|l|e|x| |l|u| |s|o|l|v|e|;+0#0000000&| @28|c+0#00e0e07&|o|m|p|l|e|x|l|u|s|o|l|v|e| +0#0000000&@12
|
||||
|#+0#0000e05&| |S|V|D| |d|e|c|o|m|p|o|s|i|t|i|o|n|.| |#| +0#0000000&@52
|
||||
@2|s+0#00e0e07&|v|d| |d|e|c|o|m|p|;+0#0000000&| @34|s+0#00e0e07&|v|d@1|e|c|o|m|p| +0#0000000&@17
|
||||
@2|s+0#00e0e07&|v|d| |s|o|l|v|e|;+0#0000000&| @35|s+0#00e0e07&|v|d|s|o|l|v|e| +0#0000000&@18
|
||||
|#+0#0000e05&| |Q|R| |d|e|c|o|m|p|o|s|i|t|i|o|n|.| |#| +0#0000000&@53
|
||||
@2|q+0#00e0e07&|r| |d|e|c|o|m|p|;+0#0000000&| @35|q+0#00e0e07&|r|d|e|c|o|m|p| +0#0000000&@18
|
||||
@2|q+0#00e0e07&|r| |s|o|l|v|e|;+0#0000000&| @36|q+0#00e0e07&|r|s|o|l|v|e| +0#0000000&@19
|
||||
@2|q+0#00e0e07&|r| |l|s@1|o|l|v|e|;+0#0000000&| @34|q+0#00e0e07&|r|l|s@1|o|l|v|e| +0#0000000&@17
|
||||
@57|1|8|7|4|,|3| @7|8|9|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_107.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_107.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|q+0#00e0e07&|r| |l|s@1|o|l|v|e|;+0#0000000&| @34|q+0#00e0e07&|r|l|s@1|o|l|v|e| +0#0000000&@17
|
||||
|#+0#0000e05&| |C|h|o|l|e|s|k|y| |d|e|c|o|m|p|o|s|i|t|i|o|n|.| |#| +0#0000000&@47
|
||||
@2|c+0#00e0e07&|h|o|l|e|s|k|y| |d|e|c|o|m|p|;+0#0000000&| @29|c+0#00e0e07&|h|o|l|e|s|k|y|d|e|c|o|m|p| +0#0000000&@12
|
||||
@2|c+0#00e0e07&|h|o|l|e|s|k|y| |s|o|l|v|e|;+0#0000000&| @30|c+0#00e0e07&|h|o|l|e|s|k|y|s|o|l|v|e| +0#0000000&@13
|
||||
|#+0#0000e05&| |C|o|n|s|t|a|n|t|s| |e|x| |G|S|L|.| |#| +0#0000000&@53
|
||||
@2>c+0#00e0e07&|g|s| |s|p|e@1|d| |o|f| |l|i|g|h|t|;+0#0000000&| @26|c+0#00e0e07&|g|s@1|p|e@1|d|o|f|l|i|g|h|t| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|g|s| |g|r|a|v|i|t|a|t|i|o|n|a|l| |c|o|n|s|t|a|n|t|;+0#0000000&| @18|c+0#00e0e07&|g|s|g|r|a|v|i|t|a|t|i|o|n|a|l|c|o|n|s|t|a|n|t| +0#0000000&@2
|
||||
@2|c+0#00e0e07&|g|s| |p|l|a|n|c|k| |c|o|n|s|t|a|n|t|;+0#0000000&| @25|c+0#00e0e07&|g|s|p|l|a|n|c|k|c|o|n|s|t|a|n|t| +0#0000000&@9
|
||||
@2|c+0#00e0e07&|g|s| |p|l|a|n|c|k| |c|o|n|s|t|a|n|t| |b|a|r|;+0#0000000&| @21|c+0#00e0e07&|g|s|p|l|a|n|c|k|c|o|n|s|t|a|n|t|b|a|r| +0#0000000&@6
|
||||
@2|c+0#00e0e07&|g|s| |a|s|t|r|o|n|o|m|i|c|a|l| |u|n|i|t|;+0#0000000&| @23|c+0#00e0e07&|g|s|a|s|t|r|o|n|o|m|i|c|a|l|u|n|i|t| +0#0000000&@7
|
||||
@2|c+0#00e0e07&|g|s| |l|i|g|h|t| |y|e|a|r|;+0#0000000&| @30|c+0#00e0e07&|g|s|l|i|g|h|t|y|e|a|r| +0#0000000&@14
|
||||
@2|c+0#00e0e07&|g|s| |p|a|r|s|e|c|;+0#0000000&| @34|c+0#00e0e07&|g|s|p|a|r|s|e|c| +0#0000000&@17
|
||||
@2|c+0#00e0e07&|g|s| |g|r|a|v| |a|c@1|e|l|;+0#0000000&| @30|c+0#00e0e07&|g|s|g|r|a|v|a|c@1|e|l| +0#0000000&@14
|
||||
@2|c+0#00e0e07&|g|s| |e|l|e|c|t|r|o|n| |v|o|l|t|;+0#0000000&| @27|c+0#00e0e07&|g|s|e|l|e|c|t|r|o|n|v|o|l|t| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|g|s| |m|a|s@1| |e|l|e|c|t|r|o|n|;+0#0000000&| @27|c+0#00e0e07&|g|s|m|a|s@1|e|l|e|c|t|r|o|n| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|g|s| |m|a|s@1| |m|u|o|n|;+0#0000000&| @31|c+0#00e0e07&|g|s|m|a|s@1|m|u|o|n| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|g|s| |m|a|s@1| |p|r|o|t|o|n|;+0#0000000&| @29|c+0#00e0e07&|g|s|m|a|s@1|p|r|o|t|o|n| +0#0000000&@13
|
||||
@2|c+0#00e0e07&|g|s| |m|a|s@1| |n|e|u|t|r|o|n|;+0#0000000&| @28|c+0#00e0e07&|g|s|m|a|s@1|n|e|u|t|r|o|n| +0#0000000&@12
|
||||
@2|c+0#00e0e07&|g|s| |r|y|d|b|e|r|g|;+0#0000000&| @33|c+0#00e0e07&|g|s|r|y|d|b|e|r|g| +0#0000000&@16
|
||||
@57|1|8|9|2|,|3| @7|8|9|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_108.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_108.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|c+0#00e0e07&|g|s| |r|y|d|b|e|r|g|;+0#0000000&| @33|c+0#00e0e07&|g|s|r|y|d|b|e|r|g| +0#0000000&@16
|
||||
@2|c+0#00e0e07&|g|s| |b|o|l|t|z|m|a|n@1|;+0#0000000&| @31|c+0#00e0e07&|g|s|b|o|l|t|z|m|a|n@1| +0#0000000&@14
|
||||
@2|c+0#00e0e07&|g|s| |b|o|h|r| |m|a|g|n|e|t|o|n|;+0#0000000&| @27|c+0#00e0e07&|g|s|b|o|h|r|m|a|g|n|e|t|o|n| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|g|s| |n|u|c|l|e|a|r| |m|a|g|n|e|t|o|n|;+0#0000000&| @24|c+0#00e0e07&|g|s|n|u|c|l|e|a|r|m|a|g|n|e|t|o|n| +0#0000000&@8
|
||||
@2|c+0#00e0e07&|g|s| |e|l|e|c|t|r|o|n| |m|a|g|n|e|t|i|c| |m|o|m|e|n|t|;+0#0000000&| @16|c+0#00e0e07&|g|s|e|l|e|c|t|r|o|n|m|a|g|n|e|t|i|c|m|o|m|e|n|t| +0#0000000&@1
|
||||
@2>c+0#00e0e07&|g|s| |p|r|o|t|o|n| |m|a|g|n|e|t|i|c| |m|o|m|e|n|t|;+0#0000000&| @18|c+0#00e0e07&|g|s|p|r|o|t|o|n|m|a|g|n|e|t|i|c|m|o|m|e|n|t| +0#0000000&@3
|
||||
@2|c+0#00e0e07&|g|s| |m|o|l|a|r| |g|a|s|;+0#0000000&| @31|c+0#00e0e07&|g|s|m|o|l|a|r|g|a|s| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|g|s| |s|t|a|n|d|a|r|d| |g|a|s| |v|o|l|u|m|e|;+0#0000000&| @21|c+0#00e0e07&|g|s@1|t|a|n|d|a|r|d|g|a|s|v|o|l|u|m|e| +0#0000000&@6
|
||||
@2|c+0#00e0e07&|g|s| |m|i|n|u|t|e|;+0#0000000&| @34|c+0#00e0e07&|g|s|m|i|n|u|t|e| +0#0000000&@17
|
||||
@2|c+0#00e0e07&|g|s| |h|o|u|r|;+0#0000000&| @36|c+0#00e0e07&|g|s|h|o|u|r| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |d|a|y|;+0#0000000&| @37|c+0#00e0e07&|g|s|d|a|y| +0#0000000&@20
|
||||
@2|c+0#00e0e07&|g|s| |w|e@1|k|;+0#0000000&| @36|c+0#00e0e07&|g|s|w|e@1|k| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |i|n|c|h|;+0#0000000&| @36|c+0#00e0e07&|g|s|i|n|c|h| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |f|o@1|t|;+0#0000000&| @36|c+0#00e0e07&|g|s|f|o@1|t| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |y|a|r|d|;+0#0000000&| @36|c+0#00e0e07&|g|s|y|a|r|d| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |m|i|l|e|;+0#0000000&| @36|c+0#00e0e07&|g|s|m|i|l|e| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |n|a|u|t|i|c|a|l| |m|i|l|e|;+0#0000000&| @27|c+0#00e0e07&|g|s|n|a|u|t|i|c|a|l|m|i|l|e| +0#0000000&@11
|
||||
@2|c+0#00e0e07&|g|s| |f|a|t|h|o|m|;+0#0000000&| @34|c+0#00e0e07&|g|s|f|a|t|h|o|m| +0#0000000&@17
|
||||
@2|c+0#00e0e07&|g|s| |m|i|l|;+0#0000000&| @37|c+0#00e0e07&|g|s|m|i|l| +0#0000000&@20
|
||||
@57|1|9|1|0|,|3| @7|9|0|%|
|
||||
20
runtime/syntax/testdir/dumps/algol68_all_preludes_109.dump
generated
Normal file
20
runtime/syntax/testdir/dumps/algol68_all_preludes_109.dump
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
| +0&#ffffff0@1|c+0#00e0e07&|g|s| |m|i|l|;+0#0000000&| @37|c+0#00e0e07&|g|s|m|i|l| +0#0000000&@20
|
||||
@2|c+0#00e0e07&|g|s| |p|o|i|n|t|;+0#0000000&| @35|c+0#00e0e07&|g|s|p|o|i|n|t| +0#0000000&@18
|
||||
@2|c+0#00e0e07&|g|s| |t|e|x|p|o|i|n|t|;+0#0000000&| @32|c+0#00e0e07&|g|s|t|e|x|p|o|i|n|t| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|g|s| |m|i|c|r|o|n|;+0#0000000&| @34|c+0#00e0e07&|g|s|m|i|c|r|o|n| +0#0000000&@17
|
||||
@2|c+0#00e0e07&|g|s| |a|n|g|s|t|r|o|m|;+0#0000000&| @32|c+0#00e0e07&|g|s|a|n|g|s|t|r|o|m| +0#0000000&@15
|
||||
@2>c+0#00e0e07&|g|s| |h|e|c|t|a|r|e|;+0#0000000&| @33|c+0#00e0e07&|g|s|h|e|c|t|a|r|e| +0#0000000&@16
|
||||
@2|c+0#00e0e07&|g|s| |a|c|r|e|;+0#0000000&| @36|c+0#00e0e07&|g|s|a|c|r|e| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |b|a|r|n|;+0#0000000&| @36|c+0#00e0e07&|g|s|b|a|r|n| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |l|i|t|e|r|;+0#0000000&| @35|c+0#00e0e07&|g|s|l|i|t|e|r| +0#0000000&@18
|
||||
@2|c+0#00e0e07&|g|s| |u|s| |g|a|l@1|o|n|;+0#0000000&| @31|c+0#00e0e07&|g|s|u|s|g|a|l@1|o|n| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|g|s| |q|u|a|r|t|;+0#0000000&| @35|c+0#00e0e07&|g|s|q|u|a|r|t| +0#0000000&@18
|
||||
@2|c+0#00e0e07&|g|s| |p|i|n|t|;+0#0000000&| @36|c+0#00e0e07&|g|s|p|i|n|t| +0#0000000&@19
|
||||
@2|c+0#00e0e07&|g|s| |c|u|p|;+0#0000000&| @37|c+0#00e0e07&|g|s|c|u|p| +0#0000000&@20
|
||||
@2|c+0#00e0e07&|g|s| |f|l|u|i|d| |o|u|n|c|e|;+0#0000000&| @29|c+0#00e0e07&|g|s|f|l|u|i|d|o|u|n|c|e| +0#0000000&@13
|
||||
@2|c+0#00e0e07&|g|s| |t|a|b|l|e| |s|p|o@1|n|;+0#0000000&| @29|c+0#00e0e07&|g|s|t|a|b|l|e|s|p|o@1|n| +0#0000000&@13
|
||||
@2|c+0#00e0e07&|g|s| |t|e|a| |s|p|o@1|n|;+0#0000000&| @31|c+0#00e0e07&|g|s|t|e|a|s|p|o@1|n| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|g|s| |c|a|n|a|d|i|a|n| |g|a|l@1|o|n|;+0#0000000&| @25|c+0#00e0e07&|g|s|c|a|n|a|d|i|a|n|g|a|l@1|o|n| +0#0000000&@9
|
||||
@2|c+0#00e0e07&|g|s| |u|k| |g|a|l@1|o|n|;+0#0000000&| @31|c+0#00e0e07&|g|s|u|k|g|a|l@1|o|n| +0#0000000&@15
|
||||
@2|c+0#00e0e07&|g|s| |m|i|l|e|s| |p|e|r| |h|o|u|r|;+0#0000000&| @26|c+0#00e0e07&|g|s|m|i|l|e|s|p|e|r|h|o|u|r| +0#0000000&@11
|
||||
@57|1|9|2|8|,|3| @7|9|1|%|
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user