]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime: Update files for ConTeXt, METAFONT, and MetaPost.
authorLifepillar <lifepillar@lifepillar.me>
Sun, 11 Jan 2026 18:36:52 +0000 (18:36 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 11 Jan 2026 18:45:42 +0000 (18:45 +0000)
commitcb7cbfcc12437eb9fafad6dc37639d7ab51d9bfd
tree581cac938928ee8ddc53b87378f35984a0087f33
parentc4dc4d8f1eca8e3989c5f7770b062e3cf344a936
runtime: Update files for ConTeXt, METAFONT, and MetaPost.

This update is meant to be included in the upcoming 9.2 release.

**New**

- Support ConTeXt's convention to optionally specify an output directory
  in a comment line at the beginning of a source file.
- If a log file is not found, Vim does not create a new buffer.
- Removed `syntax/shared` files for the following reasons:
  - they are not necessary for the plugin to work (they only improve
    over existing syntax highlighting);
  - they are relative large;
  - they can be automatically (re)generated by users at any time using
    ConTeXt (explained in the doc);
  - since ConTeXt is updated frequently, they quickly become obsolete.

**Minor**

- Prefer `var` to `const` inside functions.
- Prefer `$`-interpolation to `printf()`.
- All revision dates set to the same date for consistency.
- Updated the error format.
- Various tweaks to the documentation, but nothing disruptive or new.

closes: #19148

Signed-off-by: Lifepillar <lifepillar@lifepillar.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 files changed:
.github/MAINTAINERS
runtime/autoload/context.vim
runtime/autoload/typeset.vim
runtime/compiler/context.vim
runtime/doc/ft_context.txt
runtime/doc/ft_mp.txt
runtime/ftplugin/context.vim
runtime/ftplugin/mf.vim
runtime/ftplugin/mp.vim
runtime/indent/context.vim
runtime/indent/mf.vim
runtime/indent/mp.vim
runtime/syntax/context.vim
runtime/syntax/mf.vim
runtime/syntax/mp.vim
runtime/syntax/shared/context-data-context.vim [deleted file]
runtime/syntax/shared/context-data-interfaces.vim [deleted file]
runtime/syntax/shared/context-data-metafun.vim [deleted file]
runtime/syntax/shared/context-data-tex.vim [deleted file]