summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_galaxyline/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/_galaxyline/init.lua')
-rw-r--r--.config/nvim/lua/_galaxyline/init.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/.config/nvim/lua/_galaxyline/init.lua b/.config/nvim/lua/_galaxyline/init.lua
index 8673cde..7003575 100644
--- a/.config/nvim/lua/_galaxyline/init.lua
+++ b/.config/nvim/lua/_galaxyline/init.lua
@@ -1,6 +1,7 @@
local gl = require('galaxyline')
+-- get my theme in galaxyline repo
local colors = {
- bg = '#232731',
+ bg = '#080808',
yellow = '#DCDCAA',
dark_yellow = '#D7BA7D',
cyan = '#4EC9B0',
@@ -22,7 +23,7 @@ local condition = require('galaxyline.condition')
local gls = gl.section
gl.short_line_list = {'NvimTree', 'vista', 'dbui', 'packer'}
-gls.left[1] = {
+table.insert(gls.left, {
ViMode = {
provider = function()
-- auto change color according the vim mode
@@ -53,7 +54,8 @@ gls.left[1] = {
end,
highlight = {colors.red, colors.bg}
}
-}
+})
+
print(vim.fn.getbufvar(0, 'ts'))
vim.fn.getbufvar(0, 'ts')