some package housecleaning.

This commit is contained in:
Gabe Venberg 2022-11-16 17:39:50 -06:00
parent 2b717818af
commit 8622ddb715

View file

@ -14,8 +14,7 @@ return require('packer').startup(function(use)
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use { use { 'nvim-treesitter/nvim-treesitter',
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate', run = ':TSUpdate',
config=function() require('nvim-treesitter').setup{ config=function() require('nvim-treesitter').setup{
ensure_installed='maintained', ensure_installed='maintained',
@ -170,14 +169,28 @@ return require('packer').startup(function(use)
--UI stuff --UI stuff
use {'simrat39/symbols-outline.nvim', use {'simrat39/symbols-outline.nvim',
config=function() vim.g.symbols_outline={ config=function()
width=25, local opts = {
relative_width=false highlight_hovered_item = true,
}end show_guides = true,
auto_preview = false,
position = 'right',
relative_width = true,
width = 30,
auto_close = false,
show_numbers = false,
show_relative_numbers = false,
show_symbol_details = true,
preview_bg_highlight = 'Pmenu',
autofold_depth = nil,
auto_unfold_hover = true,
fold_markers = { '', '' },
wrap = false,
}
require("symbols-outline").setup(opts)
end
} }
use 'yamatsum/nvim-cursorline'
use {'stevearc/dressing.nvim', use {'stevearc/dressing.nvim',
config=function() config=function()
require('dressing').setup{} require('dressing').setup{}
@ -211,7 +224,6 @@ return require('packer').startup(function(use)
lualine_y = {}, lualine_y = {},
lualine_z = {} lualine_z = {}
}, },
tabline = {},
extensions = {} extensions = {}
} end, } end,
} }
@ -295,6 +307,17 @@ return require('packer').startup(function(use)
use {'romgrk/nvim-treesitter-context', use {'romgrk/nvim-treesitter-context',
requires = 'nvim-treesitter/nvim-treesitter', requires = 'nvim-treesitter/nvim-treesitter',
config=function() require('treesitter-context').setup{
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
trim_scope = 'outer', -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer'
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
zindex = 200, -- The Z-index of the context window
mode = 'cursor', -- Line used to calculate context. Choices: 'cursor', 'topline'
-- Separator between context and content. Should be a single character string, like '-'.
-- When separator is set, the context will only show up when there are at least 2 lines above cursorline.
separator = nil,
} end
} }
use {'lewis6991/gitsigns.nvim', use {'lewis6991/gitsigns.nvim',
@ -306,10 +329,6 @@ return require('packer').startup(function(use)
use 'tversteeg/registers.nvim' use 'tversteeg/registers.nvim'
use {'lewis6991/spellsitter.nvim',
config=function() require('spellsitter').setup() end
}
use {'lukas-reineke/indent-blankline.nvim', use {'lukas-reineke/indent-blankline.nvim',
config=function() config=function()
vim.opt.list = true vim.opt.list = true
@ -331,22 +350,6 @@ return require('packer').startup(function(use)
use "jbyuki/venn.nvim" use "jbyuki/venn.nvim"
--misc
use {
'xeluxee/competitest.nvim',
requires = 'MunifTanjim/nui.nvim',
config = function() require'competitest'.setup() end
}
use {'sudormrfbin/cheatsheet.nvim',
requires = {
{'nvim-telescope/telescope.nvim'},
{'nvim-lua/popup.nvim'},
{'nvim-lua/plenary.nvim'},
}
}
--color scheme stuff. --color scheme stuff.
use 'bluz71/vim-moonfly-colors' use 'bluz71/vim-moonfly-colors'