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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hmm, indeed, <code>nvim-lspconfig</code> doesn’t seem necessary at all. The built-in Neovim configuration you showed is sufficient. However, for me personally, it’s still better to keep using <code>nvim-cmp</code> rather than the built-in omnifunc. <code>nvim-cmp</code> feels faster, but I might be subjective here, I only made a quick comparison. Still, its menu, with colored and grouped items, looks nicer than omnifunc’s.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="371677" 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/113">Post #112</a>
	                </div>
	            </div>
              <div id="likers-container-371677" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="371677"
                     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 #112"></div>
  </section>
</div>
    <div class="postbit" id="372278" data-post-id="372278">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="JEG2" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/JEG2/120/936_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  JEG2
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Designing Elixir Systems with OTP</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’ve finally been experimenting with Neovim.  I’m trying to build my own minimal config for what would make me comfortable.  This thread has been a big help to me in getting past the initial steps and figuring out which plugins were key.  Here’s my attempt to give back a little.</p>
<p>The one thing I didn’t see mentioned in here that I think is really important is the <a href="https://github.com/mason-org/mason.nvim" rel="noopener nofollow ugc">mason.nvim</a> plugin.  This is a plugin that automates the installation of the various LSP servers.  I think this is far superior to doing something like <code>brew install elixir-ls</code>.  If we do that install with Homebrew, we also get a copy of Erlang and a copy of Elixir.  However, most of us are probably managing the languages we want with a tool like asdf.  Given that, you need to take care to ensure that you are always using the executable you think you’re using.  mason.nvim removes that concern because it is going to install the language server using whatever version of Erlang and Elixir that Neovim can see and execute.  You can see <a href="https://github.com/JEG2/dotfiles/blob/5d2e81608c2d82c6ccd3eb9ec75d92261f214b74/config/nvim/lua/plugins/lsp.lua" rel="noopener nofollow ugc">my config</a> using mason.nvim and another plugin to tie it into the LSP plugin.  Note that I am not yet using Neovim’s built-in LSP functionality.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="372278" data-batch-url="/posts/batch_likers">
                        8
                      </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/114">Post #113</a>
	                </div>
	            </div>
              <div id="likers-container-372278" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="372278"
                     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 #113"></div>
  </section>
</div>
    <div class="postbit" id="372300" data-post-id="372300">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mudasobwa" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/120/5298_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mudasobwa
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Cure</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I found it helpful to keep my own version of <code>ElixirLS</code> and git-pull-recompile it once in a while. You’d need to tell your plugin to use it</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">          cmd = "/home/am/Proyectos/Other/elixir-ls/releases/language_server.sh",
          settings = elixirls.settings {
            enableTestLenses = true,
            dialyzerEnabled = true,
            fetchDeps = false,
            suggestSpecs = false,
            autoInsertRequiredAlias = false,
            languageServerOverridePath = "/home/am/Proyectos/Other/elixir-ls/releases",
          }, 
</code></pre>
<p>Gosh, the code markdown here does not allow <code>lua</code>. It’s I’m time-travelled to 1992.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="372300" 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/115">Post #114</a>
	                </div>
	            </div>
              <div id="likers-container-372300" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="372300"
                     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 #114"></div>
  </section>
</div>
    <div class="postbit" id="372363" data-post-id="372363">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Switched to lazyvim distribution about a year ago from chad - very happy with it so far, no complaints</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="372363" 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/116">Post #115</a>
	                </div>
	            </div>
              <div id="likers-container-372363" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="372363"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>