Skip to content

typed-rocks/witt-neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Witt - What Is The Type in Neovim

Installation

Using Lazy.nvim

Add the following to your Neovim configuration:

    {
        "typed-rocks/witt-neovim",
        config = function()
            require("witt")
        end
    },

Usage

Use it like you would in a typescript-playground. Just add a comment on the line below your type and point it to your type:

type YourType = A | B | C;
//    ^? 

This will then show the result of your Type like tsserver would do it when hovering.

All options

Tsw rt=[bun|node|deno] show_variables=[true|false] show_order=[true|false]

Defaults:

Tsw rt=node show_variables=false show_order=false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages