Nim is a statically typed compiled systems programming
To enable autocompletion for coc you need to install nimlsp
(nimble install nimlsp).
After that you need to add the following lines to your coc config file.
{
"languageserver": {
"nim": {
"command": "nimlsp",
"filetypes": ["nim"],
"trace.server": "verbose"
}
}
}
To enable highlighting you can install a vim plugin by zah.