From b9470e30b9c49c13383a7a56c865c3e97bad74ea Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Thu, 1 Apr 2021 20:32:49 +0200 Subject: Remove requires_generate_from_grammar for ledger --- lua/nvim-treesitter/install.lua | 2 +- lua/nvim-treesitter/parsers.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index c1201af5f..58b50bff0 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -170,7 +170,7 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync, return end if generate_from_grammar and vim.fn.executable('node') ~= 1 then - api.nvim_err_writeln('node JS not found: `node` is not executable!') + api.nvim_err_writeln('Node JS not found: `node` is not executable!') end local cc = shell.select_executable(M.compilers) if not cc then diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 172702396..9637da4ea 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -76,7 +76,6 @@ list.ledger = { install_info = { url = "https://github.com/cbarrete/tree-sitter-ledger", files = { "src/parser.c" }, - requires_generate_from_grammar = true, }, maintainers = {"@cbarrete"}, } -- cgit v1.2.3-70-g09d2