Skip to content

Neovim plugin that shows type annotations as virtual text

License

Notifications You must be signed in to change notification settings

jubnzv/virtual-types.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virtual-types.nvim

This plugin shows type annotations for functions in virtual text using built-in LSP client.

I use it with ocaml-lsp, but it will probably work with other LSP servers that support textDocument/codeLens request.

Screenshot

screenshot

Prerequisites

Installation

Install with plugin manager:

Plug 'jubnzv/virtual-types.nvim'

And add the following line in your LSP configuration:

lua require'nvim_lsp'.ocamllsp.setup{on_attach=require'virtualtypes'.on_attach}

About

Neovim plugin that shows type annotations as virtual text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •