Commits

Jean-Philippe Thierry  committed c97d16f

Fix python filetype detection

  • Participants
  • Parent commits eab6c24
  • Branches hotfix/py_detect
  • Tags py_detect

Comments (0)

Files changed (2)

File ftdetect/python.vim

-autocmd FileType python set omnifunc=pythoncomplete#Complete
-au! BufNewFile,BufRead *.py compiler pylint
-au! BufNewFile,BufRead test_*.py compiler nose
 set statusline+=%{SyntasticStatuslineFlag()}
 set statusline+=%*
 
+autocmd FileType python set omnifunc=pythoncomplete#Complete
+au! BufNewFile,BufRead *.py compiler pylint
+au! BufNewFile,BufRead test_*.py compiler nose
 let python_highlight_all = 1
 let python_slow_sync = 1
 " Pylint is the default compiler for python files