feat: clangd c++20 lsp example + add clang dependency

This commit is contained in:
hexlocation 2025-02-08 11:16:17 +00:00
parent b963ad22a8
commit 5582a8ee7b
2 changed files with 7 additions and 1 deletions

View file

@ -1,16 +1,19 @@
# Renga
Renga, a XMPP client designed for Haiku
## Todo
- [x] make haiku-os compatible
- [ ] everything else
## Test Renga
If you are doing development work on a local Haiku system, use:
```bash
# Install required dependencies
pkgman install gcc make haiku_devel
pkgman install make haiku_devel llvm19_clang
# Build
make build
./renga
@ -19,6 +22,7 @@ make build
## Editor
My preferred editor is Vim, as such, I have placed an example of a vimrc file you can use to get autocomplete and allat working on Haiku. Just copy it to ~/config/settings/vim.
For C++20 support, copy the clang config.yaml from the examples folder to ~/config/settings/clangd/
### Authors
andre@iwakura.rip

2
examples/config.yaml Normal file
View file

@ -0,0 +1,2 @@
CompileFlags:
Add: [-std=c++20]