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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="elurker" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  elurker
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for the suggestion - I tried both with and without <code>credo</code>, I think it was always like that for me. It’s strange that there aren’t many reports of this, and the ones from the GH issue you linked seemed to have been resolved by 1.15. I’m just at a loss how to even troubleshoot this further, but will probably file a new issue on GH as next step.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307326" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-307326" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307326"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="307327" data-post-id="307327">
  <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>Have you tried the usual desperate measures like removing the <code>deps</code> and <code>_build</code> directories and fetching deps + compiling from scratch? Removing the <code>.elixir_ls</code> directory as well before opening an editor?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307327" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-307327" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307327"
                     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 #12"></div>
  </section>
</div>
    <div class="postbit" id="307328" data-post-id="307328">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="elurker" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  elurker
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That didn’t seem to help at first, but it did re-create <code>.elixir_ls</code> dir in the parent (!) folder when I re-opened the child application folder using <code>cd &lt;app&gt; &amp;&amp; nvim .</code> (seemingly without restoring nvim session)</p>
<p>And, it looks like I’ve overlooked the obvious - my <code>.formatter.exs</code> was created automatically by Phoenix at the root of the application directory, but there wasn’t one in the parent folder (where <code>.elixir_ls</code> is). I’ve just added this very simple one there:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">[
  inputs: ["*.{heex,ex,exs}"]
]
</code></pre>
<p>and suddenly it no longer adds parenthesis! That said, now the one in the application folder doesn’t seem to apply. So It seems elixir_ls really “wants” to live in the parent folder when used via this Neovim setup. This is not the same behavior as in VS Code, where <code>.elixir_ls</code> is stored in the app folder if it’s opened directly. I might need to dig a bit deeper into that.</p>
<p>Thanks for helping me nail down this issue!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307328" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-307328" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307328"
                     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 #13"></div>
  </section>
</div>
    <div class="postbit" id="307329" data-post-id="307329">
  <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>No worries, I was just flailing about and trying to go through the usual checklist. Glad that helped somewhat.</p>
<p>As far as I remember, Elixir itself wants stuff to be in the root of the project – and if you have an umbrella, that opens the door for such problems that you witnessed. But I’ll let you determine this for yourself, just citing my semi-reliable memories.</p>
<p>FWIW, you can try have multiple copies of the same <code>.formatter.exs</code> in the root dir and the subdirs?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307329" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-307329" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307329"
                     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 #14"></div>
  </section>
</div>
    <div class="postbit" id="307330" data-post-id="307330">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="elurker" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  elurker
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Alas, when I make a verbatim copy of that, Neovim Elixir plugin just complains since it cannot find Ecto and other Elixir dependencies in the parent folder, and all of the paths in <code>.formatter.exs</code> are relative to that folder so they no longer seem to work (unless maybe I prepend <code>**/</code> to all, which I can try).</p>
<p>For posterity, I did find what seems to be the relevant Neovim issue, although the solution hasn’t unfortunately resolved this yet - will keep digging: <a href="https://github.com/LazyVim/LazyVim/issues/1912#issuecomment-1786880134" class="inline-onebox" rel="noopener nofollow ugc">bug: The workspace is automatically replaced with the parent directory · Issue #1912 · LazyVim/LazyVim · GitHub</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="307330" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-307330" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307330"
                     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 #15"></div>
  </section>
</div>
    <div class="postbit" id="307431" data-post-id="307431">
  <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">
								<p>You defintely can and should use nested <code>.formatter.exs</code>. I also have an umbrella app with several apps within.</p>
<p>Here’s my root <code>.formatter.exs</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">[
  inputs: ["mix.exs", "config/*.exs"],
  subdirectories: ["apps/*"]
]

</code></pre>
<p>And in the app that uses Ecto <code>./apps/analytics/.formatter.exs</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  import_deps: [:ecto, :ecto_sql],
  inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
  subdirectories: ["priv/*/migrations"]
]
</code></pre>
<p>And in the phoenix app <code>./apps/analytics_web/.formatter.exs</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">[
  import_deps: [:phoenix],
  plugins: [Phoenix.LiveView.HTMLFormatter],
  inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}"]
]
</code></pre>
<p>You can always generate a new umbrella Phoenix app that will give a boilerplate on how those files are generated.</p>
<aside class="quote no-group quote-modified" data-username="elurker" data-post="16" data-topic="55494">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/e/e68b1a/48.png" class="avatar"> elurker:</div>
<blockquote>
<p>For posterity, I did find what seems to be the relevant Neovim issue, although the solution hasn’t unfortunately resolved this yet - will keep digging: <a href="https://github.com/LazyVim/LazyVim/issues/1912#issuecomment-1786880134" rel="noopener nofollow ugc">bug: The workspace is automatically replaced with the parent directory · Issue #1912 · LazyVim/LazyVim · GitHub </a></p>
</blockquote>
</aside>
<p>This issue is related to LazyVim changing Neovim’s cwd which would cause some weird interactions with neotree, for instance. It would change the file tree from neotree to only display <code>./apps/analytics_web</code> in certain scenarios.</p>
<p>Since you’re using LazyVim, which uses nvim-lspconfig, the actual “directory” for ElixirLs is defined here:</p>
<p><a href="https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/elixirls.lua#L7" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/elixirls.lua#L7</a></p>
<p>I changed that recently to give priority to a <code>.git</code> folder in the root dir, so that you only have one ElixirLS in the entire umbrella app.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307431" data-batch-url="/posts/batch_likers">
                        2
                      </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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-307431" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307431"
                     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 #16"></div>
  </section>
</div>
    <div class="postbit" id="307464" data-post-id="307464">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="elurker" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  elurker
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks <a class="mention" href="/u/georgeguimaraes" rel="nofollow">@georgeguimaraes</a> - yes, and someone else responded in LazyVim discussions re <code>root_dir</code> in ElixirLS config as well.</p>
<p>I wonder if it’s possible to have an umbrella <code>.formatter.exs</code> without an umbrella app - would that look something like this?</p>
<pre data-code-wrap="exs"><code class="lang-exs">[
  subdirectories: ["*"]
]
</code></pre>
<p>I tried that, and when I save a child <code>router.ex</code> for example, <code>elixirls</code> flashes an error saying something like <code>Unable to find formatter for /Users/&lt;user&gt;/code/phoenix-apps/app/lib/app_web/router.ex: "** (Mix.Error) Unknown dependency :ecto_sql given to :import_deps in the formatter configuration. Make sure the dependency is listed in your mix.exs for environment :test and you have run \"mix deps.get\"\n    (mix 1.15.7) lib/mix.ex:577: Mix.raise/2\n    (language_server 0.17.7) lib/language_server/mix_tasks/format.ex:489: anonymous fn/3 in Mix.Tasks.ElixirLSFormat.eval_deps_opts/2\n    (elixir 1.15.7) lib/enum.ex:2510: Enum.\"-reduce/3-lists^foldl/2-0-\"/3\n    (language_server 0.17.7) lib/language_server/mix_tasks/format.ex:488: Mix.Tasks.ElixirLSFormat.eval_deps_opts/2\n    (language_server 0.17.7) lib/language_server/mix_tasks/format.ex:437: anonymous fn/8 in Mix.Tasks.ElixirLSFormat.eval_deps_and_subdirectories/8\n    (language_server 0.17.7) lib/language_server/mix_tasks/format.ex:425: Mix.Tasks.ElixirLSFormat.eval_deps_and_subdirectories/8\n    (language_server 0.17.7) lib/language_server/mix_tasks/format.ex:512: anonymous fn/6 in Mix.Tasks.ElixirLSFormat.eval_subs_opts/7\n    (elixir 1.15.7) lib/enum.ex:1297: anonymous fn/3 in Enum.flat_map_reduce/3\n"</code> (this is despite <code>ecto_sql</code> being present in <code>mix.exs</code> and installed, for the child app)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307464" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-307464" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307464"
                     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 #17"></div>
  </section>
</div>
    <div class="postbit" id="307479" data-post-id="307479">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/dimitarvp" rel="nofollow">@dimitarvp</a> I would love to hear about your nvim setup.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307479" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-307479" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307479"
                     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 #18"></div>
  </section>
</div>
    <div class="postbit" id="307481" data-post-id="307481">
  <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>It’s LunarVim + a few customizations in the <code>init.lua</code> file. Nothing special but works very well.</p>
<p>Can post it if you want it but have in mind that we have other forum users who are much better versed in NeoVim than me.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307481" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-307481" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307481"
                     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 #19"></div>
  </section>
</div>
    <div class="postbit" id="307493" data-post-id="307493">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Ah, OK. I think you’ve mentioned that before, actually.</p>
<p>I’ve considered making the jump over to LunarVim just to get a fresh start… I’ve got an old Vimscript config that I migrated over to NeoVim, but it’s starting to get kinda janky with a bunch of Lua mixed in.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="307493" 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/elixir-formatter-in-neovim-using-coc-nvim-sometimes-adds-parenthesis-around-macros/55494/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-307493" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="307493"
                     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 #20"></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/55494/load_more?page=3">Load more posts (7 remaining)</a>
</div></template></turbo-stream>