Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 1 | " Vim indent file |
2 | " Language: nginx.conf | ||||
3 | " Maintainer: Chris Aumann <me@chr4.org> | ||||
4 | " Last Change: Apr 15, 2017 | ||||
5 | |||||
6 | if exists("b:did_indent") | ||||
7 | finish | ||||
8 | endif | ||||
9 | let b:did_indent = 1 | ||||
10 | |||||
11 | setlocal indentexpr= | ||||
12 | |||||
13 | " cindent actually works for nginx' simple file structure | ||||
14 | setlocal cindent | ||||
15 | |||||
16 | " Just make sure that the comments are not reset as defs would be. | ||||
17 | setlocal cinkeys-=0# |