Mercurial > vim
comparison runtime/ftplugin/scala.vim @ 25700:d4faa2c5211b
Update runtime files
Commit: https://github.com/vim/vim/commit/89a9c159f23fb7b3e24e6d09068adfc24a73afcb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 29 21:55:35 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 29 Aug 2021 22:00:05 +0200 |
parents | b11ceef7116e |
children | 02939ae3aaca |
comparison
equal
deleted
inserted
replaced
25699:8088e687c3d7 | 25700:d4faa2c5211b |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: Scala | 2 " Language: Scala |
3 " Maintainer: Derek Wyatt | 3 " Maintainer: Derek Wyatt |
4 " URL: https://github.com/derekwyatt/vim-scala | 4 " URL: https://github.com/derekwyatt/vim-scala |
5 " License: Same as Vim | 5 " License: Same as Vim |
6 " Last Change: 02 August 2016 | 6 " Last Change: 11 August 2021 |
7 " ---------------------------------------------------------------------------- | 7 " ---------------------------------------------------------------------------- |
8 | 8 |
9 if exists('b:did_ftplugin') || &cp | 9 if exists('b:did_ftplugin') || &cp |
10 finish | 10 finish |
11 endif | 11 endif |
24 endif | 24 endif |
25 setlocal commentstring=//\ %s | 25 setlocal commentstring=//\ %s |
26 | 26 |
27 setlocal shiftwidth=2 softtabstop=2 expandtab | 27 setlocal shiftwidth=2 softtabstop=2 expandtab |
28 | 28 |
29 setlocal include='^\s*import' | 29 setlocal include=^\\s*import |
30 setlocal includeexpr='substitute(v:fname,"\\.","/","g")' | 30 setlocal includeexpr=substitute(v:fname,'\\.','/','g') |
31 | 31 |
32 setlocal path+=src/main/scala,src/test/scala | 32 setlocal path+=src/main/scala,src/test/scala |
33 setlocal suffixesadd=.scala | 33 setlocal suffixesadd=.scala |
34 | 34 |
35 " vim:set sw=2 sts=2 ts=8 et: | 35 " vim:set sw=2 sts=2 ts=8 et: |