diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-05 16:54:29 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-05 16:54:29 +0800 |
| commit | 3432dbbb6326fe3488216b474d52496cc372886f (patch) | |
| tree | 1d1d5f771649380e22069446beed171bf0d8cca4 | |
| parent | c652796da17113171daa0643a92308616f62eb38 (diff) | |
update lualine conf
| -rw-r--r-- | lua/config/statusline.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lua/config/statusline.lua b/lua/config/statusline.lua index 9b4c6fa..ada96cf 100644 --- a/lua/config/statusline.lua +++ b/lua/config/statusline.lua @@ -1,6 +1,7 @@ local function spell() if vim.o.spell then - return "[SPELL]" + local spelllang = vim.o.spelllang + return string.format("[SPELL][%s]", spelllang) end return "" @@ -48,8 +49,10 @@ require("lualine").setup({ options = { icons_enabled = true, theme = "auto", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, + -- component_separators = { left = "", right = "" }, + -- section_separators = { left = "", right = "" }, + section_separators = "", + component_separators = "", disabled_filetypes = {}, always_divide_middle = true, }, |
