1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-24 04:19:45 +01:00
Files
wiki/wiki/linux/vim/nim.md
2020-12-10 19:51:41 +01:00

29 lines
577 B
Markdown

# Nim
[Nim](https://nim-lang.org) is a statically typed compiled systems programming
## Autocompletion
### Coc
To enable autocompletion for [coc](coc.md) you need to install `nimlsp`
(`nimble install nimlsp`).
After that you need to add the following lines to your coc config file.
```json
{
"languageserver": {
"nim": {
"command": "nimlsp",
"filetypes": ["nim"],
"trace.server": "verbose"
}
}
}
```
### Highlighting
To enable highlighting you can install a
[vim plugin by zah](https://github.com/zah/nim.vim).