16 icons_enabled = false, |
16 icons_enabled = false, |
17 section_separators = "", |
17 section_separators = "", |
18 component_separators = "", |
18 component_separators = "", |
19 }, |
19 }, |
20 sections = { |
20 sections = { |
21 lualine_a = {'mode'}, |
21 lualine_a = { "mode" }, |
22 lualine_b = {'filename'}, |
22 lualine_b = { "filename" }, |
23 lualine_c = {'diagnostics'}, |
23 lualine_c = { "diagnostics" }, |
24 lualine_x = {'encoding', 'fileformat'}, |
24 lualine_x = { "encoding", "fileformat" }, |
25 lualine_y = {'filetype'}, |
25 lualine_y = { "filetype" }, |
26 lualine_z = {'progress', 'location'} |
26 lualine_z = { "progress", "location" }, |
27 }, |
27 }, |
28 tabline = { |
28 tabline = { |
29 lualine_a = { {'buffers', mode = 4, show_filename_only = false} }, |
29 lualine_a = { { "buffers", mode = 4, show_filename_only = false } }, |
30 lualine_z = { 'branch' }, |
30 lualine_z = { "branch" }, |
31 }, |
31 }, |
32 extensions = {"quickfix"}, |
32 extensions = { "quickfix" }, |
33 } |
33 }, |
34 }, |
34 }, |
35 |
35 |
36 { |
36 { |
37 "lukas-reineke/indent-blankline.nvim", |
37 "lukas-reineke/indent-blankline.nvim", |
38 event = "BufReadPost", |
38 event = "BufReadPost", |
39 keys = { |
39 keys = { |
40 {"<leader>ig", "<cmd>IndentBlanklineToggle<cr>"}, |
40 { "<leader>ig", "<cmd>IndentBlanklineToggle<cr>" }, |
41 }, |
41 }, |
42 opts = { |
42 opts = { |
43 enabled = false, |
43 enabled = false, |
44 char = "│", |
44 char = "│", |
45 -- filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" }, |
45 -- filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" }, |
55 opts = { |
55 opts = { |
56 symbol = "│", |
56 symbol = "│", |
57 -- symbol = "▏", |
57 -- symbol = "▏", |
58 options = { try_as_border = true }, |
58 options = { try_as_border = true }, |
59 draw = { |
59 draw = { |
60 animation = function() return 2 end, |
60 animation = function() |
|
61 return 2 |
|
62 end, |
61 }, |
63 }, |
62 }, |
64 }, |
63 config = function(_, opts) |
65 config = function(_, opts) |
64 vim.api.nvim_create_autocmd("FileType", { |
66 vim.api.nvim_create_autocmd("FileType", { |
65 pattern = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" }, |
67 pattern = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" }, |