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
- Created: 2023-08-18T19:40:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-25T13:32:59.000Z (8 months ago)
- Last Synced: 2024-05-21T13:57:36.520Z (6 months ago)
- Topics: hyprlang, parser, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 127 KB
- Stars: 95
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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" },
})
```