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
Renga, a XMPP client designed for Haiku Renga, a XMPP client designed for Haiku
## Todo ## Todo
- [x] make haiku-os compatible - [x] make haiku-os compatible
- [ ] everything else - [ ] everything else
## Test Renga ## Test Renga
If you are doing development work on a local Haiku system, use: If you are doing development work on a local Haiku system, use:
```bash ```bash
# Install required dependencies # Install required dependencies
pkgman install gcc make haiku_devel pkgman install make haiku_devel llvm19_clang
# Build # Build
make build make build
./renga ./renga
@ -19,6 +22,7 @@ make build
## Editor ## 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. 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 ### Authors
andre@iwakura.rip andre@iwakura.rip

2
examples/config.yaml Normal file
View file

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