Skip to content

Commit

Permalink
Change python syntax providers, closes #209
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Dec 30, 2017
1 parent 1541356 commit 17ad302
Show file tree
Hide file tree
Showing 7 changed files with 1,253 additions and 433 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ If you need full functionality of any plugin, please use it directly with your p
- [puppet](https://github.com/voxpupuli/vim-puppet) (syntax, indent, ftplugin)
- [purescript](https://github.com/purescript-contrib/purescript-vim) (syntax, indent, ftplugin)
- [python-compiler](https://github.com/aliev/vim-compiler-python) (compiler, autoload)
- [python](https://github.com/mitsuhiko/vim-python-combined) (syntax, indent)
- [python-ident](https://github.com/Vimjas/vim-python-pep8-indent) (indent)
- [python](https://github.com/vim-python/python-syntax) (syntax)
- [qml](https://github.com/peterhoeg/vim-qml) (syntax, indent, ftplugin)
- [r-lang](https://github.com/vim-scripts/R.vim) (syntax, ftplugin)
- [racket](https://github.com/wlangstroth/vim-racket) (syntax, indent, autoload, ftplugin)
Expand Down
3 changes: 2 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ PACKS="
pug:digitaltoad/vim-pug
puppet:voxpupuli/vim-puppet
purescript:purescript-contrib/purescript-vim
python:mitsuhiko/vim-python-combined
python:vim-python/python-syntax
python-compiler:aliev/vim-compiler-python
python-ident:Vimjas/vim-python-pep8-indent
qml:peterhoeg/vim-qml
r-lang:vim-scripts/R.vim
racket:wlangstroth/vim-racket
Expand Down
2 changes: 2 additions & 0 deletions config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ let g:filetype_euphoria = 'elixir'
augroup filetypedetect
autocmd BufNewFile,BufReadPost *.vb setlocal filetype=vbnet
augroup END

let g:python_highlight_all = 1
8 changes: 7 additions & 1 deletion ftdetect/polyglot.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ let g:filetype_euphoria = 'elixir'
augroup filetypedetect
autocmd BufNewFile,BufReadPost *.vb setlocal filetype=vbnet
augroup END

let g:python_highlight_all = 1
augroup filetypedetect
" apiblueprint:sheerun/apiblueprint.vim
autocmd BufReadPost,BufNewFile *.apib set filetype=apiblueprint
Expand Down Expand Up @@ -780,7 +782,7 @@ au FileType purescript let &l:commentstring='{--%s--}'
augroup END

augroup filetypedetect
" python:mitsuhiko/vim-python-combined
" python:vim-python/python-syntax
augroup END

augroup filetypedetect
Expand All @@ -793,6 +795,10 @@ augroup filetypedetect
autocmd FileType python compiler python
augroup END

augroup filetypedetect
" python-ident:Vimjas/vim-python-pep8-indent
augroup END

augroup filetypedetect
" qml:peterhoeg/vim-qml
autocmd BufRead,BufNewFile *.qml setfiletype qml
Expand Down
Loading

0 comments on commit 17ad302

Please sign in to comment.