Describe the bug
When opening a python (.py) file in Atom with the language-legesher-python package enabled and the language-python core package disabled, the syntax highlighting is not applied. It looks like a typical text file but Atom detects that it should serve the file as Legesher Python (English).
Screenshots
Uncaught (in promise) RangeError: Incompatible language version. Compatible range: 9 - 12. Got: 13
at Parser.setLanguage (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tree-sitter/index.js:259)
at TreeSitterLanguageMode.parse (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at LanguageLayer._performUpdate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at LanguageLayer.update (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at new TreeSitterLanguageMode (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at GrammarRegistry.languageModeForGrammarAndBuffer (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at GrammarRegistry.autoAssignLanguageMode (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at Project.buildBuffer (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at Workspace.openTextFile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at Workspace.createItemForURI (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
at Workspace.open (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11)
Desktop (please complete the following information):
Describe the bug When opening a python (.py) file in Atom with the
language-legesher-python
package enabled and thelanguage-python
core package disabled, the syntax highlighting is not applied. It looks like a typical text file but Atom detects that it should serve the file as Legesher Python (English).Screenshots
Desktop (please complete the following information):
Useful Issues
atom/atom
Tree-sitter compatibility with stable and betaatom/atom
Update tree-sitter to 0.19.0tree-sitter/tree-sitter
Incompatible language version 0. Compatibility range 13 through 13