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 treesitter
https://github.com/tree-sitter-grammars/tree-sitter-hyprlang
hyprland-config hyprlang nvim-treesitter treesitter
Last synced: about 1 month ago
JSON representation
hyprlang grammar for treesitter
- Host: GitHub
- URL: https://github.com/tree-sitter-grammars/tree-sitter-hyprlang
- Owner: tree-sitter-grammars
- Created: 2023-08-18T19:40:14.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-10T15:05:08.000Z (5 months ago)
- Last Synced: 2024-02-11T15:55:24.899Z (5 months ago)
- Topics: hyprland-config, hyprlang, nvim-treesitter, treesitter
- Language: JavaScript
- Homepage:
- Size: 122 KB
- Stars: 70
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-stars - tree-sitter-hyprlang - sitter | tree-sitter-grammars | 103 | (JavaScript)
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 = { [".*/hyprland%.conf"] = "hyprlang" },
})
```