1
0
forked from aniani/vim

patch 8.2.2954: short file name extension for Scala not recognized

Problem:    Short file name extension for Scala not recognized.
Solution:   Recognize *.sc. (closes #8337)
This commit is contained in:
Brennon M
2021-06-06 20:15:53 +02:00
committed by Bram Moolenaar
parent 518df27ebe
commit 6db7b6375a
3 changed files with 4 additions and 2 deletions

View File

@@ -1496,7 +1496,7 @@ au BufNewFile,BufRead *.sass setf sass
au BufNewFile,BufRead *.sa setf sather au BufNewFile,BufRead *.sa setf sather
" Scala " Scala
au BufNewFile,BufRead *.scala setf scala au BufNewFile,BufRead *.scala,*.sc setf scala
" SBT - Scala Build Tool " SBT - Scala Build Tool
au BufNewFile,BufRead *.sbt setf sbt au BufNewFile,BufRead *.sbt setf sbt

View File

@@ -423,7 +423,7 @@ let s:filename_checks = {
\ 'sass': ['file.sass'], \ 'sass': ['file.sass'],
\ 'sather': ['file.sa'], \ 'sather': ['file.sa'],
\ 'sbt': ['file.sbt'], \ 'sbt': ['file.sbt'],
\ 'scala': ['file.scala'], \ 'scala': ['file.scala', 'file.sc'],
\ 'scheme': ['file.scm', 'file.ss', 'file.rkt'], \ 'scheme': ['file.scm', 'file.ss', 'file.rkt'],
\ 'scilab': ['file.sci', 'file.sce'], \ 'scilab': ['file.sci', 'file.sce'],
\ 'screen': ['.screenrc', 'screenrc'], \ 'screen': ['.screenrc', 'screenrc'],

View File

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