<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-lspconfig/lua/lspconfig/ui/lspinfo.lua, branch v0.1.4</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-lspconfig/atom/lua/lspconfig/ui/lspinfo.lua?h=v0.1.4</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-lspconfig/atom/lua/lspconfig/ui/lspinfo.lua?h=v0.1.4'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/'/>
<updated>2022-12-18T06:47:53Z</updated>
<entry>
<title>fix(lspinfo): safely expand filenames that don't exist on fs (#2320)</title>
<updated>2022-12-18T06:47:53Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-18T06:47:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=973aa14d0992df82ff82f714d978a3eb8d676600'/>
<id>urn:sha1:973aa14d0992df82ff82f714d978a3eb8d676600</id>
<content type='text'>
The filename of a buffer may point to a node on the file system that
does not yet exist. `uv.fs_realpath()` will return nil in these cases,
causing a nil exception later on. The builtin `resolve()` function will
return the provided filename as-is if it does not yet exist.

Alternatively we could stick to libuv APIs.</content>
</entry>
<entry>
<title>feat: support multiple workspaceFolders and show correct root in Lspinfo (#2304)</title>
<updated>2022-12-11T11:25:44Z</updated>
<author>
<name>Raphael</name>
<email>glepnir@neovim.pro</email>
</author>
<published>2022-12-11T11:25:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=6eb24ef9175d1fa3c7a23e115854b1a2d923d386'/>
<id>urn:sha1:6eb24ef9175d1fa3c7a23e115854b1a2d923d386</id>
<content type='text'>
* feat: support multiple workspaceFolders and show correct root in Lspinfo

* fix: add return branch

* fix: convert path before compare

* fix: improve find root dir in LspInfo

* fix: check logic

* fix: remove unnecessary code</content>
</entry>
<entry>
<title>fix: check workspae folders follow nvim version (#2301)</title>
<updated>2022-12-09T11:30:27Z</updated>
<author>
<name>Raphael</name>
<email>glepnir@neovim.pro</email>
</author>
<published>2022-12-09T11:30:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=8a3e5f9add9cd408c7063619c8d612700bf25d4d'/>
<id>urn:sha1:8a3e5f9add9cd408c7063619c8d612700bf25d4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: remove searched for message in lspinfo (#2274)</title>
<updated>2022-12-01T12:18:16Z</updated>
<author>
<name>Raphael</name>
<email>glepnir@neovim.pro</email>
</author>
<published>2022-12-01T12:18:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=cb64ead000d70716cd779ef0409ebc2ce4a464fd'/>
<id>urn:sha1:cb64ead000d70716cd779ef0409ebc2ce4a464fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: check cmd type equals function (#2142)</title>
<updated>2022-09-14T14:48:23Z</updated>
<author>
<name>Raphael</name>
<email>glepnir@neovim.pro</email>
</author>
<published>2022-09-14T14:48:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=51775b12cfbf1b6462c7b13cd020cc09e6767aea'/>
<id>urn:sha1:51775b12cfbf1b6462c7b13cd020cc09e6767aea</id>
<content type='text'>
* fix: check cmd type equals function

* fix: set meg in cmd field when is function

* fix: format with stylua

* fix: remove unused variable

* fix: improve cmd check

* fix: check executable in a table

* fix: improve

* fix: use underline instead of unused param</content>
</entry>
<entry>
<title>fix(lspinfo): nil-check config.get_root_dir (#2137)</title>
<updated>2022-09-14T08:55:32Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-09-14T08:55:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=6947a178741acef867872c367fec7f1ee55f09eb'/>
<id>urn:sha1:6947a178741acef867872c367fec7f1ee55f09eb</id>
<content type='text'>
This is currently causing an error when opening the :LspInfo window
while having a server configuration that doesn't provide a root_dir.
awk_ls is an example of such a config (it only supports single file
mode).</content>
</entry>
<entry>
<title>fix: improve highlight regex (#2131)</title>
<updated>2022-09-12T13:28:20Z</updated>
<author>
<name>Raphael</name>
<email>glepnir@neovim.pro</email>
</author>
<published>2022-09-12T13:28:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=f8b3c240edad68bf549cae6b133cf2cac85554e8'/>
<id>urn:sha1:f8b3c240edad68bf549cae6b133cf2cac85554e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: improve LspInfo (#2081)</title>
<updated>2022-08-26T12:38:35Z</updated>
<author>
<name>Raphael</name>
<email>glepnir@neovim.pro</email>
</author>
<published>2022-08-26T12:38:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=03981bd991fe700c5a870d0a1422812045426781'/>
<id>urn:sha1:03981bd991fe700c5a870d0a1422812045426781</id>
<content type='text'>
* feat: improve LspInfo

* feat: update README for highlight

* fix: wrong typo

* fix: ci failed

* fix: remove unnecessary block

* fix: stylua format

* fix: set default border to none

* fix: update the doc

* fix: define names in if statement

* fix: use default_options to set border

* fix: use available servers list

* fix: fixup

* fix: format by stylua

* fix: use bufdelete event

* fix: format

* fix: add tips

* fix: stylua format

* fix: use wrap

* fix: add 122 to luacheck ignore

* fix: reset the default options

* fix: merge master

* fix: remove unecessary code

* feat: update the highlight group

* feat: update doc for highlight

* fix: remove highlig from README

* fix: remae highlight group in doc</content>
</entry>
<entry>
<title>fix: remove unused variables in `lspinfo.lua` (#1999)</title>
<updated>2022-07-13T22:14:50Z</updated>
<author>
<name>Peter Lithammer</name>
<email>peter.lithammer@gmail.com</email>
</author>
<published>2022-07-13T22:14:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=b084313340adc55e9414862c35585acfa7a10db3'/>
<id>urn:sha1:b084313340adc55e9414862c35585acfa7a10db3</id>
<content type='text'>
```console
$ selene .
warning[unused_variable]: buf_client_names is assigned a value, but never used
    ┌─ lua/lspconfig/ui/lspinfo.lua:160:9
    │
160 │   local buf_client_names = {}
    │         ^^^^^^^^^^^^^^^^
161 │   for _, client in pairs(buf_clients) do
162 │     table.insert(buf_client_names, client.name)
    │                  ---------------- `table.insert` only writes to `buf_client_names`

warning[unused_variable]: client_names is assigned a value, but never used
    ┌─ lua/lspconfig/ui/lspinfo.lua:171:9
    │
171 │   local client_names = {}
    │         ^^^^^^^^^^^^
    ·
176 │     table.insert(client_names, client.name)
    │                  ------------ `table.insert` only writes to `client_names`
```</content>
</entry>
<entry>
<title>fix(lspinfo): may use wrong buffer #1983</title>
<updated>2022-07-05T10:47:22Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-05T10:47:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=4983febe0629e9a0f3890e539a62663e1c1189d0'/>
<id>urn:sha1:4983febe0629e9a0f3890e539a62663e1c1189d0</id>
<content type='text'>
The `vim.fn.expand '%:p:h'` used to acquire the directory of the opened buffer would actually be executed in the context of the floating `:LspInfo` - causing it to return the current working directory instead of the actual buffer directory (the one that was active when opening the `:LspInfo` window).</content>
</entry>
<entry>
<title>fix(lspinfo): trim newlines in root_dir pattern (#1962)</title>
<updated>2022-06-18T13:06:33Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-06-18T13:06:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=87751b32226ab3c35d6f5fb9da796f73e8cc6648'/>
<id>urn:sha1:87751b32226ab3c35d6f5fb9da796f73e8cc6648</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(lspinfo): explain root directory not found #1939</title>
<updated>2022-06-09T13:35:32Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-06-09T13:35:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=4eac16e87f24ad26738e632446e29766e87141ae'/>
<id>urn:sha1:4eac16e87f24ad26738e632446e29766e87141ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: remove dependency on deprecated close_preview_autocommand (#1575)</title>
<updated>2021-12-17T01:22:13Z</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-12-17T01:22:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=64bd3b95345f2dbedc83a3d9a472662c48b3e940'/>
<id>urn:sha1:64bd3b95345f2dbedc83a3d9a472662c48b3e940</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: clean up imports</title>
<updated>2021-11-26T04:46:21Z</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-25T17:40:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=97da7ed12e7e0d86e735e38a8170e941d4ed3e9a'/>
<id>urn:sha1:97da7ed12e7e0d86e735e38a8170e941d4ed3e9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add single file mode (#1385)</title>
<updated>2021-11-11T09:00:24Z</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-11T09:00:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=0d1ce78d231773046320caa45fe1a18dfa366761'/>
<id>urn:sha1:0d1ce78d231773046320caa45fe1a18dfa366761</id>
<content type='text'>
* This adds a "single file mode" option for each language server
* Currently, if a root is not detected, a new language server is started
  for each file opened.
* Root directory is set to `nil` in start_client. Some servers will
  refuse to start, or otherwise panic. This is opt-in per server.
* Some servers, such as rust-analyzer, explicitly have a "single file
  mode", we will not support that until it is officially part of the LSP
  specification

Co-authored-by: Peter Lithammer &lt;peter.lithammer@gmail.com&gt;</content>
</entry>
<entry>
<title>feat(lspinfo): improve layout (#1186)</title>
<updated>2021-08-28T14:18:21Z</updated>
<author>
<name>kylo252</name>
<email>59826753+kylo252@users.noreply.github.com</email>
</author>
<published>2021-08-28T14:18:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=afc4571dc8c92948131d97f9a8a1512613c5d533'/>
<id>urn:sha1:afc4571dc8c92948131d97f9a8a1512613c5d533</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "feat(ui): lspinfo: better layout #1184)" (#1185)</title>
<updated>2021-08-25T12:22:13Z</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-08-25T12:22:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=45b6b1925664566b9d7e1f674dfaff7314f43fe5'/>
<id>urn:sha1:45b6b1925664566b9d7e1f674dfaff7314f43fe5</id>
<content type='text'>
This reverts commit d6e78ef013a57761226df5b842d52912f15011dd.</content>
</entry>
<entry>
<title>feat(ui): lspinfo: better layout #1184)</title>
<updated>2021-08-25T11:34:16Z</updated>
<author>
<name>kylo252</name>
<email>59826753+kylo252@users.noreply.github.com</email>
</author>
<published>2021-08-25T11:34:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=d6e78ef013a57761226df5b842d52912f15011dd'/>
<id>urn:sha1:d6e78ef013a57761226df5b842d52912f15011dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: refactor ui components (#1172)</title>
<updated>2021-08-24T12:40:45Z</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-08-24T12:40:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-lspconfig/commit/?id=09c3ca620e21a365630006e98823fcf4888e7e11'/>
<id>urn:sha1:09c3ca620e21a365630006e98823fcf4888e7e11</id>
<content type='text'>
</content>
</entry>
</feed>
