⚙️ config(nvim): added scrollbar excluded filetypes
This commit is contained in:
parent
3c7cf0f4dd
commit
9dc755b152
2 changed files with 5 additions and 3 deletions
|
@ -50,7 +50,7 @@
|
||||||
"lsp-lens.nvim": { "branch": "main", "commit": "d055ed2d3b199bcdfb409b8b184c26c8d9899ac6" },
|
"lsp-lens.nvim": { "branch": "main", "commit": "d055ed2d3b199bcdfb409b8b184c26c8d9899ac6" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
|
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
|
||||||
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
"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-dap.nvim": { "branch": "main", "commit": "5b4db7c0d6873436b42bcda0ba7cd4efa9206745" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" },
|
"mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" },
|
||||||
"middleclass": { "branch": "master", "commit": "9fab4d5bca67262614960960ca35c4740eb2be2c" },
|
"middleclass": { "branch": "master", "commit": "9fab4d5bca67262614960960ca35c4740eb2be2c" },
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
|
local excluded_filetypes = { "neo-tree", "alpha", "Outline", "edgy", "floaterm" }
|
||||||
|
|
||||||
if vim.fn.has("nvim-0.10") == 1 then
|
if vim.fn.has("nvim-0.10") == 1 then
|
||||||
return {
|
return {
|
||||||
"lewis6991/satellite.nvim",
|
"lewis6991/satellite.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
excluded_filetypes = { "neo-tree", "alpha", "symbols-outline" },
|
excluded_filetypes = excluded_filetypes,
|
||||||
},
|
},
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
}
|
}
|
||||||
|
@ -13,7 +15,7 @@ else
|
||||||
keys = { { "<leader>uS", "<cmd>ScrollViewToggle<CR>", desc = "Toggle Scrollview" } },
|
keys = { { "<leader>uS", "<cmd>ScrollViewToggle<CR>", desc = "Toggle Scrollview" } },
|
||||||
config = function()
|
config = function()
|
||||||
require("scrollview").setup({
|
require("scrollview").setup({
|
||||||
excluded_filetypes = { "neo-tree", "alpha", "symbols-outline" },
|
excluded_filetypes = excluded_filetypes,
|
||||||
signs_column = 0,
|
signs_column = 0,
|
||||||
winblend = 25,
|
winblend = 25,
|
||||||
diagnostics_error_symbol = "",
|
diagnostics_error_symbol = "",
|
||||||
|
|
Loading…
Add table
Reference in a new issue