A neovim lua plugin for Helm adding additional features using helm-ls. The plugin can be used as an alternative to towolf/vim-helm for neovim.
The plugin is in early development.
-
Filetypes for Helm
-
experimental: Overwrite templates with their current values using virtual text (See Demos)
-
experimental: Show hints highlighting the effect of
nindent
andindent
functions (See Demos)
{
"qvalentin/helm-ls.nvim",
ft = "helm",
opts = {
-- leave emtpy or see below
},
}
If you are not using lazy make sure to call require("helm-ls").setup()
in your lua config.
The plugin requires helm-ls and the helm tree-sitter grammar for the additional features.
Install the helm tree-sitter grammar using TSInstall
after installing the nvim-treesitter plugin.
:TSInstall helm
Default config:
{
conceal_templates = {
-- enable the replacement of templates with virtual text of their current values
enabled = true, -- this might change to false in the future
},
indent_hints = {
-- enable hints for indent and nindent functions
enabled = true,
-- show the hints only for the line the cursor is on
only_for_current_line = true,
},
}