Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Neorg not working - Doom is using unstable norg treesitter #110

Closed
molleweide opened this issue Sep 5, 2021 · 10 comments
Closed

Neorg not working - Doom is using unstable norg treesitter #110

molleweide opened this issue Sep 5, 2021 · 10 comments

Comments

@molleweide
Copy link
Contributor

in reference to this: nvim-neorg/tree-sitter-norg#10

Is doom suppose to use the unstable norg treesitter branch?

I am asking because I have no idea myself but I noticed this when trying to problem solve
so I thought I'd ask.

@molleweide molleweide changed the title Doom is using unstable norg treesitter Neorg not working - Doom is using unstable norg treesitter Sep 5, 2021
@NTBBloodbath
Copy link
Collaborator

Hey, we are using the main norg treesitter branch.

It seems to be a compiling issue, do you have the latest Doom Nvim version? Both branches, main (v3.1.1) and develop (v3.2.0-beta1) has the correct setup for the latest norg treesitter parser changes.

Regards

@abzcoding
Copy link
Contributor

i had the same error on mac, which got fixed using this nvim-neorg/neorg#74 (comment)

@abzcoding
Copy link
Contributor

@molleweide you need to do this

brew install gcc
ln -s /usr/local/Cellar/gcc/11.2.0/bin/gcc-11 /usr/local/bin/gcc

@osamuaoki
Copy link
Contributor

treesitter/highlighter: Error executing lua: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:161: query: invalid node type at position 7323

I get this in devel branch setting of doom-nvim. I tried both unstable and main branch of neorg but the error occurs.

  • NVIM v0.6.0-dev
  • LuaJIT 2.1.0-beta3
  • neovim is taged as 0.5.0.546.gc2a65921d
  • OS is Debian testing
  • GCC is 10
  • LIBC is 2.32
  • nodejs is 12.22.5

@NTBBloodbath
Copy link
Collaborator

Hi, is your neorg up-to-date locally? :PackerSync should update both Neorg plugin and treesitter parser for it.

@osamuaoki
Copy link
Contributor

Yep latest (well reinstalled from fresh for init.lua hacking.).
No rush for me for this one. I have got plenty to play with :-)

@aohoyd
Copy link
Contributor

aohoyd commented Sep 29, 2021

And also keybinds for neorg are not working. Could not figure out how to set them correctly

@NTBBloodbath
Copy link
Collaborator

And also keybinds for neorg are not working. Could not figure out how to set them correctly

Hmm right, I think I know what the issue is, gimme a moment

@osamuaoki
Copy link
Contributor

No problem now. Please close this.

@aohoyd
Copy link
Contributor

aohoyd commented Sep 30, 2021

You are awesome, thx 😊

molleweide added a commit to molleweide/doom-nvim that referenced this issue Oct 21, 2021
* upstream/main: (76 commits)
  fix: update toggleterm plugin name in built-in runner and compiler plugins
  chore: format source code
  feat: Lsp Popup Borders
  chore: format source code
  chore(nvim-tree): Update nvim-tree lsp_diagnostics config
  fix(doom_config): fix example for custom options
  fix(dapui): open_on_start deprecated
  Updated file path for keybindings config file
  docs(README): add Discord server badge
  fix(modules): use `0.5-compat` treesitter branch in Neovim 0.5
  docs: update contributing.md
  release: `v3.1.2`, see release notes
  chore: format source code
  Removed install_servers from doom core
  Fixed missing dependency
  Install servers from within doom-lspinstall.lua
  fix(modules): correct usage of config property
  refact(modules): use `,o` as neorg leader instead of `<leader>o`, see doom-neovim#110
  fix(modules): proper conditional for nvim-tree lsp
  fix(ci): remove unused variable in nvim-tree setup
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants