⚙️ config(nvim): added scrollbar excluded filetypes

This commit is contained in:
Sergio Laín 2023-11-27 13:22:31 +01:00
parent 3c7cf0f4dd
commit 9dc755b152
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 5 additions and 3 deletions

View file

@ -50,7 +50,7 @@
"lsp-lens.nvim": { "branch": "main", "commit": "d055ed2d3b199bcdfb409b8b184c26c8d9899ac6" },
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "f522b5439bedac0225daf8d2fedb5039b59e83ee" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "4f81a9213fab94d4c074341acdf7118aaf959275" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "5b4db7c0d6873436b42bcda0ba7cd4efa9206745" },
"mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" },
"middleclass": { "branch": "master", "commit": "9fab4d5bca67262614960960ca35c4740eb2be2c" },

View file

@ -1,8 +1,10 @@
local excluded_filetypes = { "neo-tree", "alpha", "Outline", "edgy", "floaterm" }
if vim.fn.has("nvim-0.10") == 1 then
return {
"lewis6991/satellite.nvim",
opts = {
excluded_filetypes = { "neo-tree", "alpha", "symbols-outline" },
excluded_filetypes = excluded_filetypes,
},
event = "BufRead",
}
@ -13,7 +15,7 @@ else
keys = { { "<leader>uS", "<cmd>ScrollViewToggle<CR>", desc = "Toggle Scrollview" } },
config = function()
require("scrollview").setup({
excluded_filetypes = { "neo-tree", "alpha", "symbols-outline" },
excluded_filetypes = excluded_filetypes,
signs_column = 0,
winblend = 25,
diagnostics_error_symbol = "",