1
0
Fork 0

nvim: fix windows issue with treesitter; wezterm: font

This commit is contained in:
Von Random 2023-10-06 00:18:21 +03:00
parent d16839aa69
commit 9827fe645b
2 changed files with 15 additions and 9 deletions

View file

@ -19,8 +19,8 @@ require('lazy').setup {
} }
--[[ plugin configs and maps ]] --[[ plugin configs and maps ]]
local ll_sep = "\u{2022}" local conf_ll_sep = "\u{2022}"
require('lualine').setup { local conf_lualine = {
options = { options = {
icons_enabled = false, icons_enabled = false,
theme = 'solarized_light', theme = 'solarized_light',
@ -28,12 +28,18 @@ require('lualine').setup {
section_separators = { left = null, right = null} section_separators = { left = null, right = null}
} }
} }
require('gitsigns').setup() local conf_nvim_treesitter = {
require('nvim-treesitter.configs').setup { highlight = {
highlight = { enable = true
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>L', '<cmd>Lazy<CR>')
map('n', '<Leader>?', '<cmd>Cheat40<CR>') map('n', '<Leader>?', '<cmd>Cheat40<CR>')
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>') map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')

View file

@ -1,8 +1,8 @@
local wt = require('wezterm') local wt = require('wezterm')
local act = wt.action local act = wt.action
local font = 'VascadiaMod' local font = 'FantasqueSansM Nerd Font'
local harfbuzz_features = nil local harfbuzz_features = nil
local fontsizes = { Darwin = 14, others = 11 } local fontsizes = { Darwin = 15, others = 12 }
local theme = 'Solarized Light (Gogh)' local theme = 'Solarized Light (Gogh)'
local overrides = { local overrides = {
fonts = { fonts = {