mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07: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:
parent
9207ad5c84
commit
b05e10ef72
@ -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
|
||||
|
||||
|
@ -774,6 +774,7 @@ local extension = {
|
||||
po = 'po',
|
||||
pot = 'po',
|
||||
pod = 'pod',
|
||||
filter = 'poefilter',
|
||||
pk = 'poke',
|
||||
ps = 'postscr',
|
||||
epsi = 'postscr',
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user