aboutsummaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/mason.lua
Commit message (Expand)AuthorAgeFilesLines
* Initial commitpablu2026-03-221-0/+4
return {
  "saghen/blink.cmp",
  dependecies = { "rafamadriz/friendly-snippets" },
  version = "1.*",
  ---@module 'blink.cmp'
  ---@type blink.cmp.Config
  opts = {
    keymap = {
      preset = "enter",
      ['<C-k>'] = { 'show_signature', 'hide_signature', 'fallback' },
    },
    appearance = {
      nerd_font_variant = "mono"
    },
    signature = {
      enabled = true
    },
    completion = {
      menu = {
        draw = {
          padding = { 0, 1 }, -- padding only on right side
          components = {
            kind_icon = {
              text = function(ctx) return ' ' .. ctx.kind_icon .. ctx.icon_gap .. ' ' end
            }
          }
        }
      }
    }
  }
}