summaryrefslogtreecommitdiff
path: root/after/plugin/lualine.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin/lualine.lua')
-rw-r--r--after/plugin/lualine.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/after/plugin/lualine.lua b/after/plugin/lualine.lua
index 1d60a17..0e3427d 100644
--- a/after/plugin/lualine.lua
+++ b/after/plugin/lualine.lua
@@ -1,4 +1,4 @@
-if vim.fn.has('gui_running') then
+if vim.fn.has('gui_running') == 1 then
require('lualine').setup {
options = {
component_separators = { left = '', right = ''},
@@ -11,6 +11,7 @@ else
options = {
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
+ theme = require('lualine.themes.auto'),
}
}
end