Above doesn't call tree-sitter-mode explicitly. Open main.cxx:
#include "iostream"
// namespace incorrect
// new incorrect
// operator incorrect
auto main() -> int {
return 0;
}
And the commented out lines have issues with the words following the c++ language keywords. Inspecting the variable tree-sitter-mode indicates its value is t. Whilst not very harmful it's still somewhat surprising that there would be a difference.
There appears to be difference between only enabling
tree-sitter-hl-mode
or enablingtree-sitter-mode
and thentree-sitter-hl-mode
from the init file.Above doesn't call
tree-sitter-mode
explicitly. Open main.cxx:And the commented out lines have issues with the words following the c++ language keywords. Inspecting the variable
tree-sitter-mode
indicates its value ist
. Whilst not very harmful it's still somewhat surprising that there would be a difference.