Skip to content

Commit dfd175d

Browse files
committed
docs: correct language name
At [1], we can see that the 'udl' variant simply uses `tree_sitter_objectscript` as the exported symbol. If we call the language `objectscript_udl` in `treesit-language-source-alist`, Emacs will look for `tree_sitter_objectscript_udl`, which does not exist. Rename the language to `objectscript` so that the correct symbol is identified and found. [1]: https://github.com/intersystems/tree-sitter-objectscript/blob/4d34cb2d4a4924f0b9c9524ffaba1b9c0644067e/setup.py#L12
1 parent 32021a2 commit dfd175d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is a major-mode for editing .cls files in ObjectScript using treesitter.
1414
**For `udl`:**
1515
```lisp
1616
(add-to-list 'treesit-language-source-alist
17-
'(objectscript_udl
17+
'(objectscript
1818
"https://github.com/intersystems/tree-sitter-objectscript.git"
1919
"main"
2020
"udl/src"))

0 commit comments

Comments
 (0)