"in" keyword is not being recognized
jameskolce opened this issue · 3 comments
If it isn't too much trouble, please do. I don't use the logic statements in Pug much, so I'll bet there are issues hiding in there, and my elisp-fu is still a bit young where major modes are concerned.
Sure, I’m on it right now! I made some changes and it's already working but we have this:
;; Clear after : or selectors
("[[:alnum:]_)]\\(?::\\s-+[^ ]+\\|\\s-+\\)\\([^\n]*\\)"
(beginning-of-line) nil
(1 nil t)))
And it resets the highlighting of everything after a keyword (both Pug keywords and HTML tags), so I have to change it to match stuff only after HTML tags. Still trying to figure out how to do that. I tried with the pug-tags-re
but it didn't work out. I think I'm close though, so I'll let you know.
I'm basically moving things around, I just started using emacs the past week lol.
By the way, I'm cleaning up the file to make it easier to read, I'll send a pull request soon.