diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2022-10-26 12:58:34 +0300 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-11-18 16:51:08 +0100 |
| commit | 63b6f1f98460666ef5278f1d5795374245114550 (patch) | |
| tree | 132a75e2fcda154eccfd0597830a3adfea909fa0 /lua | |
| parent | sql: update parser and query (#3820) (diff) | |
| download | nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.tar nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.tar.gz nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.tar.bz2 nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.tar.lz nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.tar.xz nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.tar.zst nvim-treesitter-63b6f1f98460666ef5278f1d5795374245114550.zip | |
feat(arduino): separate from cpp
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index e2e521224..2860dee53 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -2,7 +2,6 @@ local api = vim.api local ts = vim.treesitter local filetype_to_parsername = { - arduino = "cpp", javascriptreact = "javascript", ecma = "javascript", jsx = "javascript", @@ -1300,6 +1299,14 @@ list.awk = { }, } +list.arduino = { + install_info = { + url = "https://github.com/ObserverOfTime/tree-sitter-arduino", + files = { "src/parser.c", "src/scanner.cc" }, + }, + maintainers = { "@ObserverOfTime" }, +} + local M = { list = list, filetype_to_parsername = filetype_to_parsername, |
