nvim-config icon indicating copy to clipboard operation
nvim-config copied to clipboard

inlay hints

Open jdhao opened this issue 3 years ago • 0 comments

Inlay hints from LSP can show the parameter type as virtual text in the code line to help the user better understand the code. Currently, nvim's support for this is incomplete, i.e., ext mark can only show the virtual text after the line.

  1. inlay hints in nvim: https://github.com/neovim/neovim/issues/18086
  2. Neovim PR for this (not ready): https://github.com/neovim/neovim/pull/9496
  3. vim supports inlay hints via text prop (vim's version of virtual text): https://github.com/vim/vim/issues/7553
  4. coc.nvim supports inlay hints: https://github.com/neoclide/coc.nvim/commit/d9967a047394e2365cb9e82b8dae494f9809241c
  5. vim-lsp supports inlay hints in this PR: https://github.com/prabirshrestha/vim-lsp/pull/1347

jdhao avatar Aug 26 '22 06:08 jdhao