-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
It appears languages from tree_sitter_languages are not taken into account, when using functions from this plugin.
While everything works as expected for python it does not on other languages such as markdown.
Steps to reproduce
- Install TreeSitter
- Restart SublimeText
- Open a markdown file
- open console
- run
from sublime_tree_sitter import get_tree_dict - run
get_tree_dict(view.buffer_id())
Expected behavior
A json string representing markdown content being printed to console.
Actual behavior
Nothing is printed to console.
Additional Info
Adding "markdown" to the list of "installed_languages" fixes this issue and e.g. get_tree_dict(view.buffer_id()) returns content as expected.
Maybe "installed_languages": [] should only contain languages, manually installed, while those from tree_sitter_languages package should be always available without being listed.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation