mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 09:35:26 +02:00
wrap lsp functions in simple commands
This commit is contained in:
parent
7da8f32a95
commit
4308a66977
6 changed files with 153 additions and 20 deletions
|
@ -0,0 +1,17 @@
|
|||
command! LspCodeAction lua require 'function-wrapper'.code_action()
|
||||
command! LspDeclaration lua require 'function-wrapper'.declaration()
|
||||
command! LspDefinition lua require 'function-wrapper'.definition()
|
||||
command! LspDocumentSymbol lua require 'function-wrapper'.document_symbol()
|
||||
command! LspFormatting lua require 'function-wrapper'.formatting()
|
||||
command! LspFormattingSync lua require 'function-wrapper'.formatting_sync()
|
||||
command! LspHover lua require 'function-wrapper'.hover()
|
||||
command! LspImplementation lua require 'function-wrapper'.implementation()
|
||||
command! LspRangeCodeAction lua require 'function-wrapper'.range_code_action()
|
||||
command! LspRangeFormatting lua require 'function-wrapper'.range_formatting()
|
||||
command! LspReferences lua require 'function-wrapper'.references()
|
||||
command! LspRename lua require 'function-wrapper'.rename()
|
||||
command! LspTypeDefinition lua require 'function-wrapper'.type_definition()
|
||||
command! LspWorkspaceSymbol lua require 'function-wrapper'.workspace_symbol()
|
||||
command! LspGotoNext lua require 'function-wrapper'.goto_next()
|
||||
command! LspGotoPrev lua require 'function-wrapper'.goto_prev()
|
||||
command! LspShowLineDiagnostics lua require 'function-wrapper'.show_line_diagnostics()
|
Loading…
Add table
Add a link
Reference in a new issue