Mercurial > vim
comparison runtime/indent/nginx.vim @ 28379:6dd88e45d47d
Update runtime files
Commit: https://github.com/vim/vim/commit/cbaff5e06ec525d31dc44093125c42029e01d508
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 8 17:45:08 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Apr 2022 19:00:04 +0200 |
parents | 9c221ad9634a |
children | 7d68a90cbf5c |
comparison
equal
deleted
inserted
replaced
28378:b8d39e361293 | 28379:6dd88e45d47d |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: nginx.conf | 2 " Language: nginx.conf |
3 " Maintainer: Chris Aumann <me@chr4.org> | 3 " Maintainer: Chris Aumann <me@chr4.org> |
4 " Last Change: Apr 15, 2017 | 4 " Last Change: 2022 Apr 06 |
5 | 5 |
6 if exists("b:did_indent") | 6 if exists("b:did_indent") |
7 finish | 7 finish |
8 endif | 8 endif |
9 let b:did_indent = 1 | 9 let b:did_indent = 1 |
13 " cindent actually works for nginx' simple file structure | 13 " cindent actually works for nginx' simple file structure |
14 setlocal cindent | 14 setlocal cindent |
15 | 15 |
16 " Just make sure that the comments are not reset as defs would be. | 16 " Just make sure that the comments are not reset as defs would be. |
17 setlocal cinkeys-=0# | 17 setlocal cinkeys-=0# |
18 | |
19 let b:undo_indent = "setl inde< cin< cink<" |