added arrow plugin

This commit is contained in:
Oliver Hartmann 2024-02-26 22:43:51 +01:00
parent 819fc00188
commit 90cd7ee928
3 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"LuaSnip": { "branch": "master", "commit": "8ae1dedd988eb56441b7858bd1e8554dfadaa46d" },
"advanced-git-search.nvim": { "branch": "main", "commit": "5637d80861e253a8621450eb58621009e1307deb" },
"aerial.nvim": { "branch": "master", "commit": "e9661d4f739508377f42528fd08a85c4c8feba6e" },
"arrow.nvim": { "branch": "master", "commit": "9d98760d9a195174a24b6ccc20217bc98f3596e0" },
"astrotheme": { "branch": "main", "commit": "8dbe318a8361fe6e91161bdf17ba695ed06abee9" },
"bamboo.nvim": { "branch": "master", "commit": "a8be506afe2ce533d870a6e23858c43968ea2660" },
"catppuccin": { "branch": "main", "commit": "5e36ca599f4aa41bdd87fbf2c5aae4397ac55074" },

7
lua/plugins/arrow.lua Normal file
View File

@ -0,0 +1,7 @@
return {
'otavioschwanck/arrow.nvim',
opts = {
show_icons = true,
leader_key = ';' -- Recommended to be a single key
}
}

View File

@ -2,6 +2,7 @@ return {
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
local statusline = require('arrow.statusline')
require('lualine').setup {
options = {
theme = 'bamboo',
@ -48,6 +49,9 @@ return {
path = 0,
file_status = true,
separator = { left = '', right = '' },
},
{
statusline.text_for_statusline_with_icons
}
},
lualine_b = {