0

Image of the code and the format: "hello, world" beside printf

Does anyone know how to disable this?

user19223163
  • 1
  • 1
  • 1
  • 1
    This feature is called *inlay hints*. As suggested in [the readme of `coc-clangd` plugin](https://github.com/clangd/coc-clangd), setting `clangd.inlayHints.enable` to `false` in your config file turns the feature off. – kotatsuyaki May 29 '22 at 03:05
  • Thanks for informing me. How would I go about disabling this, when I go to the coc-settings.json file, it is empty. – user19223163 May 29 '22 at 13:33
  • Thank you so much, it works. That's also a great suggestion. Thank you for your time. – user19223163 May 29 '22 at 13:44

1 Answers1

2

put

  "inlayHint.enable": false,

in your coc configuration file or use :CocCommand document.toggleInlayHint

You can read more about the feature (which used to be in coc-clangd but has now been moved to coc.nvim) by reading the help pages in neovim, assuming the coc is installed: :help coc-inlayHint

crutux
  • 97
  • 1
  • 1
  • 8