1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-13 04:51:15 +02:00

nvim: added more plugins for ide feeling

This commit is contained in:
2023-08-11 00:43:04 +02:00
parent bc84a42d22
commit 16a4cf891f
2 changed files with 94 additions and 48 deletions

View File

@@ -464,10 +464,61 @@ return require("lazy").setup({
),
})
end,
},
-- scrollbar with git and diagnostics support for easier navigation
{
'petertriho/nvim-scrollbar',
dependencies = {
'kevinhwang91/nvim-hlslens',
'lewis6991/gitsigns.nvim'
},
config = function()
require("scrollbar").setup({
marks = {
Cursor = {
highlight = "Normal"
},
Search = {
highlight = "Special"
},
Error = {
highlight = "DiagnosticSignError"
},
Warn = {
highlight = "DiagnosticSignWarn"
},
Info = {
highlight = "DiagnosticSignInfo"
},
Hint = {
highlight = "DiagnosticSignHint"
},
Misc = {
highlight = "Special"
},
GitAdd = {
highlight = "GitGutterAdd"
},
GitChange = {
highlight = "GitGutterChange"
},
GitDelete = {
highlight = "GitGutterDelete"
}
},
})
require("scrollbar.handlers.search").setup()
require("scrollbar.handlers.gitsigns").setup()
end
},
-- floating terminal to toggle
{
'numToStr/FTerm.nvim',
opts = {}
}
},
-- lazy.nvim configuration
{
ui = {