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:
Sinos
2020-10-27 19:02:41 +08:00
committed by GitHub
parent 683286b3d7
commit 05e21a9e25
4 changed files with 144 additions and 1 deletions

View File

@@ -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