[nvim] Added Arduino board display to lualine

This commit is contained in:
Alyxia Sother 2021-09-10 14:45:16 +02:00
parent 2bc37c16b3
commit 2f7a6eaf62
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,16 @@ dotfiles_gruv.command.a.bg = colors[16].gui
dotfiles_gruv.command.c.bg = colors[2].gui
dotfiles_gruv.command.c.fg = colors[7].gui
dotfiles_gruv.replace.a.bg = colors[9].gui
dotfiles_gruv.replace.c.bg = colors[2].gui
-- Displays the currently selected Arduino board
local function showBoard()
if vim.g.arduino_board then
return '[' .. vim.g.arduino_board .. ']'
end
end
require('lualine').setup{
options = {
theme = dotfiles_gruv