diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2013-12-26 03:34:22 +0100 |
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-12-26 03:34:22 +0100 |
| commit | a26bebbeb94207698d20f43485098ead64bb6c67 (patch) | |
| tree | ac829c223694513dfc9b90c592001d2ea31d07d4 /ftplugin/scala.vim | |
| parent | edd5ee63e66d9ef166034d9ac5bed132f501ecb9 (diff) | |
| download | vim-polyglot-a26bebbeb94207698d20f43485098ead64bb6c67.tar.gz vim-polyglot-a26bebbeb94207698d20f43485098ead64bb6c67.zip | |
Update
Diffstat (limited to '')
| -rw-r--r-- | ftplugin/scala.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/scala.vim b/ftplugin/scala.vim index 6db56d04..00d45669 100644 --- a/ftplugin/scala.vim +++ b/ftplugin/scala.vim @@ -4,6 +4,10 @@ setlocal softtabstop=2 setlocal expandtab setlocal formatoptions=tcqr setlocal commentstring=//%s +let &l:include = '^\s*import' +let &l:includeexpr = 'substitute(v:fname,"\\.","/","g")' +setlocal path+=src/main/scala,src/test/scala +setlocal suffixesadd=.scala set makeprg=sbt\ -Dsbt.log.noformat=true\ compile set efm=%E\ %#[error]\ %f:%l:\ %m,%C\ %#[error]\ %p^,%-C%.%#,%Z, |
