Currently when company-hy is asked for a prefix it just calls (company-grab-symbol).
If this happens inside the string no meaningful completion can be done and company-hy should return nil.
This PR adds a check for this with (company-in-string-or-comment), thus giving option to other backbends to do their work.
Most notable this allows file completion via company-files inside strings, so
(pd.read-csv "./") ;; will complete files instead of doing nothing
Currently when
company-hy
is asked for aprefix
it just calls(company-grab-symbol)
. If this happens inside the string no meaningful completion can be done andcompany-hy
should returnnil
. This PR adds a check for this with(company-in-string-or-comment)
, thus giving option to other backbends to do their work.Most notable this allows file completion via
company-files
inside strings, so