mirror of
https://github.com/zoriya/vim.git
synced 2026-06-05 12:51:20 +00:00
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: #15252
Signed-off-by: AvidSeeker <avidseeker7@protonmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
babea52f4d
commit
3088ef094d
@@ -958,6 +958,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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user