Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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" },
})
```