vim-patch:9.0.0692: PoE filter files are not recognized (#20542)

Problem:    PoE filter files are not recognized.
Solution:   Add a pattern to detect PoE filter files. (closes vim/vim#11305)
b7f52f5659
This commit is contained in:
ObserverOfTime 2022-10-08 18:46:31 +03:00 committed by GitHub
parent 9207ad5c84
commit b05e10ef72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -1392,6 +1392,9 @@ au BufNewFile,BufRead *.dpr,*.lpr setf pascal
" Free Pascal makefile definition file
au BufNewFile,BufRead *.fpc setf fpcmake
" Path of Exile item filter
au BufNewFile,BufRead *.filter setf poefilter
" PDF
au BufNewFile,BufRead *.pdf setf pdf

View File

@ -774,6 +774,7 @@ local extension = {
po = 'po',
pot = 'po',
pod = 'pod',
filter = 'poefilter',
pk = 'poke',
ps = 'postscr',
epsi = 'postscr',

View File

@ -427,6 +427,7 @@ let s:filename_checks = {
\ 'plsql': ['file.pls', 'file.plsql'],
\ 'po': ['file.po', 'file.pot'],
\ 'pod': ['file.pod'],
\ 'poefilter': ['file.filter'],
\ 'poke': ['file.pk'],
\ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'],
\ 'pov': ['file.pov'],