qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.67k stars 218 forks source link

Using nightly nvim version #814

Open tkolleh opened 4 years ago

tkolleh commented 4 years ago

If possible how would I go about using the nightly version of neovim with vimr.

Error I get due to missing features:

NVIM v0.5.0-a84b61b62
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc ......
........Compiled by hat@catalina-vm.fritz.box

Features: +acl +iconv -tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info
Error detected while processing /Users/tkolleh/.local/share/plugged/nvim-treesitter/plugin/nvim-treesitter.vim:
line   23:
E5108: Error executing lua ...nvim-treesitter/lua/nvim-treesitter/query_predicates.lua:1: module 'vim.treesitter.query' not found:
    no field package.preload['vim.treesitter.query']
    no file '/Users/tkolleh/.config/nvim/lua/vim/treesitter/query.lua'
    no file '/Users/tkolleh/.config/nvim/lua/vim/treesitter/query/init.lua'
Above error is resolved in latest nightly build:
NVIM v0.5.0-nightly-15-gb3f5083b8
Build type: Release
LuaJIT 2.0.5
Keating950 commented 4 years ago

It would be really nice to get some insight on this. As it stands, after looking through the repo, it's not clear to me exactly how VimR (links to? chooses?) a given Neovim binary.

clason commented 4 years ago

vimR does not use the msgpack API to link to an external binary but bundles its own libnvim. So upgrading the neovim version requires a full rebuild of vimR.

Recent snapshots have started to be built on nightlies, but since there are no Github Actions or such set up to build them automatically, this requires manual action. (And I think it's understandable that people have other priorities these days...)

rasivasu commented 3 years ago

I am getting the error in the attached image for nvim-treesitter. Is it possible to get get a snapshot that uses nvim nightly?

image

fleongg commented 3 years ago

same problem with @rasivasu, did a lot of search and wonder there is a solution for it now.