neovim/runtime/ftplugin/kdl.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
409 B
VimL
Raw Permalink Normal View History

" 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<'