ptomato / sublime_autotools

Autotools syntax highlighting for Sublime Text
GNU General Public License v3.0
17 stars 15 forks source link

AC_CONFIG_MACRO_DIRS not highlighted #6

Closed jannick0 closed 5 years ago

jannick0 commented 5 years ago

The macro AC_CONFIG_MACRO_DIRS like in a configure.ac

AC_CONFIG_MACRO_DIRS([m4])

is not highlighted, when using vscode_autotools, a fork of this repo as far as I understand.

I think this is a bug, but I am not really sure where to report it. This here is my first shot for this.

Thanks for your great work!

ptomato commented 5 years ago

Thank you for the report!

Would you be interested in making a pull request to fix it? I think it should be possible to fix it by adding a S? to the place in this giant regex where the similar AC_CONFIG_MACRO_DIR is defined.

jannick0 commented 5 years ago

Would you be interested in making a pull request to fix it? I think it should be possible to fix it by adding a S? to the place in this giant regex where the similar AC_CONFIG_MACRO_DIR is defined.

Done - thanks for pointing me to the regexp slot for the adjustment.