nim.vim
nim.vim copied to clipboard
Nim language plugin for vim
Seems like it might be helpful to highlight usage os await
```"test.nim" 227L, 8601C^[[2;2R Error detected while processing function nim#init: line 6: E117: Unknown function: json_decode E15: Invalid expression: json_decode(raw_dumpdata) ``` I get this error on a system using VIM 7.4...
`nim idetools` doesn't exist anymore, so I implemented jump to definition using a persistent `nimsuggest` pipe.
+ Change to use nimsuggest, when nimsuggest existed. + Windows support added.
Fixed a problem that creation of temporary files failed when editing files other than the current directory.
Using :e (edit) tries to clobber the changes to the buffer, so vim stops it. This fixes this problem by using :buffer instead of :edit for open files. Note that...
Ok hopefully this is right pull request this time. The g:nim_project_file is a bit of a hack but otherwise this is a decent start towards using nimsuggest rather than nim...
Omni-completion fails in some cases. ### Example of bad case Use this minimum .vimrc (save as `compl.vim`). ``` vim " Load nimrod.vim set runtimepath+=~/.vim/bundle/nimrod.vim filetype plugin indent on syntax on...