From 0572657d4dba9b5c1108adfd4ecacc52a04917b5 Mon Sep 17 00:00:00 2001 From: Matthias Q <35303817+matthias-Q@users.noreply.github.com> Date: Wed, 1 Mar 2023 21:21:11 +0100 Subject: feat: add prql (#4393) * feat: add prql * highlights(prql): null as constant.builtin * highlights(prql): add missing kwd, update queries * highlights(prql): remove redundant queries * highlights(prql): make `->` a delimiter * highlights(prql): instructions to `@method.call` --- lua/nvim-treesitter/parsers.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 743f0f3e5..d0b933779 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1086,6 +1086,16 @@ list.proto = { filetype = "proto", } +list.prql = { + install_info = { + url = "https://github.com/PRQL/tree-sitter-prql", + branch = "main", + files = { "src/parser.c" }, + }, + maintainers = { "@matthias-Q" }, + filetype = "prql", +} + list.pug = { install_info = { url = "https://github.com/zealot128/tree-sitter-pug", -- cgit v1.2.3-70-g09d2