neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

kdl.vim (409B)


      1 " Vim filetype plugin
      2 " Language:         KDL
      3 " Author:           Aram Drevekenin <aram@poor.dev>
      4 " Maintainer:       Yinzuo Jiang <jiangyinzuo@foxmail.com>
      5 " Last Change:      2024-06-10
      6 
      7 if exists("b:did_ftplugin")
      8  finish
      9 endif
     10 
     11 let b:did_ftplugin = 1
     12 
     13 setlocal comments=://
     14 setlocal commentstring=//\ %s
     15 setlocal formatoptions-=t
     16 
     17 let b:undo_ftplugin = 'setlocal comments< commentstring< formatoptions<'