jinzhongjia/LspUI.nvim

github github
lspneovim-0.5
stars 177
issues 2
subscribers 4
forks 3
CREATED

2023-01-20

UPDATED

4 months ago


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

{
  "jinzhongjia/LspUI.nvim",
  branch = "main",
  config = function()
    require("LspUI").setup({
      -- config options go here
      })
  end
}

packer.nvim

use {
  "jinzhongjia/LspUI.nvim",
    branch = 'main',
    config = function()
    require("LspUI").setup({
      -- config options go here
      })
  end
}

⚙️ Configuration

local LspUI = require("LspUI")
LspUI.setup()

more about here

🚀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

Current Goals / Roadmap

You can see the current goals here.

Reference