2022-11-12 12:41:55 +01:00
|
|
|
require("scrollbar").setup()
|
|
|
|
|
2022-10-18 20:59:31 +02: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 17:58:34 +02:00
|
|
|
show_cursor = true,
|
2022-10-18 20:59:31 +02: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 14:33:54 +01:00
|
|
|
})
|
2022-10-18 20:59:31 +02:00
|
|
|
codewindow.apply_default_keybinds()
|
|
|
|
|
2022-10-27 22:08:57 +02:00
|
|
|
|
2022-10-09 12:14:32 +02:00
|
|
|
|
|
|
|
|