Patch 8.2.2690
Problem:    PowerShell files are not recognized.
Solution:   Recognize several PowerShell extension. (Heath Stewart,
            closes #8051)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.2689/runtime/filetype.vim        2021-03-19 20:27:37.153524903 
+0100
--- runtime/filetype.vim        2021-04-02 12:49:40.930720807 +0200
***************
*** 1279,1284 ****
--- 1279,1289 ----
  " Povray, Pascal, PHP or assembly
  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
  au BufNewFile,BufRead *printcap
        \ let b:ptcap_type = "print" | setf ptcap
*** ../vim-8.2.2689/src/testdir/test_filetype.vim       2021-03-19 
20:27:37.153524903 +0100
--- src/testdir/test_filetype.vim       2021-04-02 12:59:29.342197494 +0200
***************
*** 387,392 ****
--- 387,394 ----
      \ 'promela': ['file.pml'],
      \ 'proto': ['file.proto'],
      \ 'protocols': ['/etc/protocols', 'any/etc/protocols'],
+     \ 'ps1': ['file.ps1', 'file.psd1', 'file.psm1', 'file.pssc'],
+     \ 'ps1xml': ['file.ps1xml'],
      \ 'psf': ['file.psf'],
      \ 'puppet': ['file.pp'],
      \ 'pyrex': ['file.pyx', 'file.pxd'],
***************
*** 538,544 ****
      \ 'xhtml': ['file.xhtml', 'file.xht'],
      \ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file', 
'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'],
      \ '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'],
      \ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 
'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
      \ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
      \ 'xpm2': ['file.xpm2'],
--- 540,546 ----
      \ 'xhtml': ['file.xhtml', 'file.xht'],
      \ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file', 
'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'],
      \ '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', 'file.cdxml', 
'file.psc1'],
      \ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 
'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
      \ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
      \ 'xpm2': ['file.xpm2'],
*** ../vim-8.2.2689/src/version.c       2021-04-01 21:57:42.486486962 +0200
--- src/version.c       2021-04-02 12:51:35.042343526 +0200
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2690,
  /**/

-- 
Well, you come from nothing, you go back to nothing...  What have you
lost?  Nothing!
                                -- Monty Python: The life of Brian

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202104021100.132B0rSU2202141%40masaka.moolenaar.net.

Raspunde prin e-mail lui