supermaven-inc / supermaven-nvim

The official Neovim plugin for Supermaven
https://supermaven.com/
MIT License
279 stars 16 forks source link

feat(#36): add toggle to enable/disable suggestions #40

Closed kirstus closed 1 month ago

kirstus commented 1 month ago

Description

This PR adds the ability to toggle suggestions on and off through a keymap, and the option to always start neovim with suggestions disabled.

Fixes #36

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

I have tested it on my machine and it works as expected, behaving the same way as the VS Code extension does. The only difference being that on this plugin the toggle is local to each instance of neovim, and on VS Code the toggle is done globally across all windows.

Configuration:

Checklist

sm-victorw commented 1 month ago

41 provides this functionality and exposes it as an api which seems to offer more flexibility