lsp spacing
This commit is contained in:
parent
c713985bdd
commit
c4e1e5a648
1 changed files with 0 additions and 5 deletions
|
|
@ -63,22 +63,17 @@ local function lsp_settings()
|
|||
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with( vim.lsp.handlers.hover,
|
||||
{ border = 'shadow', }
|
||||
)
|
||||
|
||||
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
|
||||
vim.lsp.handlers.signature_help,
|
||||
{border = 'shadow'}
|
||||
)
|
||||
|
||||
local command = vim.api.nvim_create_user_command
|
||||
|
||||
command('LspWorkspaceAdd', function()
|
||||
vim.lsp.buf.add_workspace_folder()
|
||||
end, {desc = 'Add folder to workspace'})
|
||||
|
||||
command('LspWorkspaceList', function()
|
||||
vim.notify(vim.inspect(vim.lsp.buf.list_workspace_folders()))
|
||||
end, {desc = 'List workspace folders'})
|
||||
|
||||
command('LspWorkspaceRemove', function()
|
||||
vim.lsp.buf.remove_workspace_folder()
|
||||
end, {desc = 'Remove folder from workspace'})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue