Closed shawnyu5 closed 1 year ago
Get the following message on startup:
Failed to run `config` for diffview.nvim ....local/share/nvim/lazy/diffview.nvim/lua/diffview/hl.lua:124: attempt to call field 'nvim__g et_hl_defs' (a nil value) # stacktrace: - /diffview.nvim/lua/diffview/hl.lua:124 _in_ **get_hl** - /diffview.nvim/lua/diffview/hl.lua:147 _in_ **get_hl_attr** - /diffview.nvim/lua/diffview/hl.lua:166 _in_ **get_fg** - /diffview.nvim/lua/diffview/hl.lua:430 _in_ **update_diff_hl** - /diffview.nvim/lua/diffview/hl.lua:439 _in_ **setup** - /diffview.nvim/lua/diffview/init.lua:25 _in_ **init** - /diffview.nvim/lua/diffview/init.lua:260 - .config/nvim/lua/shawn/diffview.lua:2
diffview.lua:
local actions = require("diffview.actions") require("diffview").setup()
nvim --version: NVIM v0.9.0-dev-1288+g4863ca6b8
nvim --version
NVIM v0.9.0-dev-1288+g4863ca6b8
Likely related to #327
same as https://github.com/sindrets/diffview.nvim/issues/327 and fixed by my pr https://github.com/sindrets/diffview.nvim/pull/326
Closing as duplicate of #327.
Get the following message on startup:
diffview.lua:
nvim --version
:NVIM v0.9.0-dev-1288+g4863ca6b8