nvimdev / nvimdev/lspsaga.nvim

[Improvement] Add lspkind.nvim is a dependency, since it obviously is one.

Open
#1,542 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
3.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

Add lspkind.nvim as a dependency.

Without it, I get the error:

Error executing Lua callback: ...issues-minimal/lazy/lspsaga.nvim/lua/lspsaga/lspkind.lua:1: attempt to index field 'config' (a nil value)                  
stack traceback:                                                                                                                                            
        ...issues-minimal/lazy/lspsaga.nvim/lua/lspsaga/lspkind.lua:1: in main chunk                                                                        
        [C]: in function 'require'                                                                                                                          
        ...minimal/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:5: in main chunk                                                                        
        [C]: in function 'require'                                                                                                                          
        ...es-minimal/lazy/lspsaga.nvim/lua/lspsaga/symbol/init.lua:222: in function 'outline'                                                              
        ...issues-minimal/lazy/lspsaga.nvim/lua/lspsaga/command.lua:50: in function <...issues-minimal/lazy/lspsaga.nvim/lua/lspsaga/command.lua:49>        
        ...issues-minimal/lazy/lspsaga.nvim/lua/lspsaga/command.lua:80: in function 'load_command'                                                          
        ...nvim-issues-minimal/lazy/lspsaga.nvim/plugin/lspsaga.lua:8: in function <...nvim-issues-minimal/lazy/lspsaga.nvim/plugin/lspsaga.lua:7> 

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from lua/lspsaga/lspkind.lua and the dependency configuration used by the plugin. Reproduce the outline command that triggers the reported nil config error, then verify that lspkind.nvim is installed and the error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.