Browse Source

feat: update lualine with extensions

master
Tovi Jaeschke-Rogers 3 months ago
parent
commit
a92c0c1f01
2 changed files with 17 additions and 0 deletions
  1. +11
    -0
      .config/nvim/lua/plugins/lualine.lua
  2. +6
    -0
      .config/nvim/lua/plugins/nvim-treesitter.lua

+ 11
- 0
.config/nvim/lua/plugins/lualine.lua View File

@ -15,6 +15,11 @@ return {
section_separators = { left = "", right = "" }, section_separators = { left = "", right = "" },
globalstatus = true, globalstatus = true,
}, },
extensions = {
"fugitive",
"oil",
"quickfix",
},
sections = { sections = {
lualine_b = { lualine_b = {
{ "branch" }, { "branch" },
@ -34,6 +39,12 @@ return {
{ "fileformat" }, { "fileformat" },
{ "filetype" }, { "filetype" },
}, },
lualine_y = {
{ "progress" },
},
lualine_z = {
{ "location" }
},
}, },
}) })
end, end,


+ 6
- 0
.config/nvim/lua/plugins/nvim-treesitter.lua View File

@ -86,6 +86,12 @@ return {
["[C"] = "@conditional.outer", ["[C"] = "@conditional.outer",
["[O"] = "@loop.outer", ["[O"] = "@loop.outer",
}, },
goto_next = {
["]b"] = "@block.outer",
},
goto_previous = {
["[b"] = "@block.outer",
}
}, },
}, },
}) })


Loading…
Cancel
Save