Skip to content

qvalentin/helm-ls.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nvim plugin for helm-ls

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.

Features

  • Filetypes for Helm

  • experimental: Overwrite templates with their current values using virtual text (See Demos)

  • experimental: Show hints highlighting the effect of nindent and indent functions (See Demos)

Installing

Using lazy

{
    "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.

Requirments

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

Configuration

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,
  },
}

Demos

361241380-900c5083-d53c-45be-b6d5-0a56c8d04b97.mp4

demo for indent hints

About

neovim lua plugin for helm-ls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •