-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not compiling via Neovim #33
Comments
Try adding this: require('nvim-treesitter.parsers').get_parser_configs().org = {
install_info = {
url = 'https://github.com/milisims/tree-sitter-org',
branch = 'main',
files = { 'src/parser.c', 'src/scanner.cc' },
},
filetype = 'org',
} Then use I have been slacking on making a contribution to nvim-treesitter because it's strongly geared around programming languages for the definitions of highlight groups, etc. But I really should take care of it. Bumped up its priority. |
Thanks for the quick response! Yeah I was kinda surprised this exists because I wouldn't have thought of using treesitter for org files but it's a great idea. That didn't work unfortunately. I inspected that table with and without adding that config it looks pretty much the same at least in terms of the install_info. Maybe I should try to build manually using make to see if I can replicate the issue. If so then maybe it's my machine setup. |
UINT8_MAX is defined in |
I get the exact same error when running that build command directly. So yeah, something with my machine. I don't have root on this machine (at work) so I'll probably just abandon trying use org on it for now. It's quite an old version of RHEL (7.2) so I should request an upgrade first and then try again. Thanks for the help in narrowing it down quickly! |
I'm new to using org mode in Neovim (and Neovim itself...) so I could be doing something wrong but I'm getting the following error when trying to install the org treesitter parser:
Neovim version: 0.7.2
I simplified my init.vim down to just the Plug install command for treesitter:
Command in Neovim:
:TSInstall org
This project is awesome, thanks for working on it!
The text was updated successfully, but these errors were encountered: