summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/pkl.vim
blob: 128af1ec924a19f73655c83533a61b6690d04be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" Vim filetype plugin
" Language:	Pkl
" Maintainer:	Riley Bruins <ribru17@gmail.com>
" Last Change:	2025 Jul 14
" 2025 Oct 03 by Vim Project Add foldmethod #18274

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

setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
setlocal commentstring=//\ %s
setlocal foldmethod=syntax

let b:undo_ftplugin = 'setl com< cms< fdm<'