summaryrefslogtreecommitdiff
path: root/after/plugin/lualine.lua
diff options
context:
space:
mode:
authorGravatar Matthew Wozniak <sirtomato999@gmail.com> 2024-01-18 19:30:36 -0500
committerGravatar Matthew Wozniak <sirtomato999@gmail.com> 2024-01-18 19:30:36 -0500
commit31c7bc5258d7323658e60cb5400d5f3457fff74f (patch)
treec078a831c2eb148398428d61259e3e418a83d1fa /after/plugin/lualine.lua
parentca3ccc842c919e42ff21382a62d23a74e31b39dc (diff)
downloadnvim-31c7bc5258d7323658e60cb5400d5f3457fff74f.tar.gz
nvim-31c7bc5258d7323658e60cb5400d5f3457fff74f.zip
vimtex
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