nvim

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

blink-cmp.lua (599B)


      1 return {
      2 	{
      3 		"saghen/blink.cmp",
      4 		version = "1.*",
      5 		---@module 'blink.cmp'
      6 		---@type blink.cmp.Configopts
      7 		event = { "InsertEnter" },
      8 		opts = {
      9 			keymap = { preset = "super-tab" },
     10 			appearance = {
     11 				nerd_font_variant = "mono",
     12 			},
     13 			completion = { documentation = { auto_show = true } },
     14 			sources = {
     15 				default = { "lsp", "path",  "buffer" },
     16 			},
     17 			fuzzy = {
     18 				-- versionを指定してないとバイナリが特定できずLuaにfallbackするwarningが表示される
     19 				implementation = "prefer_rust_with_warning",
     20 			},
     21 		},
     22 		opts_extend = { "sources.default" },
     23 	},
     24 }