some stuff

This commit is contained in:
Barrett Ruth 2026-02-22 23:03:39 -05:00
parent 5b08815316
commit eedcb569a0
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
6 changed files with 11 additions and 19 deletions

View file

@ -12,18 +12,8 @@ vim.diagnostic.config({
jump = { float = true }, jump = { float = true },
}) })
local function prepare_capabilities()
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = false
local ok, blink = pcall(require, 'blink.cmp')
return ok and blink.get_lsp_capabilities(capabilities) or capabilities
end
vim.lsp.config('*', { vim.lsp.config('*', {
on_attach = lsp.on_attach, on_attach = lsp.on_attach,
capabilities = prepare_capabilities(),
flags = { debounce_text_changes = 0 }, flags = { debounce_text_changes = 0 },
}) })

View file

@ -1,8 +1,7 @@
{ {
"blink-cmp-env": { "branch": "main", "commit": "99af62c1f9aa46005e8f50ad4ccee581946546ca" }, "blink-cmp-env": { "branch": "main", "commit": "99af62c1f9aa46005e8f50ad4ccee581946546ca" },
"blink-cmp-git": { "branch": "master", "commit": "10783593af764424018a95e75df6ad5a8b66fe07" }, "blink-cmp-git": { "branch": "master", "commit": "10783593af764424018a95e75df6ad5a8b66fe07" },
"blink-cmp-sshconfig": { "branch": "main", "commit": "91bf9bd80d53d2b6521cffb01da138ef6403d625" }, "blink.cmp": { "branch": "main", "commit": "b4d379393882561f9055abe780342ee00f02c573" },
"blink.cmp": { "branch": "main", "commit": "4b18c32adef2898f95cdef6192cbd5796c1a332d" },
"dial.nvim": { "branch": "master", "commit": "f2634758455cfa52a8acea6f142dcd6271a1bf57" }, "dial.nvim": { "branch": "master", "commit": "f2634758455cfa52a8acea6f142dcd6271a1bf57" },
"fzf-lua": { "branch": "main", "commit": "9004cbb4c065a32b690e909c49903967b45301eb" }, "fzf-lua": { "branch": "main", "commit": "9004cbb4c065a32b690e909c49903967b45301eb" },
"gitsigns.nvim": { "branch": "main", "commit": "9f3c6dd7868bcc116e9c1c1929ce063b978fa519" }, "gitsigns.nvim": { "branch": "main", "commit": "9f3c6dd7868bcc116e9c1c1929ce063b978fa519" },
@ -14,13 +13,12 @@
"mini.bufremove": { "branch": "main", "commit": "ee69f823f84508c556127a5882760d9783692023" }, "mini.bufremove": { "branch": "main", "commit": "ee69f823f84508c556127a5882760d9783692023" },
"mini.misc": { "branch": "main", "commit": "de8947231c29012271722651aa07f6749c41d1ed" }, "mini.misc": { "branch": "main", "commit": "de8947231c29012271722651aa07f6749c41d1ed" },
"mini.pairs": { "branch": "main", "commit": "b7fde3719340946feb75017ef9d75edebdeb0566" }, "mini.pairs": { "branch": "main", "commit": "b7fde3719340946feb75017ef9d75edebdeb0566" },
"nvim-colorizer.lua": { "branch": "master", "commit": "338409dd8a6ed74767bad3eb5269f1b903ffb3cf" }, "nvim-colorizer.lua": { "branch": "master", "commit": "fe9eed4d48f530fc9ffe4d785a936a49fa344e1a" },
"nvim-lspconfig": { "branch": "master", "commit": "5a855bcfec7973767a1a472335684bbd71d2fa2b" }, "nvim-lspconfig": { "branch": "master", "commit": "5a855bcfec7973767a1a472335684bbd71d2fa2b" },
"nvim-surround": { "branch": "main", "commit": "1098d7b3c34adcfa7feb3289ee434529abd4afd1" }, "nvim-surround": { "branch": "main", "commit": "2800277e75eda268df2bfab6ebc53e2635455318" },
"nvim-treesitter": { "branch": "main", "commit": "dc42c209f3820bdfaae0956f15de29689aa6b451" }, "nvim-treesitter": { "branch": "main", "commit": "dc42c209f3820bdfaae0956f15de29689aa6b451" },
"nvim-treesitter-textobjects": { "branch": "main", "commit": "a0e182ae21fda68c59d1f36c9ed45600aef50311" }, "nvim-treesitter-textobjects": { "branch": "main", "commit": "a0e182ae21fda68c59d1f36c9ed45600aef50311" },
"nvim-vtsls": { "branch": "main", "commit": "0b5f73c9e50ce95842ea07bb3f05c7d66d87d14a" }, "nvim-vtsls": { "branch": "main", "commit": "0b5f73c9e50ce95842ea07bb3f05c7d66d87d14a" },
"oil-git.nvim": { "branch": "main", "commit": "c99db7b1dd8dd500c3ec530dc07000dfbeb6e080" },
"overseer.nvim": { "branch": "master", "commit": "392093e610333c0aea89bf43de7362e25783eada" }, "overseer.nvim": { "branch": "master", "commit": "392093e610333c0aea89bf43de7362e25783eada" },
"treesj": { "branch": "main", "commit": "186084dee5e9c8eec40f6e39481c723dd567cb05" }, "treesj": { "branch": "main", "commit": "186084dee5e9c8eec40f6e39481c723dd567cb05" },
"vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" }, "vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" },

View file

@ -1,6 +1,6 @@
return { return {
'saghen/blink.cmp', 'saghen/blink.cmp',
version = '1.*', build = 'nix run .#build-plugin',
dependencies = { dependencies = {
'Kaiser-Yang/blink-cmp-git', 'Kaiser-Yang/blink-cmp-git',
'folke/lazydev.nvim', 'folke/lazydev.nvim',
@ -20,6 +20,7 @@ return {
require('blink.cmp').setup(opts) require('blink.cmp').setup(opts)
end, end,
opts = { opts = {
fuzzy = { implementation = 'prefer_rust_with_warning' },
keymap = { keymap = {
['<c-p>'] = { 'select_prev' }, ['<c-p>'] = { 'select_prev' },
['<c-n>'] = { 'show', 'select_next' }, ['<c-n>'] = { 'show', 'select_next' },

View file

@ -228,10 +228,9 @@ return {
{ {
'malewicz1337/oil-git.nvim', 'malewicz1337/oil-git.nvim',
dir = '~/dev/oil-git.nvim', dir = '~/dev/oil-git.nvim',
ft = 'oil',
opts = { opts = {
symbol_position = 'signcolumn', symbol_position = 'signcolumn',
can_use_signcolumn = function() return 'yes' end, can_use_signcolumn = function() return 'auto' end,
show_file_highlights = false, show_file_highlights = false,
show_directory_highlights = false, show_directory_highlights = false,
symbols = { symbols = {

View file

@ -44,10 +44,11 @@ return {
}, },
{ {
'barrettruth/nonicons.nvim', 'barrettruth/nonicons.nvim',
dir = '~/dev/nonicons.nvim',
enabled = false, enabled = false,
lazy = false, lazy = false,
dependencies = { dependencies = {
{ 'nvim-tree/nvim-web-devicons', enabled = false, }, 'nvim-tree/nvim-web-devicons',
}, },
}, },
{ {
@ -294,6 +295,9 @@ return {
skip_confirm_for_simple_edits = true, skip_confirm_for_simple_edits = true,
prompt_save_on_select_new_entry = false, prompt_save_on_select_new_entry = false,
float = { border = 'single' }, float = { border = 'single' },
win_options = {
signcolumn = 'auto',
},
view_options = { view_options = {
is_hidden_file = function(name, bufnr) is_hidden_file = function(name, bufnr)
local dir = require("oil").get_current_dir(bufnr) local dir = require("oil").get_current_dir(bufnr)