mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Add nvim-lspsignature
This commit is contained in:
parent
c1ba7af97e
commit
ff9f9dcc16
@ -48,6 +48,8 @@ local on_attach = function(client, bufnr)
|
|||||||
]], false)
|
]], false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require "lsp_signature".on_attach()
|
||||||
|
|
||||||
local msg = string.format('Language server %s started!' , client.name)
|
local msg = string.format('Language server %s started!' , client.name)
|
||||||
vim.api.nvim_echo({{msg, 'MoreMsg'}, }, false, {})
|
vim.api.nvim_echo({{msg, 'MoreMsg'}, }, false, {})
|
||||||
end
|
end
|
||||||
|
|||||||
@ -17,6 +17,8 @@ require('packer').startup(
|
|||||||
-- nvim-lsp configuration
|
-- nvim-lsp configuration
|
||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
|
|
||||||
|
use 'ray-x/lsp_signature.nvim'
|
||||||
|
|
||||||
-- auto-completion engine
|
-- auto-completion engine
|
||||||
use 'hrsh7th/nvim-compe'
|
use 'hrsh7th/nvim-compe'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user