From bbcf9828e12d2c917770d5c2c35cff3dcdba6c94 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Fri, 5 Jan 2024 04:00:09 -0600 Subject: [PATCH] Apply the .cc -> .c change to the lua script --- README.md | 2 +- lua/tree-sitter-just/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79519b5..ced2828 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ You can also add the parser manually using (This is similar to what is done in ` require("nvim-treesitter.parsers").get_parser_configs().just = { install_info = { url = "https://github.com/IndianBoy42/tree-sitter-just", -- local path or git repo - files = { "src/parser.c", "src/scanner.cc" }, + files = { "src/parser.c", "src/scanner.c" }, branch = "main", -- use_makefile = true -- this may be necessary on MacOS (try if you see compiler errors) }, diff --git a/lua/tree-sitter-just/init.lua b/lua/tree-sitter-just/init.lua index c43004f..e7355f8 100644 --- a/lua/tree-sitter-just/init.lua +++ b/lua/tree-sitter-just/init.lua @@ -29,7 +29,7 @@ function M.setup(arg) "start", "tree-sitter-just" ) or "https://github.com/IndianBoy42/tree-sitter-just", -- local path or git repo - files = { "src/parser.c", "src/scanner.cc" }, + files = { "src/parser.c", "src/scanner.c" }, branch = "main", }, maintainers = { "@IndianBoy42" },