https://github.com/valdezfomar/tree-sitter-desktop
Desktop Entry Specification grammar for tree-sitter
https://github.com/valdezfomar/tree-sitter-desktop
desktop parser tree-sitter
Last synced: 4 months ago
JSON representation
Desktop Entry Specification grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/valdezfomar/tree-sitter-desktop
- Owner: ValdezFOmar
- License: mit
- Created: 2024-10-22T05:11:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-07-20T03:35:37.000Z (12 months ago)
- Last Synced: 2025-07-20T05:44:30.393Z (12 months ago)
- Topics: desktop, parser, tree-sitter
- Language: Tree-sitter Query
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-desktop
[![CI][ci]](https://github.com/ValdezFOmar/tree-sitter-desktop/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
A tree-sitter parser for `.desktop` and `.directory` files, defined by
the [Desktop Entry Specification][specification].
## References
- [File format][file-format] as defined by the [Desktop Entry Specification][specification]
## Editors
### Neovim
You can install this parser using [`nvim-treesitter`][nvim-treesitter],
run `TSInstall desktop`.
[ci]: https://img.shields.io/github/actions/workflow/status/ValdezFOmar/tree-sitter-desktop/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-desktop?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-desktop?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-desktop?logo=pypi&logoColor=ffd242
[specification]: https://specifications.freedesktop.org/desktop-entry-spec/latest/index.html
[file-format]: https://specifications.freedesktop.org/desktop-entry-spec/latest/basic-format.html
[nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter