Replies: 1 comment 3 replies
-
You might have to rebuild your grammars, I'd wipe |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
python lsp kind of working, but tree-sitter fails to open the python.so library and I get code hints bt no highlighting.
system:
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
Steps taken:
When I open a python file, it takes a few seconds but I do get code hints (see image), however, there is no highlighting.
Contents of log:
$ cat ~/.cache/helix/helix.log
2023-01-18T17:42:56.726 helix_core::syntax [ERROR] Failed to load tree-sitter parser for language "python": Error opening dynamic library "/home/UNIXHOME/jharting/.config/helix/runtime/grammars/python.so"
2023-01-18T17:43:01.321 helix_term::application [ERROR] Timed out waiting for language servers to shutdown
The python.so file exists:
$ ll /home/UNIXHOME/jharting/.config/helix/runtime/grammars/python.so
-rwxr-xr-x 1 jharting Domain Users 561K Jan 18 17:47 /home/UNIXHOME/jharting/.config/helix/runtime/grammars/python.so
Expected: Syntax highlighting
Highlighting works fine in rust and the hx health for python looks fine:
$ hx --health python
Configured language server: pylsp
Binary for language server: /home/UNIXHOME/jharting/miniconda3/bin/pylsp
Configured debug adapter: None
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✓
Is there a tree-sitter log I can find somewhere to diagnose this? What else can I try?
Beta Was this translation helpful? Give feedback.
All reactions