From a26bebbeb94207698d20f43485098ead64bb6c67 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 26 Dec 2013 03:34:22 +0100 Subject: Update --- ftplugin/scala.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/scala.vim') 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, -- cgit v1.2.3