1
0
Fork 0

wezterm, neovim: some lua magic

This commit is contained in:
Von Random 2023-06-20 15:40:41 +03:00
parent f42c239958
commit ff48d8d86b
2 changed files with 10 additions and 2 deletions

View file

@ -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
} }
} }

View file

@ -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 = {