summaryrefslogtreecommitdiffstats
path: root/ftplugin/unison.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/unison.vim
parent918610d427503c5c7b380eae4a954bd8cb427db5 (diff)
downloadvim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.tar.gz
vim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.zip
Update
Diffstat (limited to 'ftplugin/unison.vim')
-rw-r--r--ftplugin/unison.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftplugin/unison.vim b/ftplugin/unison.vim
new file mode 100644
index 00000000..93ac81d6
--- /dev/null
+++ b/ftplugin/unison.vim
@@ -0,0 +1,11 @@
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'unison', 'ftplugin/unison.vim')
+ finish
+endif
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+call unison#SetBufferDefaults()