You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.4 KiB

4 weeks ago
4 weeks ago
4 weeks ago
  1. return {
  2. 'saghen/blink.cmp',
  3. lazy = false,
  4. dependencies = {
  5. 'rafamadriz/friendly-snippets',
  6. 'mikavilpas/blink-ripgrep.nvim',
  7. { 'kristijanhusak/vim-dadbod-completion', ft = { 'sql', 'mysql', 'plsql' }, lazy = true },
  8. },
  9. version = '1.*',
  10. opts = {
  11. completion = {
  12. menu = {
  13. auto_show = true,
  14. winblend = vim.o.pumblend,
  15. draw = {
  16. columns = {
  17. { "label", "label_description", gap = 1 },
  18. { "kind_icon", "kind", gap = 1 }
  19. },
  20. }
  21. },
  22. documentation = { auto_show = true, auto_show_delay_ms = 500 },
  23. ghost_text = { enabled = false },
  24. },
  25. appearance = {
  26. use_nvim_cmp_as_default = true,
  27. nerd_font_variant = 'mono'
  28. },
  29. sources = {
  30. default = {
  31. 'lsp',
  32. 'path',
  33. 'snippets',
  34. 'buffer',
  35. 'dadbod',
  36. },
  37. providers = {
  38. dadbod = { name = "Dadbod", module = "vim_dadbod_completion.blink" },
  39. },
  40. },
  41. signature = {
  42. enabled = true,
  43. window = {
  44. winblend = vim.o.pumblend,
  45. },
  46. },
  47. },
  48. opts_extend = { "sources.default" }
  49. }