Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

Ooga Booga Game Devs

Private β€’ 3.1k β€’ Free

Program Video Games

Public β€’ 49 β€’ Free

Trading Reframe (FREE)

Private β€’ 27 β€’ Free

1 contribution to Program Video Games
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): ``` { "$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/ols.schema.json", "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.
3
2
New comment Sep 8
0 likes β€’ Sep 3
Also, the 3 ` characters at the top and bottom are to denote a code block, so don't include them in your ols.json.
1-1 of 1
Luke Ingram
1
2points to level up
@luke-ingram-7792
Here to learn game dev from scratch.

Active 9d ago
Joined Jul 17, 2024
powered by