chore(clean): format

This commit is contained in:
2025-03-08 20:23:54 +01:00
parent be462d58ea
commit cf26719d20
4 changed files with 21 additions and 7 deletions

View File

@@ -22,10 +22,15 @@ return {
foldmethod = "syntax",
foldnestmax = 150,
grepprg = vim.fn.executable("rg") and "rg --vimgrep" or nil,
guifont = { "VictorMono Nerd Font", "Hack Nerd Font Mono", ":h10" },
guifont = {
"VictorMono Nerd Font",
"Hack Nerd Font Mono",
":h10",
},
listchars = { tab = "> ", extends = ">", precedes = "<", space = "·" },
number = true,
path = vim.list_extend(vim.opt.path:get(), { "**" }),
pumblend = 0,
relativenumber = false,
shiftwidth = 4,
signcolumn = "auto",

View File

@@ -5,7 +5,10 @@ return {
opts = {
mappings = {
n = {
["<Leader>e"] = { "<Cmd>Neotree toggle reveal reveal_force_cwd<CR>", desc = "Toggle Explorer" },
["<Leader>e"] = {
"<Cmd>Neotree toggle reveal reveal_force_cwd<CR>",
desc = "Toggle Explorer",
},
},
t = {
["<Esc>"] = [[<C-\><C-n>]],

View File

@@ -21,7 +21,9 @@ return {
opts.statusline = {
hl = "statusline",
comp.mode({ mode_text = { hl = { bold = true }, padding = { left = 1, right = 1 } } }),
comp.mode({
mode_text = { hl = { bold = true }, padding = { left = 1, right = 1 } },
}),
comp.file_info({
filetype = false,
filename = {
@@ -53,11 +55,15 @@ return {
end
opts.winbar = {
init = function(self) self.bufnr = vim.api.nvim_get_current_buf() end,
init = function(self)
self.bufnr = vim.api.nvim_get_current_buf()
end,
fallthrough = false,
{
-- Display file path when window is not active
condition = function() return not status.condition.is_active() end,
condition = function()
return not status.condition.is_active()
end,
{
-- Set display priority to hide when component is too big to fit
flexible = 1,