feat: some qol changes
This commit is contained in:
@@ -53,7 +53,9 @@ return {
|
|||||||
|
|
||||||
{
|
{
|
||||||
"stevearc/aerial.nvim",
|
"stevearc/aerial.nvim",
|
||||||
opts = {},
|
opts = function()
|
||||||
|
return require("plugins.opts.aerialview")
|
||||||
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
|||||||
@@ -95,16 +95,7 @@ local config = {
|
|||||||
-- A list of all symbols to display. Set to false to display all symbols.
|
-- A list of all symbols to display. Set to false to display all symbols.
|
||||||
-- This can be a filetype map (see :help aerial-filetype-map)
|
-- This can be a filetype map (see :help aerial-filetype-map)
|
||||||
-- To see all available values, see :help SymbolKind
|
-- To see all available values, see :help SymbolKind
|
||||||
filter_kind = {
|
filter_kind = false,
|
||||||
"Class",
|
|
||||||
"Constructor",
|
|
||||||
"Enum",
|
|
||||||
"Function",
|
|
||||||
"Interface",
|
|
||||||
"Module",
|
|
||||||
"Method",
|
|
||||||
"Struct",
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Determines line highlighting mode when multiple splits are visible.
|
-- Determines line highlighting mode when multiple splits are visible.
|
||||||
-- split_width Each open window will have its cursor location marked in the
|
-- split_width Each open window will have its cursor location marked in the
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ local config = {
|
|||||||
options = {
|
options = {
|
||||||
themeable = true,
|
themeable = true,
|
||||||
numbers = "none",
|
numbers = "none",
|
||||||
diagnostics = "nvim_lsp", -- or "coc"
|
diagnostics = false, -- or "nvim_lsp", "coc"
|
||||||
max_prefix_length = 8,
|
max_prefix_length = 8,
|
||||||
close_command = "b# | bd#",
|
close_command = "b# | bd#",
|
||||||
right_mouse_command = "b# | bd#",
|
right_mouse_command = "b# | bd#",
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ local options = {
|
|||||||
sections = {
|
sections = {
|
||||||
lualine_a = { "mode" },
|
lualine_a = { "mode" },
|
||||||
lualine_b = { "branch", "diff" },
|
lualine_b = { "branch", "diff" },
|
||||||
lualine_c = { "filename" },
|
lualine_c = { "filename", "diagnostics" },
|
||||||
lualine_x = { "diagnostics", "filetype", "encoding", "fileformat" },
|
lualine_x = { "searchcount", "filetype", "encoding", "fileformat" },
|
||||||
lualine_y = { "progress" },
|
lualine_y = { "progress" },
|
||||||
lualine_z = { "location" },
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
local options = {
|
local options = {
|
||||||
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
|
enable = false, -- Enable this plugin (Can be enabled/disabled later via commands)
|
||||||
max_lines = 1, -- How many lines the window should span. Values <= 0 mean no limit.
|
max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
|
||||||
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
|
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
|
||||||
line_numbers = true,
|
line_numbers = true,
|
||||||
multiline_threshold = 20, -- Maximum number of lines to show for a single context
|
multiline_threshold = 20, -- Maximum number of lines to show for a single context
|
||||||
trim_scope = "outer", -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer'
|
trim_scope = "outer", -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer'
|
||||||
mode = "cursor", -- Line used to calculate context. Choices: 'cursor', 'topline'
|
mode = "topline", -- Line used to calculate context. Choices: 'cursor', 'topline'
|
||||||
-- Separator between context and content. Should be a single character string, like '-'.
|
-- 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.
|
-- When separator is set, the context will only show up when there are at least 2 lines above cursorline.
|
||||||
separator = nil,
|
separator = "─",
|
||||||
zindex = 20, -- The Z-index of the context window
|
zindex = 20, -- The Z-index of the context window
|
||||||
on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching
|
on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user