Compare commits

..

2 Commits

Author SHA1 Message Date
6af119073f add diffview 2025-10-21 20:31:31 +09:00
9bd0c15301 fix: blink.cmp path resolution 2025-10-19 12:10:23 +09:00
4 changed files with 23 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ call s:h('StatusLineNC', s:gray_7, s:gray_2, [s:attrs.italic])
" call s:h('StatusLineTerm', s:none, s:bglighter, [s:attrs.bold])
" call s:h('StatusLineTermNC', s:none, s:bglight)
call s:h('WildMenu', s:none, s:gray_7)
call s:h('Cursor', s:black, s:mauve)
call s:h('Cursor', s:white, s:burgundy)
call s:h('CursorLine', s:none, s:gray_1)
call s:h('CursorColumn', s:none, s:gray_1)
call s:h('CursorLineNr', s:yellow, s:none)

View File

@@ -6,6 +6,7 @@
"blink.nvim": { "branch": "main", "commit": "16a597e89cf2ee6215a392c5bc5a945477015534" },
"blink.pairs": { "branch": "main", "commit": "d8bf802cca951f0a3b72ddeed21bc5a1d5353f65" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"fzf-lua": { "branch": "main", "commit": "d6e899e8dfdaf47bf849c0875ca3ca0e5a0e0d12" },
"gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" },

View File

@@ -56,6 +56,20 @@ return {
-- elsewhere in your config, without redefining it, due to `opts_extend`
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
providers = {
path = {
module = 'blink.cmp.sources.path',
score_offset = 3,
fallbacks = { 'buffer' },
opts = {
trailing_slash = true,
label_trailing_slash = true,
get_cwd = function(context) return vim.fn.expand(('#%d:p:h'):format(context.bufnr)) end,
show_hidden_files_by_default = true,
ignore_root_slash = true,
}
}
},
},
-- (Default) Rust fuzzy matcher for typo resistance and significantly better performance

7
lua/plugins/diffview.lua Normal file
View File

@@ -0,0 +1,7 @@
return {
"sindrets/diffview.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
keys = {
},
}