Skip to content

teppix/elm-toolbox.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

elm-toolbox.nvim

Warning

This is a personal plugin under active development. Features may change without notice.

Neovim plugin that provides Telescope pickers for top-level Elm definitions. It filters LSP document and workspace symbols to only show symbols starting at column 1, giving you a clean overview of your Elm module's public API.

Requirements

Installation

Using lazy.nvim:

{
    "teppix/elm-toolbox.nvim",
    dependencies = { "nvim-telescope/telescope.nvim" },
    opts = {},
}

Keymaps

The plugin does not set any keymaps. Example using lazy.nvim:

{
    "teppix/elm-toolbox.nvim",
    dependencies = { "nvim-telescope/telescope.nvim" },
    opts = {},
    keys = {
        { "gO", function() require("elm-toolbox").document_symbols() end, desc = "Elm document symbols" },
        { "gW", function() require("elm-toolbox").workspace_symbols() end, desc = "Elm workspace symbols" },
    },
}

Telescope extension

The plugin registers as a Telescope extension:

:Telescope elm_toolbox document_symbols
:Telescope elm_toolbox workspace_symbols

About

Personal helpers for working with elm code in neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages