diff options
author | tdro <tdro@users.noreply.github.com> | 2024-08-12 00:00:00 +0000 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2024-08-12 00:00:00 +0000 |
commit | e0a6dc44e621e03dd233ddf91a015bc3c7c1f4df (patch) | |
tree | 26ee47c19d9264e0d1338db9ac08405670aaace5 /.vim/syntax | |
parent | 4229729633ab4088de715b0cf623333b444fcfaf (diff) | |
download | dotfiles-e0a6dc44e621e03dd233ddf91a015bc3c7c1f4df.tar.gz dotfiles-e0a6dc44e621e03dd233ddf91a015bc3c7c1f4df.tar.bz2 dotfiles-e0a6dc44e621e03dd233ddf91a015bc3c7c1f4df.zip |
.vim/vimrc -> .config/vim/vimrc
XDG now supported
Diffstat (limited to '.vim/syntax')
-rw-r--r-- | .vim/syntax/nftables.vim | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/.vim/syntax/nftables.vim b/.vim/syntax/nftables.vim deleted file mode 100644 index 8a6bc90..0000000 --- a/.vim/syntax/nftables.vim +++ /dev/null @@ -1,32 +0,0 @@ -" https://github.com/nfnty/vim-nftables -" License: MIT Copyright (c) 2015 nfnty - -if exists('b:current_syntax') - finish -endif - -syn match nftablesSet /{.*}/ contains=nftablesSetEntry -syn match nftablesSetEntry /[a-zA-Z0-9]\+/ contained -hi def link nftablesSet Keyword -hi def link nftablesSetEntry Operator - -syn match nftablesNumber "\<[0-9A-Fa-f./:]\+\>" contains=nftablesMask,nftablesDelimiter -syn match nftablesHex "\<0x[0-9A-Fa-f]\+\>" -syn match nftablesDelimiter "[./:]" contained -syn match nftablesMask "/[0-9.]\+" contained contains=nftablesDelimiter -hi def link nftablesNumber Statement -hi def link nftablesHex Number -hi def link nftablesDelimiter Operator -hi def link nftablesMask Operator - -syn region Comment start=/#/ end=/$/ -syn region String start=/"/ end=/"/ -syn keyword Function table tcp udp -syn keyword Statement drop reject log limit -syn keyword Type accept -syn keyword Constant prerouting input forward output postrouting -syn keyword Special snat dnat masquerade queue -syn keyword Keyword continue return goto -syn keyword Keyword define - -let b:current_syntax = 'nftables' |