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 /lua | |
| 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
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 1 |
2 files changed, 1 insertions, 2 deletions
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"}, } |
