Skip to content

A modern and useful UI plugin that wraps lsp operations.

License

Notifications You must be signed in to change notification settings

jinzhongjia/LspUI.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
{
  "jinzhongjia/LspUI.nvim",
  branch = "main",
  config = function()
    require("LspUI").setup({
	  -- config options go here
	  })
  end
}
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

Current Goals / Roadmap

You can see the current goals here.

Reference

About

A modern and useful UI plugin that wraps lsp operations.

Topics

Resources

License

Stars

Watchers

Forks

Languages