mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 05:53:50 -05:00
Add support for PEG syntax (#615)
* feat: add pest syntax * feat: add pest into packages * feat: increase the package count
This commit is contained in:
@@ -1998,6 +1998,10 @@ if !has_key(g:polyglot_is_disabled, 'requirements')
|
||||
au BufNewFile,BufRead *.pip,*require.{txt,in},*requirements.{txt,in},constraints.{txt,in} setf requirements
|
||||
endif
|
||||
|
||||
if !has_key(g:polyglot_is_disabled, 'pest')
|
||||
au BufNewFile,BufRead *.pest setf pest
|
||||
endif
|
||||
|
||||
if !has_key(g:polyglot_is_disabled, 'python')
|
||||
au BufNewFile,BufRead *.cgi,*.fcgi,*.gyp,*.gypi,*.lmi,*.ptl,*.py,*.py3,*.pyde,*.pyi,*.pyp,*.pyt,*.pyw,*.rpy,*.smk,*.spec,*.tac,*.wsgi,*.xpy,{.,}gclient,{.,}pythonrc,{.,}pythonstartup,DEPS,SConscript,SConstruct,Snakefile,wscript setf python
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user