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", foldmethod = "syntax",
foldnestmax = 150, foldnestmax = 150,
grepprg = vim.fn.executable("rg") and "rg --vimgrep" or nil, 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 = "·" }, listchars = { tab = "> ", extends = ">", precedes = "<", space = "·" },
number = true, number = true,
path = vim.list_extend(vim.opt.path:get(), { "**" }), path = vim.list_extend(vim.opt.path:get(), { "**" }),
pumblend = 0,
relativenumber = false, relativenumber = false,
shiftwidth = 4, shiftwidth = 4,
signcolumn = "auto", signcolumn = "auto",

View File

@@ -5,7 +5,10 @@ return {
opts = { opts = {
mappings = { mappings = {
n = { 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 = { t = {
["<Esc>"] = [[<C-\><C-n>]], ["<Esc>"] = [[<C-\><C-n>]],

View File

@@ -21,7 +21,9 @@ return {
opts.statusline = { opts.statusline = {
hl = "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({ comp.file_info({
filetype = false, filetype = false,
filename = { filename = {
@@ -53,11 +55,15 @@ return {
end end
opts.winbar = { 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, fallthrough = false,
{ {
-- Display file path when window is not active -- 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 -- Set display priority to hide when component is too big to fit
flexible = 1, flexible = 1,

View File

@@ -1,8 +1,8 @@
column_width = 120 column_width = 100
line_endings = "Unix" line_endings = "Unix"
indent_type = "Spaces" indent_type = "Spaces"
call_parentheses = "Always" call_parentheses = "Always"
collapse_simple_statement = "Always" collapse_simple_statement = "Never"
[sort_requires] [sort_requires]
enabled = true enabled = true