diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2024-07-16 22:29:39 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-17 11:11:58 +0200 |
| commit | 8e590cae83c321445a598fcd87bb31b6187402f7 (patch) | |
| tree | 8e0ec725fb39af98cd1d322d30d6c3cbc8fae910 /runtime/doc | |
| parent | 498d9beed9117ce7b70add99ee6f1107ef9e7662 (diff) | |
| download | rneovim-8e590cae83c321445a598fcd87bb31b6187402f7.tar.gz rneovim-8e590cae83c321445a598fcd87bb31b6187402f7.tar.bz2 rneovim-8e590cae83c321445a598fcd87bb31b6187402f7.zip | |
vim-patch:9.1.0593: filetype: Asymptote files are not recognized
Problem: filetype: Asymptote files are not recognized
Solution: detect '*.asy' files as asy filetype, include
ftplugin and syntax plugin (AvidSeeker).
Reference: https://asymptote.sourceforge.io/
closes: vim/vim#15252
https://github.com/vim/vim/commit/3088ef094da721dac8c0363a6c9e14eaf9313929
Co-authored-by: AvidSeeker <avidseeker7@protonmail.com>
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/syntax.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 1be01088e1..4d301bcb80 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -489,6 +489,25 @@ For Visual Basic use: > :let g:filetype_asa = "aspvbs" :let g:filetype_asp = "aspvbs" +ASYMPTOTE *asy.vim* *ft-asy-syntax* + +By default, only basic Asymptote keywords are highlighted. To highlight +extended geometry keywords: > + + :let g:asy_syn_plain = 1 + +and for highlighting keywords related to 3D constructions: > + + :let g:asy_syn_three = 1 + +By default, Asymptote-defined colors (e.g: lightblue) are highlighted. To +highlight TeX-defined colors (e.g: BlueViolet) use: > + + :let g:asy_syn_texcolors = 1 + +or for Xorg colors (e.g: AliceBlue): > + + :let g:asy_syn_x11colors = 1 BAAN *baan.vim* *baan-syntax* |