From b8d993932931549cc2bf8158abc9bad026d14c11 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 11 Sep 2016 13:25:03 +0200 Subject: Add python compiler, closes #147 --- ftdetect/polyglot.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 6e25fd4e..5eb3f089 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -688,6 +688,18 @@ au FileType purescript let &l:commentstring='{--%s--}' endif +" ftdetect/python.vim +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1 + +" Vim compiler file +" Compiler: Unit testing tool for Python +" Maintainer: Ali Aliev +" Last Change: 2015 Nov 2 + +autocmd FileType python compiler python + +endif + " ftdetect/qml.vim if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qml') == -1 -- cgit v1.2.3