add minimap plugin with default keybindings

This commit is contained in:
Szwendacz99 2022-10-18 20:59:31 +02:00
parent 4c8622fe36
commit bdb936d1f8
2 changed files with 14 additions and 1 deletions

View file

@ -13,6 +13,18 @@ require("null-ls").setup({
},
})
-- 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
exclude_filetypes = {}, -- Choose certain filetypes to not show minimap on
z_index = 1, -- The z-index the floating window will be on
})
codewindow.apply_default_keybinds()
-- load perl lsp
local config = {