add depth field to nvim-gps conf

So 5 is the limit for amount of context shown, by default its 0 which means that there wouldnt be any limit so gps could get veryyyyyyyyy long!
This commit is contained in:
siduck 2022-06-05 20:30:21 +05:30
parent 48b1226961
commit 1b5ecdce45
2 changed files with 2 additions and 4 deletions

View File

@ -34,11 +34,8 @@ M.plugins = {
setup_lspconf = "", -- path of lspconfig file setup_lspconf = "", -- path of lspconfig file
}, },
statusline = { statusline = {
separator_style = "default", -- default/round/slant/block/arrow separator_style = "default", -- default/round/block
}, },
telescope = {
extensions = { "themes", "terms" }
}
}, },
-- add, modify, remove plugins -- add, modify, remove plugins

View File

@ -7,6 +7,7 @@ end
local icons = require "plugins.configs.lspkind_icons" local icons = require "plugins.configs.lspkind_icons"
local options = { local options = {
depth = 5,
icons = { icons = {
["class-name"] = "%#GpsItemKindClass#" .. icons.Class .. "%*" .. " ", ["class-name"] = "%#GpsItemKindClass#" .. icons.Class .. "%*" .. " ",