add minimap plugin with default keybindings
This commit is contained in:
parent
4c8622fe36
commit
bdb936d1f8
2 changed files with 14 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue