diff options
| author | nbCloud91 <73609114+nbCloud91@users.noreply.github.com> | 2021-03-18 11:06:21 +0530 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-03-18 07:09:31 +0100 |
| commit | 5c00f8ede14a132a7f1ce2fa1b32c5708baa071f (patch) | |
| tree | 8cfe0aa3355a1972e6c910498c4aee713546ab69 /lua | |
| parent | Update glimmer queries from plugin (diff) | |
| download | nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.tar nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.tar.gz nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.tar.bz2 nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.tar.lz nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.tar.xz nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.tar.zst nvim-treesitter-5c00f8ede14a132a7f1ce2fa1b32c5708baa071f.zip | |
fix formatting issues caused by asterisk
Replace the asterisk used for "Multiple parsers found" by a plus sign. It prevents the asterisk from messing up the formatting of the rest of the `:checkhealth` buffer.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/health.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index b499720cf..6492fff75 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -61,7 +61,7 @@ function M.checkhealth() -- Only print informations about installed parsers if installed >= 1 then - local multiple_parsers = installed > 1 and "*" or "" + local multiple_parsers = installed > 1 and "+" or "" local out = " - "..parser_name..multiple_parsers..string.rep(" ", 15 - (#parser_name + #multiple_parsers)) for _, query_group in pairs(queries.built_in_query_groups) do out = out..query_status(parser_name, query_group).." " @@ -72,7 +72,7 @@ function M.checkhealth() print([[ Legend: H[ighlight], L[ocals], F[olds], I[ndents] - *) multiple parsers found, only one will be used + +) multiple parsers found, only one will be used x) errors found in the query, try to run :TSUpdate {lang}]]) end |
