0

Is there a way to change a Coc settings from script? Extension options are normally stored in the coc-settings.json file. If you want to toggle a specific setting it is slow to open the file, edit and save. Preferable I would like to be able to map a key to an extension setting.

fannheyward
  • 18,599
  • 12
  • 71
  • 109
johsa
  • 21
  • 2

2 Answers2

0

You can change the configurations by coc#config, for example:

call coc#config('signature', {'preferShownAbove': v:false})
fannheyward
  • 18,599
  • 12
  • 71
  • 109