Odin Lang Server (OLS) setup in Neovim
Hi all, I'm using Neovim on Mac OS to follow along with the course. I couldn't figure out why OLS wasn't working, so I had to do some sleuthing. If you're in the same boat, ensure that you have an ols.json file in the root of your project's directory. Mine looks like this (I only changed the paths below):
```
{
"collections": [
{
"name": "core",
"path": "/path/to/Odin/core"
},
{
"name": "shared",
"path": "/path/to/your/project"
}
],
"enable_semantic_tokens": true,
"enable_document_symbols": true,
"enable_hover": true,
"enable_snippets": true
}
```
Be sure to change the two paths above, and tweak it as necessary depending on the editor you use.
2
2 comments
Luke Ingram
1
Odin Lang Server (OLS) setup in Neovim
Program Video Games
skool.com/programvideogames
Want to actually build that cool game idea you have?
Leaderboard (30-day)
powered by