Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only showing path to file, not showing current function #18

Open
MarcelRobitaille opened this issue Oct 24, 2022 · 3 comments
Open

Only showing path to file, not showing current function #18

MarcelRobitaille opened this issue Oct 24, 2022 · 3 comments

Comments

@MarcelRobitaille
Copy link

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"
@416207298
Copy link

I've met the same issue as you.

@HPRIOR
Copy link

HPRIOR commented Jul 30, 2023

+1

@guzb04
Copy link

guzb04 commented Feb 2, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants