I am in the process of switching to Zed on macOS 100%. The only issue has been this lsp problem that I have no idea how to fix. I keep getting errors in the editor which are not correct.
I do have the relevant includes.
The program compiles perfectly. I just don’t know how to get rid of this lsp err.
I tried to configure zed with the following but have had no success:
{
"show_inline_completions": false,
"inline_completions": {
"disabled_globs": [".env", "src/Server.cpp"]
},
"languages": {
"C++": {
"show_inline_completions": false
},
"JavaScript": {
"show_copilot_suggestions": true
},
"C": {
"show_copilot_suggestions": true
}
},
"copilot": {
"disabled_globs": [".env"]
},
"base_keymap": "vim",
"theme": "Andromeda",
"telemetry": {
"diagnostics": false,
"metrics": false
},
"vim_mode": true,
"ui_font_size": 18,
"buffer_font_size": 18,
"buffer_font_family": "Inconsolata",
"ui_font_family": "Inconsolata",
"project_panel": {
"dock": "right"
},
"format_on_save": "off",
"lsp": {
"swift": {
"enabled": true
},
"c++": {
"enabled": true
}
}
}
I have gone to the zed website for help but they do not support c++. Im just using the default lsp that comes with zed and idk how to configure it properly. I have already asked chatgpt but he doesn’t now either 🙁
Anyone who does c++ on zed + macOS plz help