alemuller / tree-sitter-make

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$$ side effects

minusf opened this issue · comments

Consider the following snippet:

DEV = $$([[ "${PROJECT_ENV}" == "production" ]] && echo "" || echo "_dev")

DB_NAME ?= ${PROJECT}${DEV}

########## comment

highlighting results:

Screenshot 2022-08-24 at 16 03 49

After commenting out the DEV line comment will have the correct color:

Screenshot 2022-08-24 at 16 04 37