BitR / ycm-nimsuggest

A nimsuggest wrapper for YouCompleteMe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ycm-nimsuggest

A nimsuggest wrapper for YouCompleteMe

Nim completion support for vim

Ycm-nimsuggest is a plugin for YouCompleteMe that adds completion support for the Nim programming language.

Requirements:

Build and install nimsuggest

  • Build Nim (includes nimsuggest) - v0.20.0 is currently recommended
  • Make sure both the nim and nimsuggest binaries are in your $PATH

Vundle instructions:

  • Make sure you have YouCompleteMe added to you Vundle plugin list

  • Install YouCompleteMe with python3 (python3 ./install.py)

  • Clone this repo into the YouCompleteMe bundle:

      git clone https://github.com/BitR/ycm-nimsuggest \
      $HOME/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/nim
    

Autocommand

Make sure to have an autocommand for .nim files (nimrod.vim provides this one):

au BufNewFile,BufRead *.nim set filetype=nim

About

A nimsuggest wrapper for YouCompleteMe


Languages

Language:Python 100.0%