feat: some qol changes

This commit is contained in:
2026-07-25 10:34:02 +02:00
parent d3e2ea602e
commit 89ed1b189e
5 changed files with 11 additions and 18 deletions

View File

@@ -53,7 +53,9 @@ return {
{
"stevearc/aerial.nvim",
opts = {},
opts = function()
return require("plugins.opts.aerialview")
end,
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",

View File

@@ -95,16 +95,7 @@ local config = {
-- 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)
-- To see all available values, see :help SymbolKind
filter_kind = {
"Class",
"Constructor",
"Enum",
"Function",
"Interface",
"Module",
"Method",
"Struct",
},
filter_kind = false,
-- Determines line highlighting mode when multiple splits are visible.
-- split_width Each open window will have its cursor location marked in the

View File

@@ -12,7 +12,7 @@ local config = {
options = {
themeable = true,
numbers = "none",
diagnostics = "nvim_lsp", -- or "coc"
diagnostics = false, -- or "nvim_lsp", "coc"
max_prefix_length = 8,
close_command = "b# | bd#",
right_mouse_command = "b# | bd#",

View File

@@ -34,8 +34,8 @@ local options = {
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff" },
lualine_c = { "filename" },
lualine_x = { "diagnostics", "filetype", "encoding", "fileformat" },
lualine_c = { "filename", "diagnostics" },
lualine_x = { "searchcount", "filetype", "encoding", "fileformat" },
lualine_y = { "progress" },
lualine_z = { "location" },
},

View File

@@ -1,14 +1,14 @@
local options = {
enable = true, -- 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.
enable = false, -- 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.
min_window_height = 0, -- Minimum editor window height to enable context. Values <= 0 mean no limit.
line_numbers = true,
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'
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 '-'.
-- 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
on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching
}