summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/lualine.lua
diff options
context:
space:
mode:
author2025-05-02 16:05:47 +0300
committer2025-05-02 16:05:47 +0300
commit446d2716e7bb83e58fb516ec27e5c7750069e98c (patch)
tree3e2bdee9d79cf8495fde84a559d2b05bf7ca45b8 /nvim/lua/plugins/lualine.lua
parentСделал кейбинды (diff)
downloaddotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.gz
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.bz2
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.xz
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.zip
Перешел на lazy nvim, навел порядок в плагинах
Diffstat (limited to 'nvim/lua/plugins/lualine.lua')
-rw-r--r--nvim/lua/plugins/lualine.lua77
1 files changed, 40 insertions, 37 deletions
diff --git a/nvim/lua/plugins/lualine.lua b/nvim/lua/plugins/lualine.lua
index 891b392..3be9d19 100644
--- a/nvim/lua/plugins/lualine.lua
+++ b/nvim/lua/plugins/lualine.lua
@@ -1,40 +1,43 @@
-require('lualine').setup {
- options = {
- icons_enabled = true,
- theme = 'auto',
- component_separators = { left = '', right = ''},
- section_separators = { left = '', right = ''},
- disabled_filetypes = {
- statusline = {},
- winbar = {},
+return {
+ "nvim-lualine/lualine.nvim",
+ opts = {
+ options = {
+ icons_enabled = true,
+ theme = "auto",
+ component_separators = { left = "", right = "" },
+ section_separators = { left = "", right = "" },
+ disabled_filetypes = {
+ statusline = {},
+ winbar = {},
+ },
+ ignore_focus = {},
+ always_divide_middle = true,
+ globalstatus = false,
+ refresh = {
+ statusline = 1000,
+ tabline = 1000,
+ winbar = 1000,
+ },
},
- ignore_focus = {},
- always_divide_middle = true,
- globalstatus = false,
- refresh = {
- statusline = 1000,
- tabline = 1000,
- winbar = 1000,
- }
- },
- 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 = {}
+ 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 = {},
},
- tabline = {},
- winbar = {},
- inactive_winbar = {},
- extensions = {}
}