mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
7d6a8438c9
runtime(typst): include basic typst ftplugin file (vim/vim#14809)
Reference: https://typst.app/docs/reference/syntax/#comments
c3d5c2fc87
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
15 lines
315 B
VimL
15 lines
315 B
VimL
" Vim filetype plugin
|
|
" Language: typst
|
|
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
|
" Last Change: 2024 May 19
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
|
setlocal commentstring=//\ %s
|
|
|
|
let b:undo_ftplugin = 'setl com< cms<'
|