Home

Awesome

Hardhat.nvim

Plugin to more conveniently/easily interact with hardhat from neovim. These is a WIP, any contributions are welcome and appreciated.

Features

Index

Installation

Install using your preferred package manager. Next code snippet corresponds to lazy.

{
    "TheSnakeWitcher/hardhat.nvim",
    dependencies = {
        "nvim-lua/plenary.nvim",
        "nvim-neotest/neotest",
        "nvim-telescope/telescope.nvim",
        "stevearc/overseer.nvim",
    },
}

Configuration

To use the neotest adapter you will need add it to your neotest config and use hardhat-neovim in your hardhat project .

require("neotest").setup({
    adapters = {
        require("neotest-hardhat"),
    },
})

To use the telescope pickers add the extension to your telescope config.

require("telescope").load_extension("hardhat")

Documentation

License

MIT