base on nginx 1.17.9

This commit is contained in:
Alex
2020-04-16 14:08:02 +08:00
parent 7e755e817d
commit 3d1e96d5ce
29 changed files with 20853 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
au BufRead,BufNewFile *.nginx set ft=nginx
au BufRead,BufNewFile */etc/nginx/* set ft=nginx
au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
au BufRead,BufNewFile nginx.conf set ft=nginx

View File

@@ -0,0 +1 @@
setlocal commentstring=#\ %s

View File

@@ -0,0 +1,11 @@
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal indentexpr=
" cindent actually works for nginx' simple file structure
setlocal cindent
" Just make sure that the comments are not reset as defs would be.
setlocal cinkeys-=0#

2338
contrib/vim/syntax/nginx.vim Normal file

File diff suppressed because it is too large Load Diff