Skip to content

cabrinha/helm.zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helm.zed

Syntax highlighting for Helm templates using tree-sitter and integration of helm-ls.

Installation

Before the extension is working properly, you have to install the helm-ls and yaml-languages-server with your preferred package manager.

Install this extension via the Zed extension store.

The extension relies on the PATH environment variable and first looks for 'helm_ls', then 'helm-ls'. If neither is available, an error is shown.

Configuration

This is an example of providing configuration for the language server via Zed's settings.json. For full reference of possible values, refer to helm-ls configuration section.

{
  ...
  "lsp": {
    "helm_ls": {
      "settings": {
        "helm-ls": {
          "logLevel": "info",
          "yamlls": {
            "enabled": true
          }
        }
      }
    }
  },
  "file_types": {
    "Helm": [
      "helmfile.yaml",
      "helmfile.yml",
      "Chart.yaml",
      "Chart.yml",
      "Chart.lock",
      "requirements.yaml",
      "requirements.yml",
      "**/templates/**/*.tpl",
      "**/templates/**/*.yaml",
      "**/templates/**/*.yml",
      "**/helmfile.d/**/*.yaml",
      "**/helmfile.d/**/*.yml",
    ],
  },
}

Credits

[https://github.com/ngalaiko/tree-sitter-go-template]

Release Process

Every time the extension is released:

  1. Bump the Version: Update the version number in Cargo.toml and extension.toml.

  2. Update Extension Index: After releasing, update the extension entry in zed-industries/extensions to reflect the new version.

This ensures users always have access to the newest version.

About

Zed extension for helm template syntax

Resources

License

Stars

24 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors