/virtual-types.nvim

Neovim plugin that shows type annotations as virtual text

Primary LanguageLuaMIT LicenseMIT

virtual-types.nvim

This plugin shows type annotations as virtual text.

Most of the credit goes to jubnzv, who wrote the initial version of the plugin here.

Screenshot

screenshot

Prerequisites

Installation

Using packer.nvim:

use("kylechui/virtual-types.nvim")

And add the following line in your LSP configuration:

require("lspconfig").ocamllsp.setup({
    on_attach = function(client)
        require("virtualtypes").on_attach(client)
    end,
})