summaryrefslogtreecommitdiffstats
path: root/runtime/indent/nginx.vim
blob: 8cef7662e0bebbfce456a2588ce14c93be0455d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" Vim indent file
" Language: nginx.conf
" Maintainer: Chris Aumann <me@chr4.org>
" Last Change:  2022 Apr 06

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#

let b:undo_indent = "setl inde< cin< cink<"