<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-lspconfig/lua/lspconfig/configs/lua_ls.lua, branch docs</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-lspconfig/atom?h=docs</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-lspconfig/atom?h=docs'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/'/>
<updated>2025-11-15T21:32:05Z</updated>
<entry>
<title>docs: add deprecation notice to lua/lspconfig/configs #4189</title>
<updated>2025-11-15T21:32:05Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-11-15T21:32:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=abf6d190f2c06818489c0bd4b926e7e3a06c5e51'/>
<id>urn:sha1:abf6d190f2c06818489c0bd4b926e7e3a06c5e51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: replace vim.loop with vim.uv #3703</title>
<updated>2025-04-10T22:48:31Z</updated>
<author>
<name>Chris Bandy</name>
<email>bandy.chris@gmail.com</email>
</author>
<published>2025-04-10T22:48:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=4ea9083b6d3dff4ddc6da17c51334c3255b7eba5'/>
<id>urn:sha1:4ea9083b6d3dff4ddc6da17c51334c3255b7eba5</id>
<content type='text'>
The former is deprecated in neovim 0.10. Remove the check added in
9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.

See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55</content>
</entry>
<entry>
<title>fix!: remove `lua` as root marker</title>
<updated>2025-02-23T16:43:51Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2025-02-22T19:48:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=b80eb9decfd4f481f3f92b4089e15686551e3276'/>
<id>urn:sha1:b80eb9decfd4f481f3f92b4089e15686551e3276</id>
<content type='text'>
There is no good reason to have it as a root marker and it makes the
configuration super convoluted. It breaks on even basic setups: opening
`src/nvim/generators/hashy.lua` in the neovim repo causes `src/nvim` to
be the root since there's a `lua` folder there. Instead, just make the
root a flat set of markers and let users who look for a more advanced
setup to adjust it in their own configurations.
</content>
</entry>
<entry>
<title>fix(lua_ls): return longest root path</title>
<updated>2025-02-18T15:59:33Z</updated>
<author>
<name>Afiq Nazrie</name>
<email>afnazrie@gmail.com</email>
</author>
<published>2024-12-15T10:31:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=1110787f1b464888c59a044c48c5119d14078044'/>
<id>urn:sha1:1110787f1b464888c59a044c48c5119d14078044</id>
<content type='text'>
This commit doesn't address the case when root path == vim.env.HOME as
the case lack return when it's true (#2110)

Fix #3508
</content>
</entry>
<entry>
<title>docs(lua_ls): don't skip VIMRUNTIME ~/.config/nvim/.luarc.json exists #3603</title>
<updated>2025-02-06T15:06:15Z</updated>
<author>
<name>jyn</name>
<email>github@jyn.dev</email>
</author>
<published>2025-02-06T15:06:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=7c284f44fe7b120cf1e5b63d2b0648c3831c4048'/>
<id>urn:sha1:7c284f44fe7b120cf1e5b63d2b0648c3831c4048</id>
<content type='text'>
.luarc is created by lua-lsp itself (e.g. if you hit "disable diagnostics" in a code action), at which point the lsp will start showing errors that the vim global is undefined after the next restart.</content>
</entry>
<entry>
<title>refactor: deprecate util.find_git_ancestor</title>
<updated>2024-12-14T16:24:12Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-12-13T13:53:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=12d163c5c2b05e85431f2deef5d9d59a8fd8dfc2'/>
<id>urn:sha1:12d163c5c2b05e85431f2deef5d9d59a8fd8dfc2</id>
<content type='text'>
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
</content>
</entry>
<entry>
<title>refactor: replace all instances of vim.uv with vim.loop</title>
<updated>2024-12-02T10:12:18Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-12-01T12:01:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=9b89ba5f158f73779cd58d0bb2783dfb40b28b0e'/>
<id>urn:sha1:9b89ba5f158f73779cd58d0bb2783dfb40b28b0e</id>
<content type='text'>
We still support neovim 0.9 currently, so we can't use vim.uv. Also add
a check so we don't accidentally reintroduce it.
</content>
</entry>
<entry>
<title>fix(lua_ls): when neither lua or git root found, return nil. See #3322 (#3391)</title>
<updated>2024-10-22T10:51:50Z</updated>
<author>
<name>Folke Lemaitre</name>
<email>folke.lemaitre@gmail.com</email>
</author>
<published>2024-10-22T10:51:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=0d62a16429dba5fded93a076237079b81527e8f3'/>
<id>urn:sha1:0d62a16429dba5fded93a076237079b81527e8f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs(lua_ls): hint about personal config #3381</title>
<updated>2024-10-18T13:02:46Z</updated>
<author>
<name>Jean-Charles Quillet</name>
<email>jeancharles.quillet@gmail.com</email>
</author>
<published>2024-10-18T13:02:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=3bbd7979b168a8f3749fa9debd7c609f3d02caca'/>
<id>urn:sha1:3bbd7979b168a8f3749fa9debd7c609f3d02caca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: replace deprecated vim.loop with vim.uv</title>
<updated>2024-10-02T10:09:17Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2024-10-02T10:02:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5'/>
<id>urn:sha1:c25b9dd6bddb125b538f3f01cb47b4a6e606f6c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(lua-language-server): root directory pattern #3322</title>
<updated>2024-10-01T14:20:13Z</updated>
<author>
<name>Peter Kling</name>
<email>peter.kling@uni-hamburg.de</email>
</author>
<published>2024-10-01T14:20:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=814f02ed039ec9fce89949aa4306796b4e14daa5'/>
<id>urn:sha1:814f02ed039ec9fce89949aa4306796b4e14daa5</id>
<content type='text'>
Problem:
Looking at the code for root dir detection for `lua_ls`:
https://github.com/neovim/nvim-lspconfig/blob/9bda20fb967075355f253911bc066a8b5a03c77e/lua/lspconfig/server_configurations/lua_ls.lua#L17-L27
I was surprised that finding the git ancestor has lower priority than
the `lua/` subdirectories (which, btw, is not mentioned in docs).

Consider the following directory structure:

    HOME/
    ├─ workspaces/
    │  ├─ lua/
    │  ├─ python/
    │  ├─ work/
    │  │  ├─ SomeProjectWithLuaFiles/
    │  │  │  ├─ .git/

The `lua/` and `python/` directories contain some miscellaneous
language-specific projects I sometimes work on. The project directory
under work/ also contains some lua files. I expected the `.git` directory
in the project to ensure that the project root dir is correctly detected
to be `…/SomeProjectWithLuaFiles`. But since the [search for the `lua/`
subdirectory](https://github.com/neovim/nvim-lspconfig/blob/9bda20fb967075355f253911bc066a8b5a03c77e/lua/lspconfig/server_configurations/lua_ls.lua#L22)
is done first, my LSP detects `HOME/workspaces/` as the root directory.

Solution:
Search for the git ancestor before looking for the `lua/` subdirectory.
Return the longer root path if both a `.git/` and a `lua/` ancestor are found.
Fixes #3165</content>
</entry>
<entry>
<title>refactor: rename "server_configurations" =&gt; "configs" #3330</title>
<updated>2024-10-01T12:39:12Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-10-01T12:39:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=bedb2a0df105f68a624a49b867f269b6d55a2c89'/>
<id>urn:sha1:bedb2a0df105f68a624a49b867f269b6d55a2c89</id>
<content type='text'>
Problem:
The name `server_configurations` is extremely verbose and irritatingly
formal and dogmatic. This overlong name is a constant nuisance when
reading, writing, and coding.

It's also not even correct: these configurations are just as much
"client" configurations as they are "server" configurations.

Solution:
- Rename to a shorter name.
- Leave placeholder files for any old URLs that link to the old
  location.</content>
</entry>
</feed>
