Bekaboo / dropbar.nvim

IDE-like breadcrumbs, out of the box
GNU General Public License v3.0
990 stars 23 forks source link

[Bug]: Unknown option 'winfixbuf' #155

Closed nguyenxuanhung-rightsvn closed 5 months ago

nguyenxuanhung-rightsvn commented 5 months ago

Description

When i use pick mode require('dropbar.api').pick(), i got an error as shown in the image bellow

Screenshot 2024-05-05 at 16 24 53

I tried updating droppbar.vim by :Lazy update droppbar.nvim but couldn't resolve the problem.

nvim version

v0.10.0-dev-1744+g0d885247b

dropbar.nvim version

3dd8edb

Operating system and version

MacOS 14.2.1 (23C71)

Minimal config

local tmp = vim.env.TMPDIR
  or vim.env.TEMPDIR
  or vim.env.TMP
  or vim.env.TEMP
  or '/tmp'
local data = tmp ..  '/' .. (vim.env.NVIM_APPNAME or 'nvim')
local packages_root = data .. '/site'
local cloned_root = packages_root .. '/pack/packages/start'
local cloned_path = cloned_root .. '/dropbar.nvim'
local url = 'https://github.com/Bekaboo/dropbar.nvim.git'

vim.fn.mkdir(cloned_root, 'p')
vim.opt.pp:prepend(packages_root)
vim.opt.rtp:prepend(packages_root)

if not vim.loop.fs_stat(cloned_path) then
  vim.fn.system({ 'git', 'clone', url, cloned_path })
end

require('dropbar').setup()

Steps to reproduce

  1. use require('dropbar.api').pick()

Expected behavior

If I use require('dropbar.api').pick(), It doesn't error

Actual behavior

Display an error as shown in the image bellow

Screenshot 2024-05-05 at 16 24 53

Additional information

Please help me

Bekaboo commented 5 months ago

You should upgrade your nvim installation.