From d0411ae53bbb3711b3e4e17c82a6f31afe9bb9a2 Mon Sep 17 00:00:00 2001 From: Dietrich Rink Date: Sat, 10 Jun 2023 15:07:12 +0200 Subject: [PATCH] add lsp_signature plugin --- basic/Containerfile | 9 +++++---- basic/nvim/init/00-basic.lua | 1 + basic/nvim/plugconf/lsp_signature.lua | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 basic/nvim/plugconf/lsp_signature.lua diff --git a/basic/Containerfile b/basic/Containerfile index cba09fa..be4a815 100644 --- a/basic/Containerfile +++ b/basic/Containerfile @@ -10,10 +10,11 @@ WORKDIR /usr/local/share/nvim/site/pack/plugins/opt RUN printf '%s\n' \ christoomey/vim-tmux-navigator benmills/vimux ap/vim-buftabline \ nvim-tree/nvim-tree.lua nvim-tree/nvim-web-devicons ctrlpvim/ctrlp.vim \ - hrsh7th/nvim-cmp hrsh7th/cmp-buffer hrsh7th/cmp-path hrsh7th/cmp-nvim-lua \ - hrsh7th/cmp-cmdline hrsh7th/cmp-nvim-lsp neovim/nvim-lspconfig \ - saadparwaiz1/cmp_luasnip L3MON4D3/LuaSnip jiangmiao/auto-pairs \ - tpope/vim-surround tpope/vim-repeat rebelot/kanagawa.nvim \ + hrsh7th/nvim-cmp ray-x/lsp_signature.nvim hrsh7th/cmp-buffer \ + hrsh7th/cmp-path hrsh7th/cmp-nvim-lua hrsh7th/cmp-cmdline \ + hrsh7th/cmp-nvim-lsp neovim/nvim-lspconfig saadparwaiz1/cmp_luasnip \ + L3MON4D3/LuaSnip jiangmiao/auto-pairs tpope/vim-surround tpope/vim-repeat \ + rebelot/kanagawa.nvim \ | xargs -n1 -P0 -I'{}' git clone --depth 1 'https://github.com/{}' RUN printf 'helptags %s\n' */doc | nvim --noplugin -es diff --git a/basic/nvim/init/00-basic.lua b/basic/nvim/init/00-basic.lua index 99c26f6..2096e18 100644 --- a/basic/nvim/init/00-basic.lua +++ b/basic/nvim/init/00-basic.lua @@ -12,6 +12,7 @@ pack 'ctrlp.vim' -- Language servers and snippets pack 'nvim-lspconfig' pack 'LuaSnip' +pack 'lsp_signature.nvim' -- Completion pack 'cmp-buffer' diff --git a/basic/nvim/plugconf/lsp_signature.lua b/basic/nvim/plugconf/lsp_signature.lua new file mode 100644 index 0000000..b9a7774 --- /dev/null +++ b/basic/nvim/plugconf/lsp_signature.lua @@ -0,0 +1 @@ +require('lsp_signature').setup { hint_enable = false }