vim-patch:8.2.2773: PSL filetype not recognized (#14389)

Problem:    PSL filetype not recognized.
Solution:   Add a filetype pattern. (Daniel Kho, closes vim/vim#8117)
112a006417
This commit is contained in:
Jan Edmund Lazo
2021-04-17 22:41:51 -04:00
committed by GitHub
parent 63b64ebab0
commit a129887c00
2 changed files with 8 additions and 4 deletions

View File

@@ -1338,6 +1338,9 @@ au BufNewFile,BufRead *.pdb setf prolog
" Promela " Promela
au BufNewFile,BufRead *.pml setf promela au BufNewFile,BufRead *.pml setf promela
" Property Specification Language (PSL)
au BufNewFile,BufRead *.psl setf psl
" Google protocol buffers " Google protocol buffers
au BufNewFile,BufRead *.proto setf proto au BufNewFile,BufRead *.proto setf proto
au BufNewFile,BufRead *.pbtxt setf pbtxt au BufNewFile,BufRead *.pbtxt setf pbtxt

View File

@@ -376,6 +376,7 @@ let s:filename_checks = {
\ 'ps1': ['file.ps1', 'file.psd1', 'file.psm1', 'file.pssc'], \ 'ps1': ['file.ps1', 'file.psd1', 'file.psm1', 'file.pssc'],
\ 'ps1xml': ['file.ps1xml'], \ 'ps1xml': ['file.ps1xml'],
\ 'psf': ['file.psf'], \ 'psf': ['file.psf'],
\ 'psl': ['file.psl'],
\ 'puppet': ['file.pp'], \ 'puppet': ['file.pp'],
\ 'pyrex': ['file.pyx', 'file.pxd'], \ 'pyrex': ['file.pyx', 'file.pxd'],
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'], \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],