wezterm, neovim: some lua magic
This commit is contained in:
parent
f42c239958
commit
ff48d8d86b
2 changed files with 10 additions and 2 deletions
|
@ -25,10 +25,18 @@ end
|
||||||
if require('packer_init').init(plugins) then return end
|
if require('packer_init').init(plugins) then return end
|
||||||
|
|
||||||
--[[ plugins config ]]
|
--[[ plugins config ]]
|
||||||
|
if os.getenv('TERM'):match('linux') then
|
||||||
|
lualine_section_separators = { left = nil, right = nil }
|
||||||
|
lualine_component_separators = { left = '|', right = '|' }
|
||||||
|
else
|
||||||
|
lualine_section_separators = nil
|
||||||
|
lualine_component_separators = { left = '\u{2022}', right = '\u{2022}' }
|
||||||
|
end
|
||||||
require('lualine').setup{
|
require('lualine').setup{
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = false,
|
icons_enabled = false,
|
||||||
component_separators = { left = '\u{2022}', right = '\u{2022}' }
|
section_separators = lualine_section_separators,
|
||||||
|
component_separators = lualine_component_separators
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
local wt = require('wezterm')
|
local wt = require('wezterm')
|
||||||
local act = wt.action
|
local act = wt.action
|
||||||
local font = 'VascadiaMod'
|
local font = 'VascadiaMod'
|
||||||
local harfbuzz_features = null
|
local harfbuzz_features = nil
|
||||||
local fontsizes = { Darwin = 14, others = 11 }
|
local fontsizes = { Darwin = 14, others = 11 }
|
||||||
local theme = 'GruvboxDark'
|
local theme = 'GruvboxDark'
|
||||||
local overrides = {
|
local overrides = {
|
||||||
|
|
Loading…
Reference in a new issue