Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tree-sitter-grammars/tree-sitter-hyprlang
hyprlang grammar for tree-sitter
https://github.com/tree-sitter-grammars/tree-sitter-hyprlang
hyprlang parser tree-sitter
Last synced: about 1 month ago
JSON representation
hyprlang grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/tree-sitter-grammars/tree-sitter-hyprlang
- Owner: tree-sitter-grammars
- License: mit
- Created: 2023-08-18T19:40:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-27T06:30:19.000Z (7 months ago)
- Last Synced: 2024-10-29T22:08:47.038Z (3 months ago)
- Topics: hyprlang, parser, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 158 KB
- Stars: 119
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-hyprlang
[hyprlang](https://github.com/hyprwm/hyprlang) grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).
## Neovim
You can install the hyprlang parser in neovim using [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) and use the following code snippet for automatic filetype detection:
```lua
vim.filetype.add({
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
})
```