nvim: bootstrap minimal nix-first config
This commit is contained in:
parent
8a2e735875
commit
d90c74150f
14 changed files with 557 additions and 12 deletions
41
.config/nvim/lua/plugins/statusline.lua
Normal file
41
.config/nvim/lua/plugins/statusline.lua
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
return {
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
opts = {
|
||||
options = {
|
||||
theme = "catppuccin",
|
||||
globalstatus = true,
|
||||
section_separators = "",
|
||||
component_separators = "│",
|
||||
disabled_filetypes = {
|
||||
statusline = { "oil" },
|
||||
},
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = { "branch", "diff", "diagnostics" },
|
||||
lualine_c = {
|
||||
{
|
||||
"filename",
|
||||
path = 1,
|
||||
},
|
||||
},
|
||||
lualine_x = {
|
||||
{
|
||||
"lsp_status",
|
||||
ignore_lsp = { "copilot" },
|
||||
},
|
||||
"encoding",
|
||||
"filetype",
|
||||
},
|
||||
lualine_y = { "progress" },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
extensions = { "quickfix", "lazy" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue