Skip to content

Commit

Permalink
Added more concise .sc filename for Scala source
Browse files Browse the repository at this point in the history
The file extension is recognized by some other text editors (e.g. VS Code) as a shorter extension for Scala source files. There are some like myself who prefer `.sc`, as `.scala` is really long and clunky and `.sc` is not in use for any other popular languages.
  • Loading branch information
Brennon M committed Jun 6, 2021
1 parent 518df27 commit 6560259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/filetype.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1497,6 +1497,7 @@ au BufNewFile,BufRead *.sa setf sather

" Scala
au BufNewFile,BufRead *.scala setf scala
au BufNewFile,BufRead *.sc setf scala

" SBT - Scala Build Tool
au BufNewFile,BufRead *.sbt setf sbt
Expand Down

0 comments on commit 6560259

Please sign in to comment.