scala-vim-support


Ⅰ. 插件描述

Unofficial mirror of Scala Vim support - With a few fixes added.

Ⅱ. 基本信息

创建日期:  2005-03-29
使用用户:  49
Github星:  23
插件作者:  Ross Timson

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'rosstimson/scala-vim-support'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'rosstimson/scala-vim-support'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'rosstimson/scala-vim-support'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/rosstimson/scala-vim-support

Ⅳ. 文档说明

From Stefan Matthias Aust's website (http://www.3plus4.de/scala/):

  • How to use it

The Vim editor (http://www.vim.org/) can be customized using the
following two resources located either in your home directory or
in some system-specific directory:

.vimrc  is the main configuration file; it should at least
        contain the command "syn on" to enable syntax
        hightlighting

.vim    is the Vim configuration directory; it contains scripts
        (http://www.vim.org/scripts/) in predefined locations.
        The support files for Scala are contained in the three
        directories "indent", "syntax" and "ftdetect"; simply
        copy them to your Vim configuration directory.

Vim searchs for user-specific resources at the following locations:

- under Linux, Solaris, etc. usually /home/<username>/.vimrc
- under Mac OS X: /Users/<username>/.vimrc
- under Windows:  %HOMEDRIVE%%HOMEPATH%\_vimrc
  • Thanks

scala.vim was contributed by Stefan Matthias Aust (nobody@3plus4.de)

添加新评论