diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-04-01 20:32:49 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-04-01 21:10:47 +0200 |
| commit | b9470e30b9c49c13383a7a56c865c3e97bad74ea (patch) | |
| tree | b2bb7e2dba431533d7a8966d371b4d25d30a5f8c | |
| parent | all/maintained: only installation from grammar when tree-sitter CLI executable (diff) | |
| download | nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.tar nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.tar.gz nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.tar.bz2 nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.tar.lz nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.tar.xz nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.tar.zst nvim-treesitter-b9470e30b9c49c13383a7a56c865c3e97bad74ea.zip | |
Remove requires_generate_from_grammar for ledger
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/lockfile.json b/lockfile.json index 237f4e68b..4d7ec7dcf 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 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"}, } |
