summaryrefslogtreecommitdiffstats
path: root/ftplugin/logtalk.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/logtalk.vim')
-rw-r--r--ftplugin/logtalk.vim22
1 files changed, 22 insertions, 0 deletions
diff --git a/ftplugin/logtalk.vim b/ftplugin/logtalk.vim
new file mode 100644
index 00000000..fa42170f
--- /dev/null
+++ b/ftplugin/logtalk.vim
@@ -0,0 +1,22 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Logtalk filetype plugin file
+" Language: Logtalk
+" Maintainer: Paulo Moura <pmoura@logtalk.org>
+" Latest Revision: 2007-07-06
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setl ts< sw< fdm< fdc< ai< dict<"
+
+"setlocal ts=4
+setlocal sw=4
+setlocal fdm=syntax
+setlocal fdc=2
+setlocal autoindent
+setlocal dict=$VIMRUNTIME/ftplugin/logtalk.dict
+
+endif