Feature-probe the `hasAstral` check
MODIFY
lib/buffer-search.js
lib/buffer-search.js
@@ -142,7 +142,7 @@ class BufferSearch {
}
const buffer = this.editor.getBuffer()
- const regex = this.getFindPatternRegex(buffer.hasAstral())
+ const regex = this.getFindPatternRegex(buffer.hasAstral && buffer.hasAstral())
if (regex) {
try {
// TODO - remove this conditional after Atom 1.25 ships

Feature-probe the `hasAstral` check