mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 13:56:05 +00:00
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:
@@ -1392,6 +1392,9 @@ au BufNewFile,BufRead *.dpr,*.lpr setf pascal
|
|||||||
" Free Pascal makefile definition file
|
" Free Pascal makefile definition file
|
||||||
au BufNewFile,BufRead *.fpc setf fpcmake
|
au BufNewFile,BufRead *.fpc setf fpcmake
|
||||||
|
|
||||||
|
" Path of Exile item filter
|
||||||
|
au BufNewFile,BufRead *.filter setf poefilter
|
||||||
|
|
||||||
" PDF
|
" PDF
|
||||||
au BufNewFile,BufRead *.pdf setf pdf
|
au BufNewFile,BufRead *.pdf setf pdf
|
||||||
|
|
||||||
|
@@ -774,6 +774,7 @@ local extension = {
|
|||||||
po = 'po',
|
po = 'po',
|
||||||
pot = 'po',
|
pot = 'po',
|
||||||
pod = 'pod',
|
pod = 'pod',
|
||||||
|
filter = 'poefilter',
|
||||||
pk = 'poke',
|
pk = 'poke',
|
||||||
ps = 'postscr',
|
ps = 'postscr',
|
||||||
epsi = 'postscr',
|
epsi = 'postscr',
|
||||||
|
@@ -427,6 +427,7 @@ let s:filename_checks = {
|
|||||||
\ 'plsql': ['file.pls', 'file.plsql'],
|
\ 'plsql': ['file.pls', 'file.plsql'],
|
||||||
\ 'po': ['file.po', 'file.pot'],
|
\ 'po': ['file.po', 'file.pot'],
|
||||||
\ 'pod': ['file.pod'],
|
\ 'pod': ['file.pod'],
|
||||||
|
\ 'poefilter': ['file.filter'],
|
||||||
\ 'poke': ['file.pk'],
|
\ 'poke': ['file.pk'],
|
||||||
\ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'],
|
\ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'],
|
||||||
\ 'pov': ['file.pov'],
|
\ 'pov': ['file.pov'],
|
||||||
|
Reference in New Issue
Block a user