replace some more plugins with lua variants
This commit is contained in:
14
lua/plugins/lualine.lua
Normal file
14
lua/plugins/lualine.lua
Normal file
@ -0,0 +1,14 @@
|
||||
-- Inserts a component in lualine_c at left section
|
||||
local config = {}
|
||||
local function ins_left(component)
|
||||
table.insert(config.sections.lualine_c, component)
|
||||
end
|
||||
|
||||
-- Inserts a component in lualine_x ot right section
|
||||
local function ins_right(component)
|
||||
table.insert(config.sections.lualine_x, component)
|
||||
end
|
||||
|
||||
local config = require('lualine').get_config()
|
||||
config.options.theme = 'onedark'
|
||||
require('lualine').setup(config)
|
Reference in New Issue
Block a user