Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
My work on integration of Scala into Vim - not a ton here, but useful for me.
VimL Scala Ruby
branch: master

Fixes/cleanup of built-in Tagbar and ctags config

  - Regexes accommodate `override` on methods, vals, and vars.

  - Fix kind label mismatches with our provided Tagbar config. Fixes
    some kinds like case classes and values/variables simply not showing
    up in Tagbar even though the tags generation supports them.

    Changed some of the labels to what seem to me like more logical
    choices.

  - Drop the `kind2scope`/`scope2kind` Tagbar settings. They're only
    really meaningful if the ctags generation supports scopes, which an
    exuberant ctags langdef for Scala does not. These can be added back
    with appropriate values for a tool that supports scopes, like
    sctags. Removing them for now results in better grouping in Tagbar.

Hat tip to @luben on #104 for prompting me to take notice of how wonky
the configs taken from the Tagbar wiki were :-)
latest commit 71ada50fc5
@ches ches authored

README.md

vim-scala Build Status

This is a "bundle" for Vim that builds off of the initial Scala plugin modules by Stefan Matthias Aust and adds some more "stuff" that I find useful, including all of my notes and customizations.

Installation

You really should be using Tim Pope's Pathogen module for Vim (http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen) if you're going to clone this repository because, well... you should.

Using the command-line

Using wget:

mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do wget --no-check-certificate -O ~/.vim/$d/scala.vim https://raw.githubusercontent.com/derekwyatt/vim-scala/master/$d/scala.vim; done

Using cURL:

mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do curl -o ~/.vim/$d/scala.vim https://raw.githubusercontent.com/derekwyatt/vim-scala/master/$d/scala.vim; done

Vundle

Alternatively, you can use Vundle to manage your plugins.

If you have Vundle installed, simply add the following to your .vimrc:

Plugin 'derekwyatt/vim-scala'

and then run

:PluginInstall

to install it.

Sorting of import statements

:SortScalaImports

There are different modes for import sorting available. For details, please consult the vimdoc help with

:help :SortScalaImports
Something went wrong with that request. Please try again.