sudo pacman -Syu 2024-01-23 23:41:38 +07:00
parent c1b1fbbc81
commit c6c1f6aa04
2 changed files with 15 additions and 4 deletions

View File

@ -389,12 +389,13 @@ require("lazy").setup({
ensure_installed = { ensure_installed = {
"go", "go",
"proto", "proto",
"lua",
}, },
highlight = { highlight = {
enabled = true, enabled = true,
disable = function(lang, bufnr) disable = function(lang, bufnr)
-- Skip if not go, proto -- Skip if not go, proto
if lang ~= "go" and lang ~= "proto" then if lang ~= "go" and lang ~= "proto" and lang ~= "lua" then
return true return true
end end
@ -402,6 +403,16 @@ require("lazy").setup({
return vim.api.nvim_buf_line_count(bufnr) > 2000 return vim.api.nvim_buf_line_count(bufnr) > 2000
end, end,
}, },
-- https://www.reddit.com/r/neovim/comments/r10llx/the_most_amazing_builtin_feature_nobody_ever
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<Space>k",
node_incremental = "<Space>k",
scope_incremental = false,
node_decremental = "<Space>j",
},
},
}) })
end, end,
}, },

View File

@ -69,7 +69,7 @@ local font_0xproto = {
font = wezterm.font({ font = wezterm.font({
family = "0xProto", family = "0xProto",
}), }),
font_size = 16.0, font_size = 14.0,
line_height = 1.2, line_height = 1.2,
default_cursor_style = "SteadyBar", default_cursor_style = "SteadyBar",
} }
@ -80,12 +80,12 @@ local font_berkeley = {
family = "Berkeley Mono", family = "Berkeley Mono",
harfbuzz_features = { "ss02" }, harfbuzz_features = { "ss02" },
}), }),
font_size = 16.0, font_size = 14.0,
line_height = 1.2, line_height = 1.2,
default_cursor_style = "SteadyBar", default_cursor_style = "SteadyBar",
} }
local current_font = font_0xproto local current_font = font_berkeley
local current_color_scheme = "Catppuccin Mocha" local current_color_scheme = "Catppuccin Mocha"