tree-sitter-make
tree-sitter-make copied to clipboard
See https://github.com/nvim-treesitter/nvim-treesitter/pull/4886/files#r1213698656
example: ```make FOO=$(foreach bar,$(BARS), $(foreach baz,$(BAZS),foo-$(bar)-$(baz))) ```
I was doing some work that needs the ability to inspect individual arguments, so I added that to the grammar. This is my first foray into tree-sitter, so I'll happily...
As documented here: https://www.gnu.org/software/make/manual/make.html#Multi_002dLine In particular, the following will not be highlighted, so I assume it's just not understood. ``` define ABC XYZ = Hello World endef ```
Given the following input: ``` OK = hello OK = $(shell echo 'hello world') BAD = $(shell echo 'hello (world)') ``` I get the following highlighting:  This doesn't appear...
Consider the following snippet: ``` DEV = $$([[ "${PROJECT_ENV}" == "production" ]] && echo "" || echo "_dev") DB_NAME ?= ${PROJECT}${DEV} ########## comment ``` highlighting results: After commenting out the...
I'm a pkgsrc developer, where I deal with NetBSD's flavor of make and our own make implementation. How would one approach extending this existing tree-sitter to support that, without creating...
in a `Makefile` containing a rule with a recipe, followed by anyhing: ``` target: prerequisite recipe_line_1 recipe_line_2 # whatever ``` From the point in which you start collecting `recipe_line` lines,...
Hello, If we have a comment and a break line, the line below doesn't get comment highlight.  Thank you