summaryrefslogtreecommitdiff
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
parent25ee877b620486d4f71103e8fa6adc2eb563c4aa (diff)
Remove requires_generate_from_grammar for ledger
-rw-r--r--lockfile.json2
-rw-r--r--lua/nvim-treesitter/install.lua2
-rw-r--r--lua/nvim-treesitter/parsers.lua1
3 files changed, 2 insertions, 3 deletions
diff --git a/lockfile.json b/lockfile.json
index 237f4e68..4d7ec7dc 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -84,7 +84,7 @@
"revision": "ea43db6830632fd3531b9cbc34a93502b0d4339a"
},
"ledger": {
- "revision": "609d5e5ab5955823b3faeaec8d2afc91860c639a"
+ "revision": "d4a37df03a51e6949256773f43091cb8388eb6b2"
},
"lua": {
"revision": "b6d4e9e10ccb7b3afb45018fbc391b4439306b23"
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"},
}