chore(config): revision neovim, wezterm

main
sudo pacman -Syu 2023-10-24 14:29:13 +07:00
parent b7369143b5
commit 11c8615da6
2 changed files with 21 additions and 4 deletions

View File

@ -107,6 +107,14 @@ require("lazy").setup({
config = function() config = function()
require("catppuccin").setup({ require("catppuccin").setup({
flavour = "mocha", flavour = "mocha",
transparent_background = true,
custom_highlights = function(colors)
return {
Comment = {
fg = colors.flamingo,
},
}
end,
}) })
vim.cmd("colorscheme catppuccin") vim.cmd("colorscheme catppuccin")
@ -152,7 +160,7 @@ require("lazy").setup({
vim.cmd("colorscheme caret") vim.cmd("colorscheme caret")
end, end,
enabled = true, enabled = false,
}, },
-- https://github.com/folke/tokyonight.nvim -- https://github.com/folke/tokyonight.nvim
@ -161,11 +169,19 @@ require("lazy").setup({
lazy = false, lazy = false,
priority = 1000, priority = 1000,
config = function() config = function()
require("tokyonight").setup({}) require("tokyonight").setup({
transparent = true,
on_highlights = function(hl, c)
hl.Comment = {
fg = c.teal,
}
end,
})
vim.cmd("colorscheme tokyonight") vim.cmd("colorscheme tokyonight")
end, end,
enabled = false, enabled = true,
}, },
{ {
@ -533,6 +549,7 @@ require("lazy").setup({
vim.bo[ev.buf].omnifunc = "v:lua.vim.lsp.omnifunc" vim.bo[ev.buf].omnifunc = "v:lua.vim.lsp.omnifunc"
local opts = { buffer = ev.buf } local opts = { buffer = ev.buf }
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
vim.keymap.set("n", "<Space>k", vim.lsp.buf.hover, opts) vim.keymap.set("n", "<Space>k", vim.lsp.buf.hover, opts)
vim.keymap.set("n", "<F2>", vim.lsp.buf.rename, opts) vim.keymap.set("n", "<F2>", vim.lsp.buf.rename, opts)
vim.keymap.set("n", "<Space>f", function() vim.keymap.set("n", "<Space>f", function()

View File

@ -3,7 +3,7 @@ local act = wezterm.action
return { return {
font = wezterm.font({ font = wezterm.font({
family = "Fantasque Sans Mono", family = "Iosevka Term SS08",
}), }),
font_size = 16.0, font_size = 16.0,
line_height = 1.2, line_height = 1.2,