neovim

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

uci.vim (524B)


      1 " Vim ftplugin file
      2 " Language:	OpenWrt Unified Configuration Interface
      3 " Maintainer:	Colin Caine <complaints@cmcaine.co.uk>
      4 " Upstream:	https://github.com/cmcaine/vim-uci
      5 " Last Change:	2024 Apr 17
      6 "
      7 " For more information on uci, see https://openwrt.org/docs/guide-user/base-system/uci
      8 
      9 if exists("b:did_ftplugin")
     10  finish
     11 endif
     12 let b:did_ftplugin = 1
     13 
     14 " UCI files are indented with tabs.
     15 setl noexpandtab
     16 setl shiftwidth=0
     17 setl softtabstop=0
     18 
     19 setl commentstring=#\ %s
     20 
     21 let b:undo_ftplugin = "setlocal et< cms< sts< sw<"