NotAShelf / nvf

A highly modular, extensible and distro-agnostic Neovim configuration framework for Nix/NixOS.
https://notashelf.github.io/nvf/
MIT License
204 stars 28 forks source link

Enabling `vim.notes.orgmode` throws an error #117

Closed LudovicoPiero closed 1 year ago

LudovicoPiero commented 1 year ago

āš ļø Please verify that this bug has NOT been reported before.

Description

Read the title :joy:

šŸ‘Ÿ Reproduction steps

  1. Enable vim.notes.orgmode.
  2. Open neovim.
  3. It will throws an error.

šŸ‘€ Expected behavior

It should be working without any errors.

šŸ˜“ Actual Behavior

It throws an error, as shown in the screenshots. image

šŸ’» Metadata

šŸ“ Relevant log output

Error detected while processing /nix/store/hliw33qvyrs7998gvpzgka4am2bziah4-init.vim:
line  870:
Could not create parser dir ' /nix/store/7xfmxdyrr3hm2i46zs68wdagbjx0a2cp-vim-pack-dir/pack/myNeovimPackages/start/nvim-treesitter/parser ':  Vim:E739: Cannot create directory /nix/store/7xfmxd
yrr3hm2i46zs68wdagbjx0a2cp-vim-pack-dir/pack/myNeovimPackages/start/nvim-treesitter/parser: read-only file system
Press ENTER or type command to continue
NotAShelf commented 1 year ago

should be a mostly simple fix, the orgmode grammar likely needs to be in vim.treesitter.grammars instead of ensure_installed

I'll take a look at this soon

NotAShelf commented 1 year ago

can you see if https://github.com/NotAShelf/neovim-flake/tree/fix/orgmode-grammar helps with the issue?

LudovicoPiero commented 1 year ago

Yep, the error's all fixed now! :rocket: