diff options
author | Jongwook Choi <wookayin@gmail.com> | 2024-01-06 07:18:13 -0500 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-01-08 09:27:03 +0000 |
commit | fbe40caa7cc1786dc58210a82901307417ba0654 (patch) | |
tree | c577b7efd70ca2e13519c1fa1540dd5525a90271 /src/nvim/api/ui.c | |
parent | 367e52cc79a786bbee4456b30f9ec5db7e28d6a5 (diff) | |
download | rneovim-fbe40caa7cc1786dc58210a82901307417ba0654.tar.gz rneovim-fbe40caa7cc1786dc58210a82901307417ba0654.tar.bz2 rneovim-fbe40caa7cc1786dc58210a82901307417ba0654.zip |
docs(treesitter): improve 'no parser' error message for InspectTree
Improve error messages for `:InspectTree`, when no parsers are available
for the current buffer and filetype. We can show more informative and
helpful error message for users (e.g., which lang was searched for):
```
... No parser available for the given buffer:
+... no parser for 'custom_ft' language, see :help treesitter-parsers
```
Also improve the relevant docs for *treesitter-parsers*.
Diffstat (limited to 'src/nvim/api/ui.c')
0 files changed, 0 insertions, 0 deletions