> From: Yuan Fu <casouri@gmail.com> > Date: Sat, 12 Nov 2022 11:45:53 -0800 > Cc: João Paulo Labegalini de Carvalho <jaopaulolc@gmail.com>, > emacs-devel@gnu.org > > > Yuan, any comments? If you think this is OK for the tree-sitter > > branch, please install there. > > I think there are still some details need to be addressed, eg, > > > Also, when defining sh-mode--treesit-settings, instead of using the value > > sh-shell as the language, itâs better to just use âbash. Here is what > > happened to me: my default value for sh-shell is fish, so > > sh-mode--treesit-settings was defined with language = fish. When I open > > heredoc-issue.sh, sh-mode parses the shebang and sets sh-shell to bash. > > Since bash does have a parser, (treesit-ready-p âsh-mode sh-shell) returns > > t, and tree-sitter is activated. However when font-lock tries to use the > > query, it errors because query tries to load a parser for fish. > > (I can make the change myself though) Fine with me, it's up to you two. Thanks.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4