From 817531ce6f0c7a6236e08aec435e9655e5835afb Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sun, 25 Dec 2022 17:40:05 +0100 Subject: parsers: add wgsl_bevy This adds an extension of tree-sitter-wgsl that understands [Bevy's](https://bevyengine.org/) preprocessor directives. --- lua/nvim-treesitter/parsers.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 6bd94f93b..0194f776c 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1183,6 +1183,15 @@ list.wgsl = { filetype = "wgsl", } +list.wgsl_bevy = { + install_info = { + url = "https://github.com/theHamsta/tree-sitter-wgsl-bevy", + files = { "src/parser.c" }, + generate_requires_npm = true, + }, + maintainers = { "@theHamsta" }, +} + list.m68k = { install_info = { url = "https://github.com/grahambates/tree-sitter-m68k", -- cgit v1.2.3-70-g09d2