Fix for nvim-treesitter integration:

- Change name 'CMake' to 'cmake'
- Regenerate from grammar
This commit is contained in:
Uy Ha 2021-05-28 10:33:07 +02:00
parent 509f73b2de
commit 4076762484
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
module.exports = grammar({
name: 'CMake',
name: 'cmake',
rules: {
source_file: $ => repeat($.command_invocation),

View file

@ -1,5 +1,5 @@
{
"name": "CMake",
"name": "cmake",
"rules": {
"source_file": {
"type": "REPEAT",

View file

@ -2204,7 +2204,7 @@ extern "C" {
#define extern __declspec(dllexport)
#endif
extern const TSLanguage *tree_sitter_CMake(void) {
extern const TSLanguage *tree_sitter_cmake(void) {
static const TSLanguage language = {
.version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,