mickeynp / combobulate

Structured Editing and Navigation in Emacs with Tree-Sitter
GNU General Public License v3.0
945 stars 54 forks source link

fix: add combobulate-query-mode support for hideshow minor mode #58

Closed Ziqi-Yang closed 1 year ago

Ziqi-Yang commented 1 year ago

Basically add comment-start and comment-end local variables (their values are stolen from emacs-lisp-mode) to solve the issue that combobulate-query-mode cannot open when hideshow minor mode is enabled.

Steps to reproduce the mentioned issue: enable hs-minor-mode, then use combobulate to query

mickeynp commented 1 year ago

Thanks. I saw your post on reddit, and I've made some changes to the query builder so you can activate arbitrary parsers in buffers combobulate does not know about. (Though you'll still need rules for the language you want.)

Ziqi-Yang commented 1 year ago

Great! Thanks a lot for what you have done so far!