clighter
clighter copied to clipboard
issues associated to templates
Hello
Thank you realy for this project. I am realy found of Clighter, I discorved it a few days ago, and while trying to define formating for the clighter highlight groups i find some bugs or opportunities of enhancement I would like to submit to you.
-
clighterDecl
highlight group is some time associated to template parameters and template class name. In the picture below clighterDecl is in red, other from clighter are gray:
Can you make a group for non type template parameter like the parameter I
above?
-
clighterFieldDecl
is associated with non class template variables. In the picture belowclighterFieldDecl
is in red, the other clighter highlight groups are gray:
Can you create these two highlight groups:
- one for reference to type template parameter parameter.
- an other one for reference to non type template parameter.
I think it will a great enhancement for some one (like me) who use oftenly templates metaprograming!!
-
clighterTemplateTypeParameter
does not work with variable template:
Thanks!
hi,
for picture 1 & 3, the cursur type is given by libclang, so they won't be fix for picture 2, clighterTemplateNoneTypeParameter will be added into custom groups
Hi is it possible to add highlight groups clighterTemplateTypeParameterRef and clighterTemplateNonTypeParameterRef? I think it could be helpfull because it will help to see which variables are influenced by template parameter.
no, clang don't provide these kinds for current