diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md index 3fa4621d5..a3aabea78 100644 --- a/SUPPORTED_LANGUAGES.md +++ b/SUPPORTED_LANGUAGES.md @@ -281,6 +281,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka [swift](https://github.com/alex-pinkus/tree-sitter-swift) | unstable | `HFIJL` | | @alex-pinkus [sxhkdrc](https://github.com/RaafatTurki/tree-sitter-sxhkdrc) | unstable | `HF J ` | | @RaafatTurki [systemtap](https://github.com/ok-ryoko/tree-sitter-systemtap) | unstable | `HF JL` | | @ok-ryoko +[systemverilog](https://github.com/gmlarumbe/tree-sitter-systemverilog) | unstable | `HF J ` | | @zhangwwpeng [t32](https://gitlab.com/xasc/tree-sitter-t32) | unstable | `HFIJL` | | @xasc [tablegen](https://github.com/tree-sitter-grammars/tree-sitter-tablegen) | unstable | `HFIJL` | | @amaanq [tact](https://github.com/tact-lang/tree-sitter-tact) | unstable | `HFIJL` | | @novusnota @@ -312,7 +313,6 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka [v](https://github.com/vlang/v-analyzer) | unstable | `HFIJL` | | @kkharji, @amaanq [vala](https://github.com/vala-lang/tree-sitter-vala) | unstable | `HF J ` | | @Prince781 [vento](https://github.com/ventojs/tree-sitter-vento) | unstable | `H  J ` | | @wrapperup, @oscarotero -[verilog](https://github.com/gmlarumbe/tree-sitter-systemverilog) | unstable | `HF J ` | | @zhangwwpeng [vhdl](https://github.com/jpt13653903/tree-sitter-vhdl) | unstable | `HF J ` | | @jpt13653903 [vhs](https://github.com/charmbracelet/tree-sitter-vhs) | unstable | `H  J ` | | @caarlos0 [vim](https://github.com/tree-sitter-grammars/tree-sitter-vim) | unstable | `HF JL` | | @clason diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 591fcf25e..3cc89a884 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -2215,6 +2215,14 @@ return { maintainers = { '@ok-ryoko' }, tier = 2, }, + systemverilog = { + install_info = { + revision = 'a412f4a00a6e56c65f519117969c926c35e80ce4', + url = 'https://github.com/gmlarumbe/tree-sitter-systemverilog', + }, + maintainers = { '@zhangwwpeng' }, + tier = 2, + }, t32 = { install_info = { revision = '15f0032f3eadf95988293338e883c095fd5936f6', @@ -2473,14 +2481,6 @@ return { maintainers = { '@wrapperup', '@oscarotero' }, tier = 2, }, - verilog = { - install_info = { - revision = 'ba3c1e305caf948f718293c86c6018a82ed5043e', - url = 'https://github.com/gmlarumbe/tree-sitter-systemverilog', - }, - maintainers = { '@zhangwwpeng' }, - tier = 2, - }, vhdl = { install_info = { revision = 'eacafa5d612fdea1d12332fe0f83e089e5571cf3', diff --git a/plugin/filetypes.lua b/plugin/filetypes.lua index fdfaefe30..ecddea292 100644 --- a/plugin/filetypes.lua +++ b/plugin/filetypes.lua @@ -44,6 +44,7 @@ local filetypes = { ssh_config = { 'sshconfig' }, starlark = { 'bzl' }, surface = { 'sface' }, + systemverilog = { 'verilog' }, t32 = { 'trace32' }, tcl = { 'expect' }, terraform = { 'terraform-vars' }, @@ -56,7 +57,6 @@ local filetypes = { udev = { 'udevrules' }, uxntal = { 'tal', 'uxn' }, v = { 'vlang' }, - verilog = { 'systemverilog' }, vhs = { 'tape' }, xml = { 'xsd', 'xslt', 'svg' }, xresources = { 'xdefaults' }, diff --git a/runtime/queries/verilog/folds.scm b/runtime/queries/systemverilog/folds.scm similarity index 100% rename from runtime/queries/verilog/folds.scm rename to runtime/queries/systemverilog/folds.scm diff --git a/runtime/queries/verilog/highlights.scm b/runtime/queries/systemverilog/highlights.scm similarity index 100% rename from runtime/queries/verilog/highlights.scm rename to runtime/queries/systemverilog/highlights.scm diff --git a/runtime/queries/verilog/injections.scm b/runtime/queries/systemverilog/injections.scm similarity index 100% rename from runtime/queries/verilog/injections.scm rename to runtime/queries/systemverilog/injections.scm