neovim-scalavista


Ⅰ. 插件描述

IDE-like features for Scala in Neovim - powered by scalavista-server

Ⅱ. 基本信息

创建日期:  2018-11-04
使用用户:  1
Github星:  2
插件作者:  Christoph Bunte

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'buntec/neovim-scalavista'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'buntec/neovim-scalavista'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'buntec/neovim-scalavista'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/buntec/neovim-scalavista

Ⅳ. 文档说明

# neovim-scalavista

A Neovim plugin that provides IDE-like functionality for the Scala language (2.11--2.13):

  • Show type (:ScalavistaType);
  • Show kind (:ScalavistaKind);
  • Show fully qualified name (:ScalavistaFullyQualifiedName);
  • Jump to definition (:ScalavistaGoto);
  • Show Scaladoc (:ScalavistaDoc);
  • Auto-completion;
  • Linting - compiler errors and warnings show up as you type.

The plugin is a front-end to the scalavista-server
language server, which in turn is a thin wrapper around Scala's presentation compiler.

Prerequisites

  • Neovim with Python3 support and the pynvim package installed (pip3 install pynvim);
  • Java (version 8 or greater): make sure the java executable is on your PATH;

Install

Using vim-plug:

Plug 'buntec/neovim-scalavista', { 'do': ':UpdateRemotePlugins' }

Usage

See :help neovim-scalavista.

添加新评论