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" },