winbar.nvim icon indicating copy to clipboard operation
winbar.nvim copied to clipboard

Only showing path to file, not showing current function

Open MarcelRobitaille opened this issue 2 years ago • 3 comments

I have just installed this, and it's showing the file I'm in, but not the current function.

I have added:

Plug 'fgheng/winbar.nvim'

and

lua require('winbar').setup({ enabled = true })

I have tested in VueJS, JavaScript, and Rust. All have working language servers installed (does this matter?).

I am using neovim nightly:

NVIM v0.9.0-dev-155+g771824128
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/cmake.config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az628-278

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

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

MarcelRobitaille avatar Oct 24 '22 11:10 MarcelRobitaille

I've met the same issue as you.

416207298 avatar Nov 01 '22 06:11 416207298

+1

HPRIOR avatar Jul 30 '23 16:07 HPRIOR

Hey guys!! I know I may be late but I got here as well as you. best solution I found was to completely ditch winbar and use barbacue as it uses navic which is the non-deprecated version of gps by default and it comes with exactly what you want straight out the box. just configure your navic to auto attach in the LSP setting (or set your lsps manually) and you're done!

guzb04 avatar Feb 02 '24 02:02 guzb04