Browse Source

feat: update lualine with extensions

master
Tovi Jaeschke-Rogers 3 weeks 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 = "" },
globalstatus = true,
},
extensions = {
"fugitive",
"oil",
"quickfix",
},
sections = {
lualine_b = {
{ "branch" },
@ -34,6 +39,12 @@ return {
{ "fileformat" },
{ "filetype" },
},
lualine_y = {
{ "progress" },
},
lualine_z = {
{ "location" }
},
},
})
end,


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

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


Loading…
Cancel
Save