Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jinzhongjia/lspui.nvim
A modern and useful UI plugin that wraps lsp operations.
https://github.com/jinzhongjia/lspui.nvim
neovim-lua-plugin neovim-plugin
Last synced: 4 days ago
JSON representation
A modern and useful UI plugin that wraps lsp operations.
- Host: GitHub
- URL: https://github.com/jinzhongjia/lspui.nvim
- Owner: jinzhongjia
- License: mit
- Created: 2023-01-20T02:32:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T14:02:42.000Z (6 months ago)
- Last Synced: 2024-10-15T02:33:39.217Z (3 months ago)
- Topics: neovim-lua-plugin, neovim-plugin
- Language: Lua
- Homepage:
- Size: 723 KB
- Stars: 173
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LspUI.nvim
A plugin which wraps Neovim LSP operations with a nicer UI.
## β¨ Features
- Custom implementations of common LSP functions
- Great out of the box UI
- Due to reimplementation of builtins, potentially better performance than builtin neovim functions.
- Supported features:
- Code Action (nvim plugin can register code_action)
- Rename
- Hover
- Show Diagnostics
- Definiton
- Type Definition
- Declaration
- Reference
- Implementation
- Inlay Hint
- Signature Help## π¦ Installation
- Requires neovim `0.10`
### [lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
{
"jinzhongjia/LspUI.nvim",
branch = "main",
config = function()
require("LspUI").setup({
-- config options go here
})
end
}
```### [packer.nvim](https://github.com/wbthomason/packer.nvim)
```lua
use {
"jinzhongjia/LspUI.nvim",
branch = 'main',
config = function()
require("LspUI").setup({
-- config options go here
})
end
}
```## βοΈ Configuration
```lua
local LspUI = require("LspUI")
LspUI.setup()
```more about [here](https://github.com/jinzhongjia/LspUI.nvim/wiki/Config)
## πCommands
- `LspUI hover`: Open an LSP hover window above cursor
- `LspUI rename`: Rename the symbol below the cursor
- `LspUI code_action`: Open a code action selection prompt
- `LspUI diagnostic next`: Go to the next diagnostic
- `LspUI diagnostic prev`: Go to the previous diagnostic
- `LspUI definition`: Open the definition
- `LspUI type_definition`: Open the type definition
- `LspUI declaration`: Open the declaration
- `LspUI reference`: Open the reference
- `LspUI implementation`: Open the implementation
- `LspUI inlay_hint`: Quickly open or close inlay hint## [Screen Shot](https://github.com/jinzhongjia/LspUI.nvim/wiki/Screen-Shot)
## Current Goals / Roadmap
You can see the current goals [here](https://github.com/jinzhongjia/LspUI.nvim/issues/12).
## Reference
- [glepnir/lspsaga.nvim](https://github.com/glepnir/lspsaga.nvim)
- [DNLHC/glance.nvim](https://github.com/DNLHC/glance.nvim)