[clangd-dev] Syntax highlighting of keywords
Kirill Bobyrev via clangd-dev
clangd-dev at lists.llvm.org
Fri Oct 25 17:39:38 PDT 2019
Just checking: are we talking about primitive highlighting (i.e. keywords only)? I had several problems with C++ keywords from new language standards because they are not in the default syntax files of (Neo)Vim and third-party plugins often miss some of the words. I think it makes sense to have Clangd as the “universal provider” of the updated keyword list because then I don’t have to patch Vim plugins and/or wait for the default syntax files to get updated.
> On 25 Oct 2019, at 10:59, Ilya Biryukov via clangd-dev <clangd-dev at lists.llvm.org> wrote:
> Hi clangd-dev,
> I was wondering whether there's any value in the highlighting for "primitive" types being added on keywords like 'void', 'int', etc?
> - Any editor handles those with default syntax highlight.
> - It's trivial and does not require actual semantic knowledge.
> With that in mind, I wonder whether we should drop this completely and just let the editors handle the keywords?
> What do people think?
> Ilya Biryukov
> clangd-dev mailing list
> clangd-dev at lists.llvm.org
More information about the clangd-dev