summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/kdl.vim
blob: c9a1d8b185f889eb340f9cbb9359645d1b111bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim filetype plugin
" Language:         KDL
" Author:           Aram Drevekenin <aram@poor.dev>
" Maintainer:       Yinzuo Jiang <jiangyinzuo@foxmail.com>
" Last Change:      2024-06-10

if exists("b:did_ftplugin")
  finish
endif

let b:did_ftplugin = 1

setlocal comments=://
setlocal commentstring=//\ %s
setlocal formatoptions-=t

let b:undo_ftplugin = 'setlocal comments< commentstring< formatoptions<'