Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Get tree-sitter language binding using file metadata #4

Open
burntcarrot opened this issue Jun 15, 2022 · 0 comments
Open

Get tree-sitter language binding using file metadata #4

burntcarrot opened this issue Jun 15, 2022 · 0 comments

Comments

@burntcarrot
Copy link

burntcarrot commented Jun 15, 2022

The current implementation for getLanguage uses file extensions for returning the tree-sitter language binding.

Some filetypes do not have extensions, for example, Dockerfile.

getLanguage should be able to return the language bindings in case of these filetypes.

@burntcarrot burntcarrot changed the title Get tree-sitter language binding through file metadata Get tree-sitter language binding using file metadata Jun 15, 2022
This was referenced Jun 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant