chore(clangd): change filetypes and notes on how to get it to recognize some local headers

This commit is contained in:
janishutz committed 2026-09-30 17:45:50 +02:00
1 parent e94d1374e8
commit b88b2b18b9
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -36,6 +36,11 @@ unless you add a `.luarc.json` file with the following content:
}
```
### Clangd
If `clangd` can't find some headers, then you need to create a `compile_commands.json` file.
When a `Makefile` is present (or other build tools such as `cmake` are used, look up how to do that online), you can use `bear` as follows to create this file:
`bear -- make`. That's it
### Java
#### jdtls
Ensure you have jdk21-opnejdk or newer installed. On Arch (and derivatives) you can switch the preferred java version using `archlinux-java set <version name>`