summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/supermaven.lua
blob: 1df52f24a8ea6b6dff36a1c0e0c5d870b6f33669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
return {
    -- 'supermaven-inc/supermaven-nvim',
    -- event = 'VeryLazy',
    -- keys = {
    --     {
    --         '<leader>sm',
    --         function()
    --             local api = require('supermaven-nvim.api')
    --             if api.is_running() then
    --                 Notify('Enabled Supermaven', 'Supermaven')
    --                 api.stop()
    --             else
    --                 Notify('Disabled Supermaven', 'Supermaven')
    --                 api.start()
    --             end
    --         end,
    --         desc = '[S]upermaven [T]oggle',
    --     },
    -- },
    -- opts = {
    --     keymaps = {
    --         accept_suggestion = '<C-y>',
    --         clear_suggestion = '<C-]>',
    --         accept_word = nil,
    --     },
    --     ignore_filetypes = {
    --         ['markdown'] = true,
    --         ['help'] = true,
    --         ['NeogitStatus'] = true,
    --         ['NeogitPopup'] = true,
    --         ['NeogitCommitMessage'] = true,
    --     },
    --     color = {
    --         suggestion_color = '#ffffff',
    --         cterm = 244,
    --     },
    --     log_level = 'info', -- set to "off" to disable logging completely
    --     disable_inline_completion = false, -- disables inline completion for use with cmp
    --     disable_keymaps = false,
    -- },
}