summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-04-01 20:32:49 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2021-04-01 21:10:47 +0200
commitb9470e30b9c49c13383a7a56c865c3e97bad74ea (patch)
treeb2bb7e2dba431533d7a8966d371b4d25d30a5f8c /lua
parent25ee877b620486d4f71103e8fa6adc2eb563c4aa (diff)
Remove requires_generate_from_grammar for ledger
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/install.lua2
-rw-r--r--lua/nvim-treesitter/parsers.lua1
2 files changed, 1 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua
index c1201af5..58b50bff 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 17270239..9637da4e 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"},
}