TerminalFi / LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.
623 stars 25 forks source link

TAB key still accepts completion when other key is chosen in config. #142

Closed ardabro closed 3 months ago

ardabro commented 3 months ago

I redefined the accept_completion key to backslash and it works, but sadly it still accepts with TAB.

{
    "keys": [
        "\\"                  
    ],
    "command": "copilot_accept_completion",
    "context": [
        {
            "key": "copilot.is_on_completion"
        }
    ]
},
TerminalFi commented 3 months ago

I've just merged https://github.com/TerminalFi/LSP-copilot/pull/140

It'll take a bit to propagate to package control. Should solve this

jfcherng commented 3 months ago

Now you can set commit_completion_on_tab to false in LSP-copilot's plugin settings to disable the completion using "Tab".