From 7c5a4632c4cfcb513e9ff20815a7781c464fb9d0 Mon Sep 17 00:00:00 2001 From: David Lysenko Date: Wed, 6 Nov 2024 18:09:38 +0100 Subject: feat(runescript): add parser and queries (#7305) --- 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 a0ed0b427..871cd4458 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -21,6 +21,7 @@ for ft, lang in pairs { mysql = "sql", sbt = "scala", neomuttrc = "muttrc", + clientscript = "runescript", --- short-hand list from https://github.com/helix-editor/helix/blob/master/languages.toml rs = "rust", ex = "elixir", @@ -1948,6 +1949,14 @@ list.ruby = { maintainers = { "@TravonteD" }, } +list.runescript = { + install_info = { + url = "https://github.com/2004Scape/tree-sitter-runescript", + files = { "src/parser.c", "src/scanner.c" }, + }, + maintainers = { "@2004Scape" }, +} + list.rust = { install_info = { url = "https://github.com/tree-sitter/tree-sitter-rust", -- cgit v1.2.3-70-g09d2