Adding upstream version 0.20200629.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
86ec2cb15a
commit
fced2a7e75
6 changed files with 122 additions and 0 deletions
24
ftplugin/nftables.vim
Normal file
24
ftplugin/nftables.vim
Normal file
|
@ -0,0 +1,24 @@
|
|||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
let s:save_cpo = &cpoptions
|
||||
set cpoptions&vim
|
||||
|
||||
setlocal smartindent nocindent
|
||||
setlocal commentstring=#%s
|
||||
setlocal formatoptions-=t formatoptions+=croqnlj
|
||||
|
||||
setlocal comments=b:#
|
||||
|
||||
setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
|
||||
setlocal textwidth=99
|
||||
|
||||
let b:undo_ftplugin = '
|
||||
\ setlocal formatoptions< comments< commentstring<
|
||||
\|setlocal tabstop< shiftwidth< softtabstop< expandtab< textwidth<
|
||||
\'
|
||||
|
||||
let &cpoptions = s:save_cpo
|
||||
unlet s:save_cpo
|
Loading…
Add table
Add a link
Reference in a new issue