From 5dd1a7e83966c92d220073185f1738dfe441f59e Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 2 May 2016 10:42:37 +0200 Subject: Update --- ftplugin/ansible_hosts.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ftplugin/ansible_hosts.vim (limited to 'ftplugin/ansible_hosts.vim') diff --git a/ftplugin/ansible_hosts.vim b/ftplugin/ansible_hosts.vim new file mode 100644 index 00000000..7dbd8ec4 --- /dev/null +++ b/ftplugin/ansible_hosts.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1 + +if exists("b:did_ftplugin") + finish +else + let b:did_ftplugin = 1 +endif + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions-=c + +let b:undo_ftplugin = "setl comments< commentstring< formatoptions<" + +endif -- cgit v1.2.3