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

LSoutlineToggle throw error

Open big-hero-dev opened this issue 4 years ago • 4 comments

Description

LSoutlineToggle command error when call in react basic

Expected Behavior

Open with not show error

Actual Behavior

Before open, error showing -> open panel with null node. Neovim Built in Behavior

Details

Reproduce
  1. nvim -u test.vim the min config that only lspsaga
  2. post your program language min code snippet that can reproduce your issue
Environment
  • nvim --version output: NVIM v0.8.0-dev+562-g606af7887 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/gcc-11 -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-az250-131

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

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

Run :checkhealth for more info

  • Operating system: Linux kat-pc 5.15.57-2-MANJARO #1 SMP PREEMPT Mon Jul 25 01:32:51 UTC 2022 x86_64 GNU/Linux

  • lspsaga commit: https://github.com/glepnir/lspsaga.nvim/commit/584e4da514cc2f9b5d98815a1ff77f9897ca7c

lspsaga-outline

Press enter: outline2

big-hero-dev avatar Aug 08 '22 02:08 big-hero-dev

if have function, no error outline3

big-hero-dev avatar Aug 08 '22 02:08 big-hero-dev

outline

It throw new error

big-hero-dev avatar Aug 08 '22 13:08 big-hero-dev

fixed.

glepnir avatar Aug 08 '22 22:08 glepnir

Now it working perfect !!!

big-hero-dev avatar Aug 09 '22 01:08 big-hero-dev