Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkbriar/hcl-ts-mode
Emacs major mode for HCL based on tree-sitter.
https://github.com/arkbriar/hcl-ts-mode
Last synced: 8 days ago
JSON representation
Emacs major mode for HCL based on tree-sitter.
- Host: GitHub
- URL: https://github.com/arkbriar/hcl-ts-mode
- Owner: arkbriar
- License: gpl-3.0
- Created: 2023-11-16T21:27:19.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-11-28T08:32:48.000Z (12 months ago)
- Last Synced: 2023-11-28T09:34:55.871Z (12 months ago)
- Language: Emacs Lisp
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hcl-ts-mode
`hcl-ts-mode` provides a [tree-sitter](https://github.com/tree-sitter/tree-sitter) based major mode for [HCL structured configuration language](https://github.com/hashicorp/hcl). Requires Emacs >= 29.
## Installation
Run `M-x treesit-install-language-grammar` to install the [HCL parser](https://github.com/MichaHoffmann/tree-sitter-hcl).
Download the file and add the following configuration to init.el file:
```elisp
(load-path "hcl-ts-mode.el")
```Or install with [straight.el](https://github.com/radian-software/straight.el):
```elisp
(use-package hcl-ts-mode
:straight (hcl-ts-mode
:type git
:host github
:repo "arkbriar/hcl-ts-mode"))
```## License
[GPLv3](LICENSE)