diff options
author | Von Random <von@mechanus.net> | 2023-10-06 00:18:21 +0300 |
---|---|---|
committer | Von Random <von@mechanus.net> | 2023-10-06 00:18:21 +0300 |
commit | 9827fe645bf6b125894011213cfa4aef06ba4509 (patch) | |
tree | 6216d293910ac8a5505347c0ebe9e0c06948c321 | |
parent | d16839aa69f59bd8c057b50aca4a26011e10f769 (diff) |
nvim: fix windows issue with treesitter; wezterm: font
-rw-r--r-- | cli/.config/nvim/lua/plugins.lua | 20 | ||||
-rw-r--r-- | gui/.wezterm.lua | 4 |
2 files changed, 15 insertions, 9 deletions
diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index 2023277..bfcc6ba 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -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>') diff --git a/gui/.wezterm.lua b/gui/.wezterm.lua index 93cb247..27114ef 100644 --- a/gui/.wezterm.lua +++ b/gui/.wezterm.lua @@ -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 = { |