diff options
| author | Elwardi <elwardifadeli@gmail.com> | 2021-12-14 13:45:56 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-08 13:20:52 +0100 |
| commit | 16e77495c45a2e3794af72f09de717f81ea418a2 (patch) | |
| tree | f1a295c58ae112e0d2b28b31558857add5c7472b /lua | |
| parent | Improve Haskell highlighting (diff) | |
| download | nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.tar nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.tar.gz nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.tar.bz2 nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.tar.lz nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.tar.xz nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.tar.zst nvim-treesitter-16e77495c45a2e3794af72f09de717f81ea418a2.zip | |
Add OpenFOAM parser
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index d71655f6c..a2927917f 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -846,6 +846,21 @@ list.rasi = { maintainers = { "@Fymyte" }, } +list.foam = { + install_info = { + url = "https://github.com/FoamScience/tree-sitter-foam", + branch = "master", + files = {"src/parser.c", "src/scanner.cc"}, + generate_requires_npm = true, + }, + maintainers = { "@FoamScience" }, + filetype = "foam", + used_by = {"OpenFOAM"}, + -- Queries might change over time on the grammar's side + -- Otherwise everything runs fine + experimental = true, +} + local M = { list = list, } |
