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

update lualine conf

This commit is contained in:
jdhao 2021-12-05 16:54:29 +08:00
parent c652796da1
commit 3432dbbb63

View File

@ -1,6 +1,7 @@
local function spell() local function spell()
if vim.o.spell then if vim.o.spell then
return "[SPELL]" local spelllang = vim.o.spelllang
return string.format("[SPELL][%s]", spelllang)
end end
return "" return ""
@ -48,8 +49,10 @@ require("lualine").setup({
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = "auto", theme = "auto",
component_separators = { left = "", right = "" }, -- component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" }, -- section_separators = { left = "", right = "" },
section_separators = "",
component_separators = "",
disabled_filetypes = {}, disabled_filetypes = {},
always_divide_middle = true, always_divide_middle = true,
}, },