mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.2690: PowerShell files are not recognized (#14276)
Problem: PowerShell files are not recognized. Solution: Recognize several PowerShell extension. (Heath Stewart, closes vim/vim#8051)ef38bcf051
N/A patches for version.c: vim-patch:8.2.2689: tiny build fails Problem: Tiny build fails. Solution: Add #ifdef around use of p_stl.160a2b4dac
vim-patch:8.2.2691: autoconf may mess up compiler flags Problem: Autoconf may mess up compiler flags. Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov, closes vim/vim#8049)3fa5e64e0e
This commit is contained in:
parent
22ef4071f0
commit
dde89730b4
@ -1275,6 +1275,11 @@ au BufNewFile,BufRead .povrayrc setf povini
|
|||||||
" Povray, Pascal, PHP or assembly
|
" Povray, Pascal, PHP or assembly
|
||||||
au BufNewFile,BufRead *.inc call dist#ft#FTinc()
|
au BufNewFile,BufRead *.inc call dist#ft#FTinc()
|
||||||
|
|
||||||
|
" PowerShell
|
||||||
|
au BufNewFile,BufRead *.ps1,*.psd1,*.psm1,*.pssc setf ps1
|
||||||
|
au BufNewFile,BufRead *.ps1xml setf ps1xml
|
||||||
|
au BufNewFile,BufRead *.cdxml,*.psc1 setf xml
|
||||||
|
|
||||||
" Printcap and Termcap
|
" Printcap and Termcap
|
||||||
au BufNewFile,BufRead *printcap
|
au BufNewFile,BufRead *printcap
|
||||||
\ let b:ptcap_type = "print" | setf ptcap
|
\ let b:ptcap_type = "print" | setf ptcap
|
||||||
|
@ -371,6 +371,8 @@ let s:filename_checks = {
|
|||||||
\ 'promela': ['file.pml'],
|
\ 'promela': ['file.pml'],
|
||||||
\ 'proto': ['file.proto'],
|
\ 'proto': ['file.proto'],
|
||||||
\ 'protocols': ['/etc/protocols'],
|
\ 'protocols': ['/etc/protocols'],
|
||||||
|
\ 'ps1': ['file.ps1', 'file.psd1', 'file.psm1', 'file.pssc'],
|
||||||
|
\ 'ps1xml': ['file.ps1xml'],
|
||||||
\ 'psf': ['file.psf'],
|
\ 'psf': ['file.psf'],
|
||||||
\ 'puppet': ['file.pp'],
|
\ 'puppet': ['file.pp'],
|
||||||
\ 'pyrex': ['file.pyx', 'file.pxd'],
|
\ 'pyrex': ['file.pyx', 'file.pxd'],
|
||||||
@ -521,7 +523,7 @@ let s:filename_checks = {
|
|||||||
\ 'xhtml': ['file.xhtml', 'file.xht'],
|
\ 'xhtml': ['file.xhtml', 'file.xht'],
|
||||||
\ 'xinetd': ['/etc/xinetd.conf'],
|
\ 'xinetd': ['/etc/xinetd.conf'],
|
||||||
\ 'xmath': ['file.msc', 'file.msf'],
|
\ 'xmath': ['file.msc', 'file.msf'],
|
||||||
\ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.ui', 'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul', 'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old', 'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss'],
|
\ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 'file.csproj.user', 'file.ui', 'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul', 'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old', 'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss', 'file.cdxml', 'file.psc1'],
|
||||||
\ 'xmodmap': ['anyXmodmap'],
|
\ 'xmodmap': ['anyXmodmap'],
|
||||||
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
|
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
|
||||||
\ 'xpm2': ['file.xpm2'],
|
\ 'xpm2': ['file.xpm2'],
|
||||||
|
Loading…
Reference in New Issue
Block a user