summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-10 14:07:02 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-10 14:07:02 +0200
commit1eed30b2af57538496943da09e298a6facc33002 (patch)
tree49e29b23caf76fdc888dd6628321a7125c1d8514 /ftplugin
parentbe092d6f430ca802d7200e68a5c987195bccd0e9 (diff)
downloadvim-polyglot-1eed30b2af57538496943da09e298a6facc33002.tar.gz
vim-polyglot-1eed30b2af57538496943da09e298a6facc33002.zip
Fix filetype detection and docini filetypesv4.9.9
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/dosini.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/ftplugin/dosini.vim b/ftplugin/dosini.vim
new file mode 100644
index 00000000..e0a2ba3d
--- /dev/null
+++ b/ftplugin/dosini.vim
@@ -0,0 +1,23 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dosini') == -1
+
+" Vim filetype plugin file
+" Language: Configuration File (ini file) for MSDOS/MS Windows
+" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
+" Latest Revision: 2008-07-09
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+let b:undo_ftplugin = "setl com< cms< fo<"
+
+setlocal comments=:; commentstring=;\ %s formatoptions-=t formatoptions+=croql
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+endif