Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 483:160e93d776f3
Remove unused lsp_signature
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 05 Nov 2021 15:52:44 +0100 |
parents | 64f8a54e372d |
children | bed1479d9b10 |
comparison
equal
deleted
inserted
replaced
482:64f8a54e372d | 483:160e93d776f3 |
---|---|
248 ghost_text = true, | 248 ghost_text = true, |
249 }, | 249 }, |
250 } | 250 } |
251 end, | 251 end, |
252 } | 252 } |
253 use { 'ray-x/lsp_signature.nvim' } | |
254 use { | 253 use { |
255 { | 254 { |
256 'nvim-treesitter/nvim-treesitter', | 255 'nvim-treesitter/nvim-treesitter', |
257 config = function() | 256 config = function() |
258 require 'nvim-treesitter.highlight' | 257 require 'nvim-treesitter.highlight' |
681 | 680 |
682 inoremap { '<c-l>', vim.lsp.buf.signature_help, silent = true, buffer = 0 } | 681 inoremap { '<c-l>', vim.lsp.buf.signature_help, silent = true, buffer = 0 } |
683 | 682 |
684 vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'single' }) | 683 vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'single' }) |
685 vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'single' }) | 684 vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'single' }) |
686 -- require "lsp_signature".on_attach() | |
687 end | 685 end |
688 | 686 |
689 local capabilities = vim.lsp.protocol.make_client_capabilities() | 687 local capabilities = vim.lsp.protocol.make_client_capabilities() |
690 capabilities.textDocument.completion.completionItem.snippetSupport = true | 688 capabilities.textDocument.completion.completionItem.snippetSupport = true |
691 capabilities.textDocument.completion.completionItem.resolveSupport = { | 689 capabilities.textDocument.completion.completionItem.resolveSupport = { |