2022-11-12 11:41:55 +00:00
|
|
|
require("scrollbar").setup()
|
|
|
|
|
2022-10-18 18:59:31 +00:00
|
|
|
-- setup minimap
|
|
|
|
local codewindow = require('codewindow')
|
|
|
|
codewindow.setup({
|
|
|
|
minimap_width = 20, -- The width of the text part of the minimap
|
|
|
|
width_multiplier = 4, -- How many characters one dot represents
|
|
|
|
use_lsp = true, -- Use the builtin LSP to show errors and warnings
|
|
|
|
use_treesitter = true, -- Use nvim-treesitter to highlight the code
|
2022-10-24 15:58:34 +00:00
|
|
|
show_cursor = true,
|
2022-10-18 18:59:31 +00:00
|
|
|
exclude_filetypes = {}, -- Choose certain filetypes to not show minimap on
|
|
|
|
z_index = 1, -- The z-index the floating window will be on
|
2022-11-02 13:33:54 +00:00
|
|
|
})
|
2022-10-18 18:59:31 +00:00
|
|
|
codewindow.apply_default_keybinds()
|