summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-01-22 09:12:18 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2016-01-22 09:12:18 +0100
commitc324a086b2e184f0275c46e97acbf95376683fde (patch)
tree7d0a6f65b21383ffa4126974752dacb59f4c92c1 /ftplugin
parent2bde381723b9604dccb5b9dbe4588a0251ad8544 (diff)
downloadvim-polyglot-2.7.1.tar.gz
vim-polyglot-2.7.1.zip
Exclude autoload scripts for nimv2.7.1
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/nim.vim27
1 files changed, 0 insertions, 27 deletions
diff --git a/ftplugin/nim.vim b/ftplugin/nim.vim
deleted file mode 100644
index 5f3e93d0..00000000
--- a/ftplugin/nim.vim
+++ /dev/null
@@ -1,27 +0,0 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1
-
-if exists("b:nim_loaded")
- finish
-endif
-
-let b:nim_loaded = 1
-
-let s:cpo_save = &cpo
-set cpo&vim
-
-call nim#init()
-
-setlocal formatoptions-=t formatoptions+=croql
-setlocal comments=:##,:#
-setlocal commentstring=#\ %s
-setlocal omnifunc=NimComplete
-setlocal suffixesadd=.nim
-setlocal expandtab "Make sure that only spaces are used
-
-compiler nim
-
-let &cpo = s:cpo_save
-unlet s:cpo_save
-
-
-endif