<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="315143" data-post-id="315143">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="linusdm" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/linusdm/120/30659_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  linusdm
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>A question regarding nvim-neotest in LazyVim:</p>
<p>I’m really liking neotest, but I can’t seem to get “Run All Test Files” working (<a href="https://www.lazyvim.org/extras/test/core#neotest-1" rel="noopener nofollow ugc">mapped to</a> <code>require("neotest").run.run(vim.loop.cwd()</code> by default in LazyVim). It seems to run all tests from the root, which also includes stuff in <code>/deps</code> and <code>_build</code>, which doens’t work. My fix is to explicitly pass <code>"test"</code> as the root folder into the run command. But maybe I’m missing something obvious here. Does triggering this keymapping fail in every elixir project right now?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="315143" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/72">Post #71</a>
	                </div>
	            </div>
              <div id="likers-container-315143" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="315143"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #71"></div>
  </section>
</div>
    <div class="postbit" id="315404" data-post-id="315404">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="georgeguimaraes" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/georgeguimaraes/120/19267_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  georgeguimaraes
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="linusdm" data-post="72" data-topic="46310">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/linusdm/48/30659_2.png" class="avatar"> linusdm:</div>
<blockquote>
<p>Does triggering this keymapping fail in every elixir project right now?</p>
</blockquote>
</aside>
<p>Yes, I think so. I guess you could open up an issue on neotest-elixir. Or maybe we can get a workaround in the setup for it directly in neotest.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="315404" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/73">Post #72</a>
	                </div>
	            </div>
              <div id="likers-container-315404" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="315404"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #72"></div>
  </section>
</div>
    <div class="postbit" id="324528" data-post-id="324528">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dimitarvp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/120/38664_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dimitarvp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>The prime LunarVim maintainer admitted to moving to AstroNvim and not maintaining LunarVim much (posted 2024-MAR-31): <a href="https://github.com/LunarVim/LunarVim/discussions/4518#discussioncomment-8963843" class="inline-onebox" rel="noopener nofollow ugc">Release policy · LunarVim/LunarVim · Discussion #4518 · GitHub</a></p>
<p>I’ll be moving to AstroNvim as well then. Or LazyVim.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="324528" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/74">Post #73</a>
	                </div>
	            </div>
              <div id="likers-container-324528" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="324528"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #73"></div>
  </section>
</div>
    <div class="postbit" id="325054" data-post-id="325054">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="c4lliope" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/c4lliope/120/39759_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  c4lliope
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>A Neovim one-liner helping me use a guess-and-check spec cycle, employing <a href="https://hexdocs.pm/mneme" class="inline-onebox" rel="noopener nofollow ugc">Mneme v0.10.2 — Documentation</a></p>
<aside class="quote quote-modified" data-post="44" data-topic="54012">
  <div class="title">
    <div class="quote-controls"></div>
    <img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/c4lliope/48/39759_2.png" class="avatar">
    <div class="quote-title__text-content">
      <a href="https://forum.elixirforum.com/t/mneme-snapshot-testing-tool-for-the-busy-programmer/54012/44" rel="nofollow">Mneme - Snapshot testing tool for the busy programmer</a> <a class="badge-category__wrapper " href="/c/news/announcing/159" rel="nofollow"><span data-category-id="159" style="--category-badge-color: #d2407f; --category-badge-text-color: #FFFFFF; --parent-category-badge-color: #d2407f;" data-parent-category-id="158" data-drop-close="true" class="badge-category --style-square --has-parent"><span class="badge-category__name">Announcing</span></span></a>
    </div>
  </div>
  <blockquote>
    Rigged up an incredibly quick spec cycle, alongside <a href="http://neovim.io" rel="noopener nofollow ugc">neovim.io</a>, <a href="https://nushell.sh" rel="noopener nofollow ugc">nushell.sh</a> , and <a href="https://zellij.dev" rel="noopener nofollow ugc">zellij.dev</a> - 
map &lt;Leader&gt;sa :wall \| !zellij run -f -- nu -e "nd mix test; zellij action toggle-floating-panes; zellij action write 10; exit";&lt;CR&gt;

(or is this called a “guess-and-check” cycle?) 
This command could be used as-is in other forks of vim. 
To use alongside bash, replace each ; using &amp;&amp;. 
I use a test module as <a class="mention" href="/u/zachallaun" rel="nofollow">@zachallaun</a> recommends: 
defmodule SampleTest do
  use ExUnit.Case, async: true
  use Mneme, a…
  </blockquote>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="325054" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/75">Post #74</a>
	                </div>
	            </div>
              <div id="likers-container-325054" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="325054"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #74"></div>
  </section>
</div>
    <div class="postbit" id="325088" data-post-id="325088">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hubertlepicki" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hubertlepicki/120/6822_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hubertlepicki
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>yeah and it probably makes sense to move to something else already. My set up has been a few times broken by new builds of Neovim, the lunarvim eventually caught up but not without a significant delay.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="325088" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/76">Post #75</a>
	                </div>
	            </div>
              <div id="likers-container-325088" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="325088"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #75"></div>
  </section>
</div>
    <div class="postbit" id="325095" data-post-id="325095">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dimitarvp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/120/38664_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dimitarvp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Oh absolutely, in fact all this drama of mine started with me asking myself “why hasn’t LunarVim gotten a major release in a year now?” about a week ago and I then went ahead to dig up info, leading me to the GitHub discussion linked above.</p>
<p>I am 99% migrated to AstroNvim at this point and I like it much more. Only some small details and customizations on Golang and Rust LSP / post-processing tooling remains, everything else is covered and tested.</p>
<p>As an example: I have two separate formatters enabled on Golang and it leads to them both stepping on each others’ toes and weirdly split only <em>some</em> function calls (not even all) into this:</p>
<pre data-code-wrap="go"><code class="lang-go">doStuff(
  firstArg,
  secondArg
)
</code></pre>
<p>…which it really shouldn’t do because I only wish line splitting if the line goes above 100 characters. But I’ll fix these idiosyncrasies pretty soon.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="325095" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/77">Post #76</a>
	                </div>
	            </div>
              <div id="likers-container-325095" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="325095"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #76"></div>
  </section>
</div>
    <div class="postbit" id="327207" data-post-id="327207">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="cjbottaro" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/cjbottaro/120/1469_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  cjbottaro
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>After years of being happy and productive with VS Code, I’m back to experimenting with (neo)vim as my editor because I hate myself… <img src="https://forum.elixirforum.com/images/emoji/apple/joy.png?v=15" title=":joy:" class="emoji" alt=":joy:" loading="lazy" width="20" height="20"> I kid, I kid. I used to use vim back in the mid 2000’s, I remember using Janus.</p>
<p>Anyway, I wish I read this entire thread first instead of just the first post cuz I wasted time on LunarVim. I’m on AstroNvim now, but am having problems…</p>
<ul>
<li><code>do&lt;enter&gt;</code> does not autocomplete an <code>end</code></li>
<li>Indentation only works sometimes</li>
<li>Sometimes starting a tuple <code>{</code> will automatically unindent</li>
<li><code>fn -&gt;&lt;enter&gt;</code> does not autocomplete an <code>end</code></li>
<li>neo-tree’s root only gets set properly ~20% of the time, but only when shown via toggle (<code>&lt;leader&gt;e</code>)</li>
</ul>
<p>My AstroNvim is pretty vanilla, I just added elixir-ls and heex. Any tips?</p>
<p>Edit: what color theme do yall use? Dracula looks great in VS Code but leaves some to be desired in neovim for some reason.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="327207" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/78">Post #77</a>
	                </div>
	            </div>
              <div id="likers-container-327207" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="327207"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #77"></div>
  </section>
</div>
    <div class="postbit" id="327213" data-post-id="327213">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="sodapopcan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sodapopcan/120/34668_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  sodapopcan
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>To get <code>end</code> you likely have to add <a href="https://github.com/RRethy/nvim-treesitter-endwise" rel="noopener nofollow ugc">treesitter endwise</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="327213" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/79">Post #78</a>
	                </div>
	            </div>
              <div id="likers-container-327213" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="327213"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #78"></div>
  </section>
</div>
    <div class="postbit" id="327222" data-post-id="327222">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dimitarvp" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/120/38664_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dimitarvp
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a href="https://github.com/dimitarvp/astronvim-config" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/dimitarvp/astronvim-config</a></p>
<p>Knock yourself out, no promises though. I am still working on the config but it’s like 95% there for me.</p>
<p>Note: I give zero fraks about <code>do&lt;Enter&gt;</code> autocompleting <code>end</code>. <img src="https://forum.elixirforum.com/images/emoji/apple/person_shrugging.png?v=15" title=":person_shrugging:" class="emoji" alt=":person_shrugging:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="327222" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/80">Post #79</a>
	                </div>
	            </div>
              <div id="likers-container-327222" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="327222"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #79"></div>
  </section>
</div>
    <div class="postbit" id="327225" data-post-id="327225">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="sodapopcan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sodapopcan/120/34668_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  sodapopcan
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="dimitarvp" data-post="80" data-topic="46310">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/48/38664_2.png" class="avatar"> dimitarvp:</div>
<blockquote>
<p>I give zero fraks about <code>do&lt;Enter&gt;</code> autocompleting <code>end</code>. <img src="https://forum.elixirforum.com/images/emoji/apple/person_shrugging.png?v=15" title=":person_shrugging:" class="emoji" alt=":person_shrugging:" loading="lazy" width="20" height="20"></p>
</blockquote>
</aside>
<p><img src="https://forum.elixirforum.com/images/emoji/apple/astonished.png?v=15" title=":astonished:" class="emoji" alt=":astonished:" loading="lazy" width="20" height="20"> Imagine all the things you could have done with your life instead of typing <code>end</code>!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="327225" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/neovim-elixir-setup-configuration-from-scratch-guide/46310/81">Post #80</a>
	                </div>
	            </div>
              <div id="likers-container-327225" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="327225"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #80"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/46310/load_more?page=9">Load more posts (34 remaining)</a>
</div></template></turbo-stream>