<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-lspconfig/lsp/rust_analyzer.lua, branch dependabot/github_actions/leafo/gh-actions-lua-13</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-lspconfig/atom/lsp/rust_analyzer.lua?h=dependabot%2Fgithub_actions%2Fleafo%2Fgh-actions-lua-13</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-lspconfig/atom/lsp/rust_analyzer.lua?h=dependabot%2Fgithub_actions%2Fleafo%2Fgh-actions-lua-13'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/'/>
<updated>2026-03-13T15:39:05Z</updated>
<entry>
<title>docs: apply auto-generated annotations to LSP configs</title>
<updated>2026-03-13T15:39:05Z</updated>
<author>
<name>Yi Ming</name>
<email>ofseed@foxmail.com</email>
</author>
<published>2026-03-13T15:39:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=89fd0361b33d5bf452c345e89ea7099ac88ab607'/>
<id>urn:sha1:89fd0361b33d5bf452c345e89ea7099ac88ab607</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(rust_analyzer): recognize std lib sources in sysroot #4338</title>
<updated>2026-03-09T19:47:59Z</updated>
<author>
<name>Jan Palus</name>
<email>jpalus@fastmail.com</email>
</author>
<published>2026-03-09T19:47:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=13619055422e0ec169889354cc3ef2d1a8c95bc1'/>
<id>urn:sha1:13619055422e0ec169889354cc3ef2d1a8c95bc1</id>
<content type='text'>
Problem:
System installed sources of Rust standard library are not detected as
library sources.

Solution:
Add sources location to paths used for library check. See also:
https://rust-analyzer.github.io/book/configuration.html#cargo.sysrootSrc</content>
</entry>
<entry>
<title>fix(rust_analyzer): pass environment in rust-analyzer.runSingle #4333</title>
<updated>2026-03-06T15:35:47Z</updated>
<author>
<name>XeroOl</name>
<email>xerool@protonmail.com</email>
</author>
<published>2026-03-06T15:35:47Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=bca65dd7748333b2c1b1df66de4c6fff32712b78'/>
<id>urn:sha1:bca65dd7748333b2c1b1df66de4c6fff32712b78</id>
<content type='text'>
When rust-analyzer wants to invoke cargo (eg, when the user uses code lenses),
it sends a Command to nvim. This Command contains environment info that we're
currently ignoring (ie, a value of RUSTC_TOOLCHAIN). With this change, we
forward the environment variables that rust-analyzer wants to set to the
spawned process.</content>
</entry>
<entry>
<title>feat(rust_analyzer): enable codelens (#4210)</title>
<updated>2025-11-22T07:18:30Z</updated>
<author>
<name>Mike J McGuirk</name>
<email>62523234+mikejmcguirk@users.noreply.github.com</email>
</author>
<published>2025-11-22T07:18:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=784531c83cdab93ed7a2ec10f0111ca564b1c18a'/>
<id>urn:sha1:784531c83cdab93ed7a2ec10f0111ca564b1c18a</id>
<content type='text'>
Problem: rust_analyzer does not contain the configs for codelens by default

Solution: Add codelens config</content>
</entry>
<entry>
<title> feat(rust-analyzer): out-of-the-box support for codelens #4165</title>
<updated>2025-10-29T13:09:50Z</updated>
<author>
<name>Dubakula Sai Venkata Chaitanya</name>
<email>chaitanyarp4@gmail.com</email>
</author>
<published>2025-10-29T13:09:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=1c3da72569cca0d372c2a344a83f6272a493f2cb'/>
<id>urn:sha1:1c3da72569cca0d372c2a344a83f6272a493f2cb</id>
<content type='text'>
Codelens requires a bit of special configuration to work on rust-analyzer as described here:
neovim/neovim#34353 (comment)</content>
</entry>
<entry>
<title>chore: add type annotation for configs</title>
<updated>2025-08-19T02:39:23Z</updated>
<author>
<name>Igor</name>
<email>igorlfs@ufmg.br</email>
</author>
<published>2025-08-19T02:39:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07'/>
<id>urn:sha1:030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(rust_analyzer): update config to 0.11+</title>
<updated>2025-08-11T18:45:12Z</updated>
<author>
<name>Dimitris Dimitropoulos</name>
<email>dimitris.dimitropoulos00@gmail.com</email>
</author>
<published>2025-08-11T18:37:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=04cf16be8499ca820867aaffc7d6d3db31975c96'/>
<id>urn:sha1:04cf16be8499ca820867aaffc7d6d3db31975c96</id>
<content type='text'>
- Call request as method
- Silence wrong diagnostic
</content>
</entry>
<entry>
<title>fix: some `on_attach` callbacks may act on the wrong buffer #3916</title>
<updated>2025-06-20T13:07:25Z</updated>
<author>
<name>Dmytro Meleshko</name>
<email>dmytro.meleshko@gmail.com</email>
</author>
<published>2025-06-20T13:07:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=0112e1f77983141e1453bd37d124302f1c876c46'/>
<id>urn:sha1:0112e1f77983141e1453bd37d124302f1c876c46</id>
<content type='text'>
Problem:
If a server is attached to a non-current buffer by
`vim.lsp.buf_attach_client`, then the Language Server-related
commands may be created in the current (wrong) buffer.

Solution:
Always use the `bufnr` arg provided to `on_attach`.</content>
</entry>
<entry>
<title>fix(configs): eliminate some usages of root_pattern #3820</title>
<updated>2025-05-04T21:11:18Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-05-04T21:11:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=2a6517453feb6f00e3d64bcb4fde61934897f4bd'/>
<id>urn:sha1:2a6517453feb6f00e3d64bcb4fde61934897f4bd</id>
<content type='text'>
Problem:
`root_pattern` is not necessary for non-glob patterns.

Solution:
Replace non-glob cases with `vim.fs.root()`..</content>
</entry>
<entry>
<title>fix(rust_analyzer):  scheduled vim.notify in on_exit of vim.system(#3793)</title>
<updated>2025-04-27T10:15:32Z</updated>
<author>
<name>Steve Walker</name>
<email>65963536+stevalkr@users.noreply.github.com</email>
</author>
<published>2025-04-27T10:15:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=48f4475eb71638b69c984557169dc3826603d37e'/>
<id>urn:sha1:48f4475eb71638b69c984557169dc3826603d37e</id>
<content type='text'>
Fix `E5560: nvim_echo must not be called in a fast event context`</content>
</entry>
<entry>
<title>refactor: deprecate util.validate_bufnr()</title>
<updated>2025-04-23T13:50:22Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-04-23T13:50:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=af34737b3ad94e5fcf03628db7df14cff481bf56'/>
<id>urn:sha1:af34737b3ad94e5fcf03628db7df14cff481bf56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci(lint): deprecate util.path.is_descendant() on Nvim 0.11+ #3766</title>
<updated>2025-04-23T11:48:12Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-04-23T11:48:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=5aa0b750f5179282ef99f04d17ad99d7da93f512'/>
<id>urn:sha1:5aa0b750f5179282ef99f04d17ad99d7da93f512</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: use "Lsp" prefix for config-defined commands</title>
<updated>2025-04-21T16:47:01Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-04-21T16:45:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=d1796795ddcb75dcdf8fc172504ef72fb6e32cb9'/>
<id>urn:sha1:d1796795ddcb75dcdf8fc172504ef72fb6e32cb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: cleanup</title>
<updated>2025-04-18T15:44:38Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-04-18T15:44:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=f8b5cbe6312b568def1f91d747e2cdb8984fdf2e'/>
<id>urn:sha1:f8b5cbe6312b568def1f91d747e2cdb8984fdf2e</id>
<content type='text'>
- brief should live at the top of each file
- fix indentation for some docs
</content>
</entry>
<entry>
<title>fix(rust_analyzer): call on_dir() when reusing client #3736</title>
<updated>2025-04-16T17:29:55Z</updated>
<author>
<name>Tobias Schmitz</name>
<email>tobiasschmitz2001@gmail.com</email>
</author>
<published>2025-04-16T17:29:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=066fbbed7f3428f3565a937c9f718dedee5b5dbe'/>
<id>urn:sha1:066fbbed7f3428f3565a937c9f718dedee5b5dbe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(docs): docgen.lua reads from `lua/*.lua` #3708</title>
<updated>2025-04-13T02:40:01Z</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-04-13T02:40:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=ecb74c22b4a6c41162153f77e73d4ef645fedfa0'/>
<id>urn:sha1:ecb74c22b4a6c41162153f77e73d4ef645fedfa0</id>
<content type='text'>
Problem:
Since configs now live in `lsp/`, the docgen needs to be updated.

Solution:
Read the configs from `lsp/`. Parse the `@brief` docstring to get the
docs.</content>
</entry>
<entry>
<title>feat: migrate to vim.lsp.config #3659</title>
<updated>2025-04-12T22:15:43Z</updated>
<author>
<name>Lorenzo Bellina</name>
<email>59364991+TheRealLorenz@users.noreply.github.com</email>
</author>
<published>2025-04-12T22:15:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=81a570f58b2113cc2d538efae743ad38d6ab564f'/>
<id>urn:sha1:81a570f58b2113cc2d538efae743ad38d6ab564f</id>
<content type='text'>
Problem:
Nvim 0.11 has vim.lsp.config, which mostly replaces the legacy
nvim-lspconfig "framework".

Solution:
Migrate all configs to `lsp/*` variants. The old configs in
`lua/lspconfig/` are "frozen".

The new configs include these changes:
- `commands` field became raw calls to
  `vim.api.nvim_buf_create_user_command` inside `on_attach`.
- `root_dir` became:
  - `root_markers` whenever the file list was simple didn't need to mach `*`
  - if the logic was complicated, or needed to match something like
    '\*.c', it was defined as a vim.lsp.Config `root_dir` callback.
- `on_config_change` became `before_init`. I don't actually know if this
  is the correct approach, but looking around the documentation of
  `nvim-lspconfig` a saw that it was defined as the function that gets
  called as soon as the config have `root_dir`, and so I thought
  `before_init` might be the closest alternative.
- `docs.description` became a luadoc `@brief` docstring.
- `single_file_support = false`?

Co-authored-by: Aliou Diallo &lt;aliou@users.noreply.github.com&gt;
Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;</content>
</entry>
</feed>
