view runtime/indent/nginx.vim @ 27474:307341b9c227 v8.2.4265

patch 8.2.4265: autoload tests fails Commit: https://github.com/vim/vim/commit/6a058070924928f1b2bdb11f345229074904d8bd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 30 18:56:35 2022 +0000 patch 8.2.4265: autoload tests fails Problem: Autoload tests fails. Solution: Use export instead of name with #.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jan 2022 20:00:04 +0100
parents 9c221ad9634a
children 6dd88e45d47d
line wrap: on
line source

" 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#