feat(nvim): misc updates

This commit is contained in:
Barrett Ruth 2026-03-06 15:44:30 -05:00
parent e72f3c72ee
commit 3f772138f2
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
5 changed files with 33 additions and 51 deletions

View file

@ -36,6 +36,7 @@ return {
event = { 'InsertEnter', 'LspAttach' },
keys = { { '<c-n>', mode = 'i' } },
before = function()
vim.cmd.packadd('lazydev.nvim')
vim.cmd.packadd('blink-cmp-git')
vim.cmd.packadd('blink-cmp-env')
vim.cmd.packadd('blink-cmp-ssh')
@ -103,6 +104,7 @@ return {
},
sources = {
default = {
'lazydev',
'git',
'conventional_commits',
'lsp',
@ -142,6 +144,7 @@ return {
name = 'LazyDev',
module = 'lazydev.integrations.blink',
score_offset = 100,
fallbacks = { 'lsp' },
},
env = {
name = 'Env',

View file

@ -83,6 +83,7 @@ return {
after = function()
require('canola').setup({
skip_confirm_for_simple_edits = true,
cleanup_buffers_on_delete = true,
prompt_save_on_select_new_entry = false,
float = { border = 'single' },
view_options = {
@ -152,7 +153,7 @@ return {
{
'barrettruth/pending.nvim',
before = function()
vim.g.pending = { debug = true }
vim.g.pending = { debug = false }
end,
cmd = 'Pending',
keys = { { '<leader>P', '<cmd>Pending<cr>' } },
@ -224,6 +225,7 @@ return {
},
},
platforms = {
kattis = { default_language = 'cpp' },
codeforces = {
enabled_languages = { 'cpp', 'python' },
default_language = 'cpp',
@ -244,6 +246,8 @@ return {
},
},
},
usaco = { default_language = 'cpp' },
codechef = { default_language = 'cpp' },
},
ui = {
picker = 'fzf-lua',
@ -334,6 +338,7 @@ return {
end,
})
vim.g.preview = {
debug = '/tmp/preview.log',
github = true,
typst = { open = { 'sioyek', '--new-instance' } },
plantuml = true,

View file

@ -16,10 +16,6 @@ vim.api.nvim_create_autocmd('VimEnter', {
end,
})
vim.pack.add({
'https://github.com/lewis6991/gitsigns.nvim',
}, { load = function() end })
---@return string
local function file_loc()
local root = vim.trim(vim.fn.system('git rev-parse --show-toplevel'))
@ -230,12 +226,14 @@ return {
before = function()
vim.g.diffs = {
debug = '/tmp/diffs.log',
fugitive = true,
integrations = { fugitive = true },
extra_filetypes = { 'diff' },
hide_prefix = false,
highlights = {
gutter = true,
vim = {
enabled = true,
max_lnes = 500,
},
intra = {
enabled = true,

View file

@ -28,14 +28,6 @@
"rev": "f2634758455cfa52a8acea6f142dcd6271a1bf57",
"src": "https://github.com/monaqa/dial.nvim"
},
"gitsigns.nvim": {
"rev": "9f3c6dd7868bcc116e9c1c1929ce063b978fa519",
"src": "https://github.com/lewis6991/gitsigns.nvim"
},
"gruvbox-material": {
"rev": "790afe9dd085aa04eccd1da3626c5fa05c620e53",
"src": "https://github.com/sainnhe/gruvbox-material"
},
"guard-collection": {
"rev": "edf6c86c06badc972964dadb7fd469022690cbf0",
"src": "https://github.com/nvimdev/guard-collection"
@ -76,10 +68,6 @@
"rev": "b7fde3719340946feb75017ef9d75edebdeb0566",
"src": "https://github.com/echasnovski/mini.pairs"
},
"neogit": {
"rev": "7073f3aafc9030d457838995106784a9d1873b3b",
"src": "https://github.com/NeogitOrg/neogit"
},
"nvim-colorizer.lua": {
"rev": "ae0d66307a5b431c7b633806eb27769334ac5f05",
"src": "https://github.com/catgoose/nvim-colorizer.lua"
@ -100,18 +88,10 @@
"rev": "a0e182ae21fda68c59d1f36c9ed45600aef50311",
"src": "https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
},
"nvim-web-devicons": {
"rev": "737cf6c657898d0c697311d79d361288a1343d50",
"src": "https://github.com/nvim-tree/nvim-web-devicons"
},
"overseer.nvim": {
"rev": "2802c15182dae2de71f9c82e918d7ba850b90c22",
"src": "https://github.com/stevearc/overseer.nvim"
},
"plenary.nvim": {
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
"src": "https://github.com/nvim-lua/plenary.nvim"
},
"treesj": {
"rev": "186084dee5e9c8eec40f6e39481c723dd567cb05",
"src": "https://github.com/Wansmer/treesj"
@ -127,10 +107,6 @@
"vim-sleuth": {
"rev": "be69bff86754b1aa5adcbb527d7fcd1635a84080",
"src": "https://github.com/tpope/vim-sleuth"
},
"vimtex": {
"rev": "95b93a24740f7b89dd8331326b41bdd1337d79f6",
"src": "https://github.com/lervag/vimtex"
}
}
}