### Prerequisites * [x] Put an X between the brackets on this line if you have done all of the following: * Reproduced the problem in Safe Mode: <https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode> * Followed all applicable steps in the debugging guide: <https://flight-manual.atom.io/hacking-atom/sections/debugging/> * Checked the FAQs on the message board for common solutions: <https://discuss.atom.io/c/faq> * Checked that your issue isn't already filed: <https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom> * Checked that there is not already an Atom package that provides the described functionality: <https://atom.io/packages> ### Description <!-- Description of the issue --> When HEREDOC is used, if you try to fold a method, it only folds down to the closing heredoc and no further ### Steps to Reproduce 1. Create a function/method 2. Add a heredoc string 3. Attempt to fold the method **Expected behavior:** <!-- What you expect to happen --> The method should fold completele **Actual behavior:** <!-- What actually happens --> The method only folds down to the closing of the (first) heredoc within the function **Reproduces how often:** <!-- What percentage of the time does it reproduce? --> 100% ### Versions <!-- You can get this information from copy and pasting the output of `atom --version` and `apm --version` from the command line. Also, please include the OS and what version of the OS you're running. --> Atom : 1.52.0 Electron: 6.1.12 Chrome : 76.0.3809.146 Node : 12.4.0 ### Additional Information <!-- Any additional information, configuration or data that might be necessary to reproduce the issue. -->
Prerequisites
Description
When HEREDOC is used, if you try to fold a method, it only folds down to the closing heredoc and no further
Steps to Reproduce
Expected behavior:
The method should fold completele
Actual behavior:
The method only folds down to the closing of the (first) heredoc within the function
Reproduces how often:
100%
Versions
Atom : 1.52.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
Additional Information