Repository: lapce/lapce
File: lapce-core/src/language.rs (Rust)

Code before:
    SyntaxProperties {
        id: LapceLanguage::Bash,
        language: tree_sitter_bash::language,
        highlight: include_str!("../queries/bash/highlights.scm"),
        injection: None,
        comment: "#",
        indent: "  ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &[],
        extensions: &["sh", "bash"],
    },
    #[cfg(feature = "lang-c")]
    SyntaxProperties {
        id: LapceLanguage::C,
        language: tree_sitter_c::language,
        highlight: include_str!("../queries/c/highlights.scm"),
        injection: None,
        comment: "//",
        indent: "    ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &["function_definition", "struct_specifier"],
        extensions: &["c", "h"],
    },
    #[cfg(feature = "lang-cmake")]
    SyntaxProperties {
        id: LapceLanguage::CMake,
        language: tree_sitter_cmake::language,
        highlight: include_str!("../queries/cmake/highlights.scm"),
        injection: Some(include_str!("../queries/cmake/injections.scm")),
        comment: "#",
        indent: "  ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &["function_definition"],
        extensions: &["cmake"],
    },
    #[cfg(feature = "lang-cpp")]
    SyntaxProperties {
        id: LapceLanguage::Cpp,
        language: tree_sitter_cpp::language,
        highlight: include_str!("../queries/cpp/highlights.scm"),
        injection: None,
        comment: "//",
        indent: "    ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &[
            "function_definition",
            "class_specifier",
            "struct_specifier",
        ],
        extensions: &["cpp", "cxx", "cc", "c++", "hpp", "hxx", "hh", "h++"],
    },

Review comment (suggestion):
```suggestion
        id: LapceLanguage::Cmake,
```

Code after:
    SyntaxProperties {
        id: LapceLanguage::Bash,
        language: tree_sitter_bash::language,
        highlight: include_str!("../queries/bash/highlights.scm"),
        injection: None,
        comment: "#",
        indent: "  ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &[],
        extensions: &["sh", "bash"],
    },
    #[cfg(feature = "lang-c")]
    SyntaxProperties {
        id: LapceLanguage::C,
        language: tree_sitter_c::language,
        highlight: include_str!("../queries/c/highlights.scm"),
        injection: None,
        comment: "//",
        indent: "    ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &["function_definition", "struct_specifier"],
        extensions: &["c", "h"],
    },
    #[cfg(feature = "lang-cmake")]
    SyntaxProperties {
        id: LapceLanguage::Cmake,
        language: tree_sitter_cmake::language,
        highlight: include_str!("../queries/cmake/highlights.scm"),
        injection: Some(include_str!("../queries/cmake/injections.scm")),
        comment: "#",
        indent: "  ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &["function_definition"],
        extensions: &["cmake"],
    },
    #[cfg(feature = "lang-cpp")]
    SyntaxProperties {
        id: LapceLanguage::Cpp,
        language: tree_sitter_cpp::language,
        highlight: include_str!("../queries/cpp/highlights.scm"),
        injection: None,
        comment: "//",
        indent: "    ",
        code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
        sticky_headers: &[
            "function_definition",
            "class_specifier",
            "struct_specifier",
        ],
        extensions: &["cpp", "cxx", "cc", "c++", "hpp", "hxx", "hh", "h++"],
    },