tidying up

This commit is contained in:
topper3418 2024-07-11 22:17:06 -05:00
parent f4d76df7bf
commit 5d5dcabad7
2 changed files with 12 additions and 1 deletions

View File

@ -303,7 +303,8 @@ require('lazy').setup({
-- require 'kickstart.plugins.autopairs',
require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- add the documentation viewer
require 'kickstart.plugins.doc_view',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config.
--
@ -350,5 +351,6 @@ vim.opt.smartindent = true
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
vim.keymap.set('n', '<leader>dt', ':DocsViewToggle<enter>', { desc = 'Toggle Documentation' })
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et

View File

@ -0,0 +1,9 @@
return {
'amrbashir/nvim-docs-view',
lazy = true,
cmd = 'DocsViewToggle',
opts = {
position = 'right',
width = 60,
},
}