matsui54 / denops-signature_help

Shows signature help from lsp server.
MIT License
63 stars 9 forks source link
ddc-vim denops

denops-signature_help

Shows signature help from lsp server.

Features

Screenshots

Normal

Configuration

let g:signature_help_config = {
      \ contentsStyle: "full",
      \ viewStyle: "floating"
      \ }

signature_full

Only labels

Configuration

let g:signature_help_config = {
      \ contentsStyle: "labels",
      \ viewStyle: "floating"
      \ }

signature_labelOnly

Only current label

Configuration

let g:signature_help_config = {
      \ contentsStyle: "currentLabel",
      \ viewStyle: "floating"
      \ }

signature_currentLabelOnly

Virtual text style

Configuration

let g:signature_help_config = {
      \ contentsStyle: "remainingLabels",
      \ viewStyle: "virtual"
      \ }

In Neovim,

signature_virtual

In Vim,

signature_virtual_vim

Required

denops.vim

https://github.com/vim-denops/denops.vim

lsp client

vim-lsp or Neovim builtin lsp.

Install

Use your favorite plugin manager.

Configuration

For detail, please see help.

call signature_help#enable()

" if you use with vim-lsp, disable vim-lsp's signature help feature
let g:lsp_signature_help_enabled = 0

TODO