From 1b5ecdce45f1a5f3b13d521c620ff5038c802d21 Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 5 Jun 2022 20:30:21 +0530 Subject: [PATCH] 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! --- lua/core/default_config.lua | 5 +---- lua/plugins/configs/gps.lua | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index cdfc9c5..f34f4e2 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -34,11 +34,8 @@ M.plugins = { setup_lspconf = "", -- path of lspconfig file }, statusline = { - separator_style = "default", -- default/round/slant/block/arrow + separator_style = "default", -- default/round/block }, - telescope = { - extensions = { "themes", "terms" } - } }, -- add, modify, remove plugins diff --git a/lua/plugins/configs/gps.lua b/lua/plugins/configs/gps.lua index 920f218..ce7fff0 100644 --- a/lua/plugins/configs/gps.lua +++ b/lua/plugins/configs/gps.lua @@ -7,6 +7,7 @@ end local icons = require "plugins.configs.lspkind_icons" local options = { + depth = 5, icons = { ["class-name"] = "%#GpsItemKindClass#" .. icons.Class .. "%*" .. " ",