Patch 8.2.2954
Problem: Short file name extension for Scala not recognized.
Solution: Recognize *.sc. (closes #8337)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.2953/runtime/filetype.vim 2021-05-23 11:18:44.826239726
+0200
--- runtime/filetype.vim 2021-06-06 20:13:23.849097057 +0200
***************
*** 1496,1502 ****
au BufNewFile,BufRead *.sa setf sather
" Scala
! au BufNewFile,BufRead *.scala setf scala
" SBT - Scala Build Tool
au BufNewFile,BufRead *.sbt setf sbt
--- 1496,1502 ----
au BufNewFile,BufRead *.sa setf sather
" Scala
! au BufNewFile,BufRead *.scala,*.sc setf scala
" SBT - Scala Build Tool
au BufNewFile,BufRead *.sbt setf sbt
*** ../vim-8.2.2953/src/testdir/test_filetype.vim 2021-05-23
11:18:44.826239726 +0200
--- src/testdir/test_filetype.vim 2021-06-06 20:13:40.333058467 +0200
***************
*** 423,429 ****
\ 'sass': ['file.sass'],
\ 'sather': ['file.sa'],
\ 'sbt': ['file.sbt'],
! \ 'scala': ['file.scala'],
\ 'scheme': ['file.scm', 'file.ss', 'file.rkt'],
\ 'scilab': ['file.sci', 'file.sce'],
\ 'screen': ['.screenrc', 'screenrc'],
--- 423,429 ----
\ 'sass': ['file.sass'],
\ 'sather': ['file.sa'],
\ 'sbt': ['file.sbt'],
! \ 'scala': ['file.scala', 'file.sc'],
\ 'scheme': ['file.scm', 'file.ss', 'file.rkt'],
\ 'scilab': ['file.sci', 'file.sce'],
\ 'screen': ['.screenrc', 'screenrc'],
*** ../vim-8.2.2953/src/version.c 2021-06-06 17:34:10.324945725 +0200
--- src/version.c 2021-06-06 20:15:17.008832330 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2954,
/**/
--
A fool must search for a greater fool to find admiration.
/// 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/202106061816.156IGbvv379315%40masaka.moolenaar.net.