My neovim config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add blink

+48 -35
+32 -8
init.lua
··· 3 3 { src = "https://github.com/stevearc/oil.nvim" }, 4 4 { src = "https://github.com/nvim-mini/mini.icons" }, 5 5 { src = "https://github.com/nvim-mini/mini.pick" }, 6 - { src = "https://github.com/nvim-mini/mini.completion" }, 6 + 7 + { src = "https://github.com/saghen/blink.cmp", version = "v1.9.1" }, 8 + { src = "https://github.com/rafamadriz/friendly-snippets" }, 7 9 8 10 { src = "https://github.com/smoka7/hop.nvim" }, 9 11 { src = "https://github.com/folke/trouble.nvim" }, ··· 92 94 end 93 95 94 96 require("mini.pick").setup({}) 95 - require("mini.completion").setup({ 96 - delay = { completion = 10000000, info = 100, signature = 50 }, 97 - lsp_completion = { 98 - source_func = "omnifunc", 99 - auto_setup = true, 100 - }, 101 - }) 102 97 103 98 vim.keymap.set("i", "<Tab>", function() 104 99 if vim.fn.pumvisible() == 1 then ··· 115 110 treesitter = { "lua", "typescript", "javascript", "tsx", "html", "css" }, 116 111 } 117 112 113 + local setup_blink = function() 114 + require("blink.cmp").setup({ 115 + keymap = { preset = "default" }, 116 + 117 + appearance = { 118 + -- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font' 119 + -- Adjusts spacing to ensure icons are aligned 120 + nerd_font_variant = "mono", 121 + }, 122 + 123 + -- (Default) Only show the documentation popup when manually triggered 124 + completion = { documentation = { auto_show = true } }, 125 + 126 + -- Default list of enabled providers defined so that you can extend it 127 + -- elsewhere in your config, without redefining it, due to `opts_extend` 128 + sources = { 129 + default = { "lsp", "path", "snippets", "buffer" }, 130 + }, 131 + 132 + -- (Default) Rust fuzzy matcher for typo resistance and significantly better performance 133 + -- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation, 134 + -- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"` 135 + -- 136 + -- See the fuzzy documentation for more information 137 + fuzzy = { implementation = "prefer_rust" }, 138 + }) 139 + end 140 + 118 141 local setup_conform = function() 119 142 require("conform").setup({ 120 143 format_on_save = { timeout_ms = 500, lsp_fallback = true }, ··· 199 222 setup_treesitter() 200 223 setup_conform() 201 224 setup_typescript_tools() 225 + setup_blink() 202 226 keymaps()
+16 -27
nvim-pack-lock.json
··· 1 1 { 2 2 "plugins": { 3 - "LuaSnip": { 4 - "rev": "dae4f5aaa3574bd0c2b9dd20fb9542a02c10471c", 5 - "src": "https://github.com/L3MON4D3/LuaSnip" 3 + "blink.cmp": { 4 + "rev": "4b18c32adef2898f95cdef6192cbd5796c1a332d", 5 + "src": "https://github.com/saghen/blink.cmp", 6 + "version": "'v1.9.1'" 6 7 }, 7 8 "conform.nvim": { 8 9 "rev": "c2526f1cde528a66e086ab1668e996d162c75f4f", 9 10 "src": "https://github.com/stevearc/conform.nvim" 11 + }, 12 + "friendly-snippets": { 13 + "rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9", 14 + "src": "https://github.com/rafamadriz/friendly-snippets" 10 15 }, 11 16 "hop.nvim": { 12 - "rev": "1a1eceafe54b5081eae4cb91c723abd1d450f34b", 13 - "src": "https://github.com/phaazon/hop.nvim" 17 + "rev": "707049feaca9ae65abb3696eff9aefc7879e66aa", 18 + "src": "https://github.com/smoka7/hop.nvim" 14 19 }, 15 20 "mason-lspconfig.nvim": { 16 - "rev": "4823a251e7578a835bb979c37df390fca692ba39", 21 + "rev": "ae609525ddf01c153c39305730b1791800ffe4fe", 17 22 "src": "https://github.com/mason-org/mason-lspconfig.nvim.git" 18 23 }, 19 24 "mason.nvim": { 20 25 "rev": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65", 21 26 "src": "https://github.com/mason-org/mason.nvim.git" 22 27 }, 23 - "mini.completion": { 24 - "rev": "4d451f82f193f6751719935a63d16ccb79a76e0b", 25 - "src": "https://github.com/nvim-mini/mini.completion" 26 - }, 27 28 "mini.icons": { 28 29 "rev": "efc85e42262cd0c9e1fdbf806c25cb0be6de115c", 29 - "src": "https://github.com/echasnovski/mini.icons" 30 + "src": "https://github.com/nvim-mini/mini.icons" 30 31 }, 31 32 "mini.pick": { 32 - "rev": "7c0a674f620ddc701903b887b2dade836b23ea79", 33 + "rev": "4ad37ade984e69c43227b82ccdca5a92a22886de", 33 34 "src": "https://github.com/nvim-mini/mini.pick" 34 - }, 35 - "mini.snippets": { 36 - "rev": "b4065ca6b33e4df2897672d3bb760cfc93f4390a", 37 - "src": "https://github.com/nvim-mini/mini.snippets" 38 - }, 39 - "nerdcommenter": { 40 - "rev": "a462bbda1e26f44fb3d3eb9d9d1c6a07aa98e665", 41 - "src": "https://github.com/scrooloose/nerdcommenter" 42 35 }, 43 36 "nvim-emmet": { 44 37 "rev": "cde4fb2968704aae5c18b7f8a9bc2508767bb78d", 45 38 "src": "https://github.com/olrtg/nvim-emmet" 46 39 }, 47 40 "nvim-lspconfig": { 48 - "rev": "dec357ee48ff7e2e5b76898fd7c67b61a627d3ac", 49 - "src": "https://github.com/neovim/nvim-lspconfig" 50 - }, 51 - "nvim-treesitter": { 52 - "rev": "f8bbc3177d929dc86e272c41cc15219f0a7aa1ac", 53 - "src": "https://github.com/nvim-treesitter/nvim-treesitter" 41 + "rev": "66fd02ad1c7ea31616d3ca678fa04e6d0b360824", 42 + "src": "https://github.com/neovim/nvim-lspconfig.git" 54 43 }, 55 44 "oil.nvim": { 56 45 "rev": "f55b25e493a7df76371cfadd0ded5004cb9cd48a", ··· 73 62 "src": "https://github.com/pmizio/typescript-tools.nvim" 74 63 }, 75 64 "vague.nvim": { 76 - "rev": "fcc283576764474ccfbbcca240797d5d7f4d8a78", 65 + "rev": "c1ab4d4891ff3a27deba6a80222d895ac8ffb2e5", 77 66 "src": "https://github.com/vague-theme/vague.nvim" 78 67 } 79 68 }