pkgsrc-Users archive

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

Re: NeoVim is broken on MacOS





ср, 12 авг. 2026 г., 20:38 <ivan%ivanpollak.com@localhost>:
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


Hm, I saw news about working neovim on macrumors powerpc subforum, may be this commit can help on new macos/pkgsrc too?

https://github.com/macos-powerpc/powerpc-ports/commit/bad73919891e76c193a92f8bbfc5016037800b42

"LuaJIT-based build is broken. Lua-based one works fine." 

see patches in this commit, too?



Home | Main Index | Thread Index | Old Index