1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

tweak lualine conf

This commit is contained in:
jdhao 2021-12-06 11:11:27 +08:00
parent a7be6a58a4
commit aacbf56ee5

View File

@ -1,7 +1,6 @@
local function spell() local function spell()
if vim.o.spell then if vim.o.spell then
local spelllang = vim.o.spelllang return string.format("[SPELL]")
return string.format("[SPELL][%s]", spelllang)
end end
return "" return ""
@ -62,7 +61,7 @@ require("lualine").setup({
lualine_c = { lualine_c = {
{ {
spell, spell,
color = "Cursor" color = {fg = 'black', bg = '#a7c080'}
}, },
"filename" "filename"
}, },