aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/highlighter.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2024-03-10 19:58:35 -0400
committerJames McCoy <jamessan@jamessan.com>2024-03-10 19:58:35 -0400
commit74b2f6c3d95647ad07f56bf9ed6865a8db3dfb97 (patch)
tree85fb7cb923e9fb2f88547bf19f1fe18f8594dc34 /runtime/lua/vim/treesitter/highlighter.lua
parentb465ede2c7a4fb39cf84682d645a3acd08631010 (diff)
downloadrneovim-74b2f6c3d95647ad07f56bf9ed6865a8db3dfb97.tar.gz
rneovim-74b2f6c3d95647ad07f56bf9ed6865a8db3dfb97.tar.bz2
rneovim-74b2f6c3d95647ad07f56bf9ed6865a8db3dfb97.zip
fix: ignore non-existent properties during header generation
`get_target_property(<var> ...)` sets `<var>` to `<var>-NOTFOUND` if the property doesn't exist for the given target. Detect this situation to avoid adding various `-Dprop-NOTFOUND` and `-Iprop-NOTFOUND` to the command-line when generating the headers.
Diffstat (limited to 'runtime/lua/vim/treesitter/highlighter.lua')
0 files changed, 0 insertions, 0 deletions