neovim

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

corn.vim (457B)


      1 " Vim filetype plugin
      2 " Language:         Corn
      3 " Original Author:  Jake Stanger (mail@jstanger.dev) 
      4 " License:          MIT
      5 " Last Change:      2023 May 28
      6 
      7 if exists('b:did_ftplugin')
      8  finish
      9 endif
     10 let b:did_ftplugin = 1
     11 
     12 setlocal formatoptions-=t
     13 
     14 " Set comment (formatting) related options.
     15 setlocal commentstring=//\ %s comments=:// 
     16 
     17 " Let Vim know how to disable the plug-in.
     18 let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions<'