plugins.lsp.servers.ccls.initOptions.client.snippetSupport

client.snippetSupport and completion.placeholder (default: true) decide the completion style.

  • client.snippetSupport: false => foo

  • client.snippetSupport: true

    • completion.placeholder: false => foo($1)$0 bar<$1>()$0
    • completion.placeholder: true => foo($\{1:int a}, ${2:int b})$0 bar<${1:typename T}>()$0`

If the client announces that it does not support snippets, client.snippetSupport will be forced to false.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: