diff options
| author | Steven Sojka <Steven.Sojka@tdameritrade.com> | 2020-06-15 07:05:20 -0500 |
|---|---|---|
| committer | Steven Sojka <Steven.Sojka@tdameritrade.com> | 2020-06-15 07:05:20 -0500 |
| commit | 4551b0e1c914f8f0dabdec4010c86c163c08fee2 (patch) | |
| tree | 09f781e5970756fb5a092a37fcbc4274f9664b10 /lua/nvim-treesitter/configs.lua | |
| parent | ac8ae3b1c7b5644f8317cdc88d604cdb558b6296 (diff) | |
| parent | c452d4a91c341a1057b638d520e7cc75999a6b3b (diff) | |
Merge branch 'master' into feat/typescript-queries
* master:
Change regexes in C/C++ highlights
Update C/C++ highlights to new query syntax
Add better highlighting for preprocessor functions in C highlights
Add operators /=,*=,|=,&= to C highlights
Add compound_statement to c queries
Add punctuation.bracket/punctuation.delimiter to C highlights
Make =,~,! operators in C highlights
Add cpp/locals.scm
Add @error highlight to c/highlights.scm
Add C++ highlights.scm
Introduce base languages for queries
Add tree-sitter-regex
feat(queries): allow for user overrides
Update issue templates
Diffstat (limited to 'lua/nvim-treesitter/configs.lua')
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index f79fed00..f7b5ff2c 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -203,6 +203,13 @@ parsers.nix = { } } +parsers.regex = { + install_info = { + url = "https://github.com/tree-sitter/tree-sitter-regex", + files = { "src/parser.c" } + } +} + -- @enable can be true or false -- @disable is a list of languages, only relevant if enable is true -- @keymaps list of user mappings for a given module if relevant |
