summaryrefslogtreecommitdiffstats
path: root/ftplugin/nginx.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-12-21 14:41:23 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-12-21 14:41:23 +0100
commit87a26c5bf169bafbee837e2323f24cfb07e35250 (patch)
tree326eb21bb10c3d3633b83263d21c85c98f92a67e /ftplugin/nginx.vim
parent918610d427503c5c7b380eae4a954bd8cb427db5 (diff)
downloadvim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.tar.gz
vim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.zip
Update
Diffstat (limited to 'ftplugin/nginx.vim')
-rw-r--r--ftplugin/nginx.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/nginx.vim b/ftplugin/nginx.vim
index 45442242..61b8a760 100644
--- a/ftplugin/nginx.vim
+++ b/ftplugin/nginx.vim
@@ -2,4 +2,8 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'nginx', 'ftplugin/nginx.vim')
finish
endif
+setlocal comments=:#
setlocal commentstring=#\ %s
+setlocal formatoptions+=croql formatoptions-=t
+
+let b:undo_ftplugin = "setl fo< cms< com<"