view runtime/ftplugin/asy.vim @ 35719:1be117f0a0a7 v9.1.0593

patch 9.1.0593: filetype: Asymptote files are not recognized Commit: https://github.com/vim/vim/commit/3088ef094da721dac8c0363a6c9e14eaf9313929 Author: AvidSeeker <avidseeker7@protonmail.com> Date: Tue Jul 16 21:39:07 2024 +0200 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>
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Jul 2024 08:14:02 +0200
parents
children
line wrap: on
line source

" Vim filetype plugin
" Language:     Asymptote
" Maintainer:	AvidSeeker <avidseeker7@protonmail.com>
" Last Change:  2024 Jul 13
"

if exists("b:did_ftplugin")
  finish
endif
let g:did_ftplugin = 1

setlocal commentstring=/*\ %s\ */

let b:undo_ftplugin = "setl commentstring<"