aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2021-10-05 15:19:16 +0200
committerGitHub <noreply@github.com>2021-10-05 15:19:16 +0200
commitf6a9f0bfcaeb256bac1b1c8273e6c40750664967 (patch)
tree488a1d6df5ef3917d8b75b481b4e12f1c63b5ffa /runtime/indent
parent17f7c83f2930456f6819f372720cb53eb77ae694 (diff)
downloadrneovim-f6a9f0bfcaeb256bac1b1c8273e6c40750664967.tar.gz
rneovim-f6a9f0bfcaeb256bac1b1c8273e6c40750664967.tar.bz2
rneovim-f6a9f0bfcaeb256bac1b1c8273e6c40750664967.zip
fix(vim-patch): add missing nginx runtime files (#15916)
Followup to incomplete runtime update https://github.com/neovim/neovim/pull/15911
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/nginx.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/indent/nginx.vim b/runtime/indent/nginx.vim
new file mode 100644
index 0000000000..d4afec1c11
--- /dev/null
+++ b/runtime/indent/nginx.vim
@@ -0,0 +1,17 @@
+" Vim indent file
+" Language: nginx.conf
+" Maintainer: Chris Aumann <me@chr4.org>
+" Last Change: Apr 15, 2017
+
+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#