nvim: fix windows issue with treesitter; wezterm: font
This commit is contained in:
parent
d16839aa69
commit
9827fe645b
2 changed files with 15 additions and 9 deletions
|
@ -19,8 +19,8 @@ require('lazy').setup {
|
|||
}
|
||||
|
||||
--[[ plugin configs and maps ]]
|
||||
local ll_sep = "\u{2022}"
|
||||
require('lualine').setup {
|
||||
local conf_ll_sep = "\u{2022}"
|
||||
local conf_lualine = {
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
theme = 'solarized_light',
|
||||
|
@ -28,12 +28,18 @@ require('lualine').setup {
|
|||
section_separators = { left = null, right = null}
|
||||
}
|
||||
}
|
||||
require('gitsigns').setup()
|
||||
require('nvim-treesitter.configs').setup {
|
||||
highlight = {
|
||||
enable = true
|
||||
}
|
||||
local conf_nvim_treesitter = {
|
||||
highlight = {
|
||||
enable = true
|
||||
}
|
||||
}
|
||||
|
||||
require('lualine').setup(conf_lualine)
|
||||
require('gitsigns').setup()
|
||||
if not vim.fn.has('Windows') then
|
||||
require('nvim-treesitter.configs').setup(conf_nvim_treesitter)
|
||||
end
|
||||
|
||||
map('n', '<Leader>L', '<cmd>Lazy<CR>')
|
||||
map('n', '<Leader>?', '<cmd>Cheat40<CR>')
|
||||
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
local wt = require('wezterm')
|
||||
local act = wt.action
|
||||
local font = 'VascadiaMod'
|
||||
local font = 'FantasqueSansM Nerd Font'
|
||||
local harfbuzz_features = nil
|
||||
local fontsizes = { Darwin = 14, others = 11 }
|
||||
local fontsizes = { Darwin = 15, others = 12 }
|
||||
local theme = 'Solarized Light (Gogh)'
|
||||
local overrides = {
|
||||
fonts = {
|
||||
|
|
Loading…
Reference in a new issue