Neovim plugin for the Dang language, providing Tree-sitter highlighting and LSP support.
- Neovim >= 0.10
- nvim-treesitter
dangbinary in your$PATH(for LSP)
{
"https://github.com/vito/dang.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
config = function()
require("dang").setup()
end,
}Clone into your Neovim packages directory and call require("dang").setup().
- Registers the
dangfiletype for*.dangfiles - Installs the Tree-sitter grammar and queries (highlights, folds, indents, locals)
- Starts the Dang LSP (
dang --lsp) automatically for.dangfiles
require("dang").setup({
lsp = true, -- set to false to disable LSP
})