mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Added Arduino board display to lualine
This commit is contained in:
parent
2bc37c16b3
commit
2f7a6eaf62
1 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,16 @@ dotfiles_gruv.command.a.bg = colors[16].gui
|
||||||
dotfiles_gruv.command.c.bg = colors[2].gui
|
dotfiles_gruv.command.c.bg = colors[2].gui
|
||||||
dotfiles_gruv.command.c.fg = colors[7].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{
|
require('lualine').setup{
|
||||||
options = {
|
options = {
|
||||||
theme = dotfiles_gruv
|
theme = dotfiles_gruv
|
||||||
|
|
Loading…
Reference in a new issue