Skip to content

goolord/nvim-clap-lsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-clap-lsp

nvim lsp handlers a la nvim-lsputils, but using vim-clap as the UI

example

vim.lsp.handlers['textDocument/codeAction']     = require'clap-lsp.codeAction'.code_action_handler
vim.lsp.handlers['textDocument/definition']     = require'clap-lsp.locations'.definition_handler
vim.lsp.handlers['textDocument/documentSymbol'] = require'clap-lsp.symbols'.document_handler
vim.lsp.handlers['textDocument/references']     = require'clap-lsp.locations'.references_handler
vim.lsp.handlers['workspace/symbol']            = require'clap-lsp.symbols'.workspace_handler

if you don't want to input a query for the workspace_symbol handler, you may create a binding for the command:

:lua vim.lsp.buf.workspace_symbol("")<CR>

screenshots

image image image

About

nvim-lsp handlers using vim-clap as the ui

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published