fix: fix auto completion and snippets fee5173f
Steve · 2026-04-03 20:18 1 file(s) · +7 −2
nvim/lua/core/plugins.lua +7 −2
69 69
vim.schedule(function()
70 70
  vim.pack.add({
71 71
    "https://github.com/christoomey/vim-tmux-navigator",
72 +
    "https://github.com/rafamadriz/friendly-snippets",
72 73
  })
73 74
74 75
  require("mini.comment").setup({
99 100
vim.api.nvim_create_autocmd('InsertEnter', { once = true, callback = function()
100 101
  require("mini.completion").setup({
101 102
    mappings = {
102 -
      scroll_down = '<C-j>',
103 -
      scroll_up = '<C-k>',
103 +
      scroll_down = '',
104 +
      scroll_up = '',
104 105
    },
105 106
  })
106 107
107 108
  local gen_loader = require('mini.snippets').gen_loader
108 109
  require('mini.snippets').setup({
109 110
    snippets = {
111 +
      gen_loader.from_runtime("snippets"),
110 112
      gen_loader.from_lang(),
113 +
    },
114 +
    mappings = {
115 +
      expand = '',
111 116
    },
112 117
  })
113 118
  MiniSnippets.start_lsp_server()