3

I installed coc.nvim, vim-snippets and ultisnips for my snippets in my Vim (gVim on Windows). I don't know the meaning of [LS] , [B] , m, S and [S] in this picture.

enter image description here

This picture shows part of my snippets in vim.

2
  • "Language Server"?
    – romainl
    Commented Feb 28, 2023 at 9:06
  • I think yes, it's related . Commented Mar 1, 2023 at 13:07

1 Answer 1

3

I believe it provides you hint about the source of the suggestion:

  • [A] the word is used in this buffer
  • [B] the word is used in another buffer
  • [F] the suggestion comes from the file system
  • [S] the suggestion comes from the snippets list
  • [LS] the suggestion is provided by the Language Server
  • ...

You can get the full list of sources using the following command:

:CocList sources

More information in the Coc documentation

For Language Server suggestions you get an additional information about the type of the suggestion:

  • M Module
  • S Snippet
  • f function
  • v value
  • m method
  • ...
1
  • 1
    Thanks, your answer is perfect (: Commented Mar 1, 2023 at 3:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.