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:
- YouCompleteMe
- Vim filetype autocommand for nim files
- Build Nim (includes nimsuggest) - v0.20.0 is currently recommended
- Make sure both the nim and nimsuggest binaries are in your $PATH
-
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
Make sure to have an autocommand for .nim files (nimrod.vim provides this one):
au BufNewFile,BufRead *.nim set filetype=nim