feat(neovim): add lsp-signature-help completion source
parent
cd40e17634
commit
1598e11e63
|
@ -1,5 +1,18 @@
|
||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
cmp-nvim-lsp-signature-help = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "cmp-nvim-lsp-signature-help";
|
||||||
|
version = "2022-07-21";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "hrsh7th";
|
||||||
|
repo = "cmp-nvim-lsp-signature-help";
|
||||||
|
rev = "57c4db7d3a663bd31ef60c4b5ed32683301247e9";
|
||||||
|
sha256 = "LKtMrxm9i+yoLYh1NuZsENSScB7MQZrjTFpD9wdpz1M=";
|
||||||
|
};
|
||||||
|
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help";
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
xclip
|
xclip
|
||||||
|
@ -58,6 +71,7 @@
|
||||||
cmp-nvim-lua
|
cmp-nvim-lua
|
||||||
cmp_luasnip
|
cmp_luasnip
|
||||||
cmp-calc
|
cmp-calc
|
||||||
|
cmp-nvim-lsp-signature-help
|
||||||
|
|
||||||
# telescope
|
# telescope
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
|
|
|
@ -16,6 +16,7 @@ cmp.setup({
|
||||||
},
|
},
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
|
{ name = "nvim_lsp_signature_help" },
|
||||||
{ name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
{ name = "buffer" },
|
{ name = "buffer" },
|
||||||
|
|
Loading…
Reference in New Issue