nvim 0.12 wip

This commit is contained in:
2026-01-08 10:21:35 +01:00
parent f28cd20207
commit 6cb6fb2e66
3 changed files with 64 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ require("plugins.blink")
require("plugins.conform")
require("plugins.git")
require("plugins.theme")
require("plugins.lualine")

View File

@@ -0,0 +1,59 @@
vim.pack.add({
"https://github.com/nvim-lualine/lualine.nvim",
"https://github.com/nvim-tree/nvim-web-devicons",
})
require("lualine").setup({
options = {
icons_enabled = true,
theme = "auto",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
always_show_tabline = true,
globalstatus = false,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
refresh_time = 16, -- ~60fps
events = {
"WinEnter",
"BufEnter",
"BufWritePost",
"SessionLoadPost",
"FileChangedShellPost",
"VimResized",
"Filetype",
"CursorMoved",
"CursorMovedI",
"ModeChanged",
},
},
},
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff", "diagnostics" },
lualine_c = { "filename" },
lualine_x = { "encoding", "fileformat", "filetype" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { "filename" },
lualine_x = { "location" },
lualine_y = {},
lualine_z = {},
},
tabline = {},
winbar = {},
inactive_winbar = {},
extensions = {},
})

View File

@@ -21,6 +21,10 @@
"rev": "dfac404",
"src": "https://github.com/lewis6991/gitsigns.nvim"
},
"lualine.nvim": {
"rev": "47f91c4",
"src": "https://github.com/nvim-lualine/lualine.nvim"
},
"neo-tree.nvim": {
"rev": "f3df514",
"src": "https://github.com/nvim-neo-tree/neo-tree.nvim",