mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
formattershacktoberfestidelinterslualunarvimneovimneovim-configneovim-configurationneovim-luaneovim-setupnvimsnippetsvimvimrcvscode
55f048aaae
* fix(lualine): use `get_active_clients` instead of deprecated function `vim.lsp.get_active_clients()` accepts a table to filter returned clients by id, bufnr and name. In this case when want to get clients for current buffer, if bufnr is not given then it defaults to current buffer, so need to pass anything here. See `help vim.lsp.buf_get_clients()` * refactor(lualine): simplify LSP component `vim.lsp.get_active_clients` always returns a table, if that table is empty, there's no clients attached, hence return appropriate message. No need to use `next()` Remove all the complicated logic with the `msg` parameter, no argument is passed in any of the places that component is used, no need to have it. * fix: only get clients attached to current buffer --------- Co-authored-by: LostNeophyte <lostneophyte@tuta.io> |
||
---|---|---|
.github | ||
lua/lvim | ||
snapshots | ||
tests | ||
utils | ||
.gitignore | ||
.luacheckrc | ||
.luarc.json | ||
.pre-commit-config.yaml | ||
.stylua.toml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
init.lua | ||
LICENSE | ||
Makefile | ||
README.md |
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Install
Configure
Troubleshooting
Contribute