emacs/var/elfeed/db/data/69/692aa4f1a8b5325ee0b837af9ec06f4ba4bfff51
2022-01-03 12:49:32 -06:00

1 line
1.6 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Firstly doom emacs is great and God bless hlissner. But there&#39;s one issue I&#39;ve not yet been able to solve. </p> <p>In doom emacs, there is a feature that highlights all the occurrences of the term under the cursor. This same mode, I believe, in the event of the cursor being on a string, it highlights the entire string. But this really slows the app down and makes the editing process really annoying in the case of long strings. </p> <p><a href="https://imgur.com/a/Lj32GJP">Example</a></p> <p>In the above link, I am trying to edit a graphql schema which is a multi line string. And the entire string being highlighted every moment makes it really laggy and nearly impossible to edit. </p> <p>So my question is how do I turn of this under-the-cursor highlighting feature in doom emacs? Thanks</p> <p>PS: I have googled for this but I couldn&#39;t find te solution to this exact problem. Most of the solutions were to disable the hl-line mode which I don&#39;t have a problem with.</p> <p>Edit: I have updated the question to clarify that although my problem is with string highlighting, the mode in question has a more general highlight behaviour as explained above. Thanks <a href="/u/7890yuiop">u/7890yuiop</a> for pointing it out.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/SADbMaj7"> /u/SADbMaj7 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rg6qc5/how_to_disable_string_highlighting_in_doom_emacs/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/rg6qc5/how_to_disable_string_highlighting_in_doom_emacs/">[comments]</a></span>