nvim 0.12 wip
This commit is contained in:
@@ -6,3 +6,4 @@ require("plugins.blink")
|
|||||||
require("plugins.conform")
|
require("plugins.conform")
|
||||||
require("plugins.git")
|
require("plugins.git")
|
||||||
require("plugins.theme")
|
require("plugins.theme")
|
||||||
|
require("plugins.lualine")
|
||||||
|
|||||||
59
.config/nvim/lua/plugins/lualine.lua
Normal file
59
.config/nvim/lua/plugins/lualine.lua
Normal 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 = {},
|
||||||
|
})
|
||||||
@@ -21,6 +21,10 @@
|
|||||||
"rev": "dfac404",
|
"rev": "dfac404",
|
||||||
"src": "https://github.com/lewis6991/gitsigns.nvim"
|
"src": "https://github.com/lewis6991/gitsigns.nvim"
|
||||||
},
|
},
|
||||||
|
"lualine.nvim": {
|
||||||
|
"rev": "47f91c4",
|
||||||
|
"src": "https://github.com/nvim-lualine/lualine.nvim"
|
||||||
|
},
|
||||||
"neo-tree.nvim": {
|
"neo-tree.nvim": {
|
||||||
"rev": "f3df514",
|
"rev": "f3df514",
|
||||||
"src": "https://github.com/nvim-neo-tree/neo-tree.nvim",
|
"src": "https://github.com/nvim-neo-tree/neo-tree.nvim",
|
||||||
|
|||||||
Reference in New Issue
Block a user