I’m new to neovim and I want to set it up for a c++ project. I’m using kickstart.nvim and have enabled clangd and added cpp to treesitter.
I’m having an issue where the LSP suggestion for std::endl
is not clever enough to see that I have already imported <iostream>
and that I’m using operator<<
on the stream so it should just select the symbol and not autocomplete to a function call.
How can I fix this to just autocomplete to std::endl
when the option is selected?