Adding more keywords to signature

This commit is contained in:
Neko Box Coder
2024-06-08 22:58:37 +01:00
parent 27c3e1857a
commit 7b50629094

View File

@@ -2,7 +2,7 @@ filetype: c++
detect:
filename: "(\\.c(c|pp|xx)$|\\.h(h|pp|xx)?$|\\.ii?$|\\.(def)$)"
signature: "namespace|template|public|protected|private"
signature: "\\b(namespace|class|public|protected|private|template|constexpr|noexcept|nullptr|throw)\\b"
rules:
- identifier: "\\b[A-Z_][0-9A-Z_]*\\b"