1
0
forked from aniani/vim

patch 8.2.2591: Poke files are not recognized

Problem:    Poke files are not recognized.
Solution:   Add a filetype entry. (Matt Ihlenfield)
This commit is contained in:
Bram Moolenaar 2021-03-12 22:16:41 +01:00
parent 12bce95887
commit c80f647512
3 changed files with 6 additions and 0 deletions

View File

@ -1334,6 +1334,9 @@ au BufNewFile,BufRead *.pml setf promela
au BufNewFile,BufRead *.proto setf proto
au BufNewFile,BufRead *.pbtxt setf pbtxt
" Poke
au BufNewFile,BufRead *.pk setf poke
" Protocols
au BufNewFile,BufRead */etc/protocols setf protocols

View File

@ -374,6 +374,7 @@ let s:filename_checks = {
\ 'po': ['file.po', 'file.pot'],
\ 'pod': ['file.pod'],
\ 'pod6': ['file.pod6'],
\ 'poke': ['file.pk'],
\ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'],
\ 'pov': ['file.pov'],
\ 'povini': ['.povrayrc'],

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2591,
/**/
2590,
/**/