My C++ language server ccls implements a semantic highlightingfeatures through the non-standard messages$ccls/publishSemanticHighlightand$ccls/publishSkippedRanges, supported by both emacs-cclsand vscode-ccls.For years, my primary editor was Emacs. In 2018, I created emacs-ccls(a fork of emacs-cquery) and enjoyed its rainbow semantic highlighting.My setup also relied heavily on two features:Bolding and underlining variables of static duration storageItalicizing member functions and variables12(setqccls-sem-highlight-method 'font-lock)(ccls-use-default-rainbow-sem-highlight)My elisp skills
...
继续阅读
(23)