pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NeoVim is broken on MacOS



Hi,
I'm using pkgsrc on MacOS using mnx. (pkgsrc.smartos.org/install-on-macos/)
I've noticed that NeoVim throws an error when trying to load some files;

```
Error in BufReadPost Autocommands for "*":
Lua callback: /opt/pkg/share/nvim/runtime/filetype.lua:28: BufReadPost Autocommands for "*"..FileType Autocommands
 for "*"..function <SNR>1_LoadFTPlugin[20]..script /opt/pkg/share/nvim/runtime/ftplugin/markdown.lua: Vim(runtime)
:E5113: Lua chunk: /opt/pkg/share/nvim/runtime/lua/vim/treesitter.lua:460: Parser could not be created for buffer
1 and language "markdown"
stack traceback:
        [C]: in function 'assert'
        /opt/pkg/share/nvim/runtime/lua/vim/treesitter.lua:460: in function 'start'
        /opt/pkg/share/nvim/runtime/ftplugin/markdown.lua:1: in main chunk
        [C]: in function 'nvim_cmd'
        /opt/pkg/share/nvim/runtime/filetype.lua:28: in function </opt/pkg/share/nvim/runtime/filetype.lua:27>
        [C]: in function 'pcall'
        vim/_core/shared:1648: in function <vim/_core/shared:1628>
        [C]: in function '_with'
        /opt/pkg/share/nvim/runtime/filetype.lua:27: in function </opt/pkg/share/nvim/runtime/filetype.lua:10>
stack traceback:
        [C]: in function '_with'
        /opt/pkg/share/nvim/runtime/filetype.lua:27: in function </opt/pkg/share/nvim/runtime/filetype.lua:10>
```

I'm also using the exact same config on other (Linux) computers and I have no issues. Running `nvim --clean` also doesn't solve the issue.
Best Regards
Ivan Pollak


Home | Main Index | Thread Index | Old Index