mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
NVIM: Use Lspsaga for breadcrumbs
- Disable statusline breadcrumbs coming from nvim-navic - Use Lspsaga for Hover, Goto References, Peek Definition - Enable Lspsaga Symbol Outline panel - util.lua: Use same icons on Breadcrumbs and Navic Code navigation - Code related shortcuts made for uniform, removed some
This commit is contained in:
@@ -28,26 +28,26 @@ local M = {
|
||||
Enum = " ",
|
||||
EnumMember = " ",
|
||||
Event = " ",
|
||||
Field = " ",
|
||||
Field = " ",
|
||||
File = " ",
|
||||
Folder = " ",
|
||||
Function = " ",
|
||||
Folder = " ",
|
||||
Function = " ",
|
||||
Interface = " ",
|
||||
Key = " ",
|
||||
Keyword = " ",
|
||||
Method = " ",
|
||||
Module = " ",
|
||||
Method = " ",
|
||||
Module = " ",
|
||||
Namespace = " ",
|
||||
Null = " ",
|
||||
Number = " ",
|
||||
Object = " ",
|
||||
Operator = " ",
|
||||
Package = " ",
|
||||
Property = " ",
|
||||
Package = " ",
|
||||
Property = " ",
|
||||
Reference = " ",
|
||||
Snippet = " ",
|
||||
String = " ",
|
||||
Struct = " ",
|
||||
Struct = " ",
|
||||
TabNine = " ",
|
||||
Text = " ",
|
||||
TypeParameter = " ",
|
||||
@@ -55,6 +55,46 @@ local M = {
|
||||
Value = " ",
|
||||
Variable = " ",
|
||||
},
|
||||
-- Only to keep things in sync with "navbuddy"
|
||||
kind_lspsaga = {
|
||||
["Array"] = { " ", "Type" },
|
||||
["Boolean"] = { " ", "Boolean" },
|
||||
["Class"] = { " ", "Include" },
|
||||
["Constant"] = { " ", "Constant" },
|
||||
["Constructor"] = { " ", "@constructor" },
|
||||
["Enum"] = { " ", "@number" },
|
||||
["EnumMember"] = { " ", "Number" },
|
||||
["Event"] = { " ", "Constant" },
|
||||
["Field"] = { " ", "@field" },
|
||||
["File"] = { " ", "Tag" },
|
||||
["Function"] = { " ", "Function" },
|
||||
["Interface"] = { " ", "Type" },
|
||||
["Key"] = { " ", "Constant" },
|
||||
["Method"] = { " ", "Function" },
|
||||
["Module"] = { " ", "Exception" },
|
||||
["Namespace"] = { " ", "Include" },
|
||||
["Null"] = { " ", "Constant" },
|
||||
["Number"] = { " ", "Number" },
|
||||
["Object"] = { " ", "Type" },
|
||||
["Operator"] = { " ", "Operator" },
|
||||
["Package"] = { " ", "Label" },
|
||||
["Property"] = { " ", "@property" },
|
||||
["String"] = { " ", "String" },
|
||||
["Struct"] = { " ", "Type" },
|
||||
["TypeParameter"] = { " ", "Type" },
|
||||
["Variable"] = { " ", "@variable" },
|
||||
-- ccls
|
||||
["TypeAlias"] = { " ", "Type" },
|
||||
["Parameter"] = { " ", "@parameter" },
|
||||
["StaticMethod"] = { " ", "Function" },
|
||||
["Macro"] = { " ", "Macro" },
|
||||
-- for completion sb microsoft!!!
|
||||
["Text"] = { " ", "String" },
|
||||
["Snippet"] = { " ", "@variable" },
|
||||
["Folder"] = { " ", "Title" },
|
||||
["Unit"] = { " ", "Number" },
|
||||
["Value"] = { " ", "@variable" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user