From 19c7b373e1ad7d7a40901a34b354ff1d6623087d Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 26 Feb 2022 21:46:37 +0900 Subject: feat(pack): lsp_signature -> cmp-nvim-lsp-signature-help --- fnl/nvrc/pack.fnl | 2 +- fnl/nvrc/packs/cmp.fnl | 3 ++- fnl/nvrc/packs/lsp_signature.fnl | 15 --------------- 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 fnl/nvrc/packs/lsp_signature.fnl diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl index 282eaaf..8cd92b0 100644 --- a/fnl/nvrc/pack.fnl +++ b/fnl/nvrc/pack.fnl @@ -18,7 +18,7 @@ (pack! :neovim/nvim-lspconfig {:req :lspconfig :requires [(pack :hrsh7th/cmp-nvim-lsp {:after :nvim-cmp}) (pack :j-hui/fidget.nvim {:req :fidget :after :nvim-lspconfig}) - (pack :ray-x/lsp_signature.nvim {:req :lsp_signature :after :nvim-lspconfig})]}) + (pack :hrsh7th/cmp-nvim-lsp-signature-help {:after :cmp-nvim-lsp})]}) (pack! :simrat39/rust-tools.nvim {:init :rust-tools :ft :rust}) (pack! :gpanders/editorconfig.nvim {:event :BufRead}) (pack! :lewis6991/spaceless.nvim {:init :spaceless :defer :spaceless.nvim}) diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl index 0720148..0f36592 100644 --- a/fnl/nvrc/packs/cmp.fnl +++ b/fnl/nvrc/packs/cmp.fnl @@ -53,4 +53,5 @@ : (fn [fallback] (if (cmp.visible) (cmp.select_next_item)"") (fallback))} - :sources {1 {:name :nvim_lsp}}}) + :sources [{:name :nvim_lsp} + {:name :nvim_lsp_signature_help}]}) diff --git a/fnl/nvrc/packs/lsp_signature.fnl b/fnl/nvrc/packs/lsp_signature.fnl deleted file mode 100644 index b14a374..0000000 --- a/fnl/nvrc/packs/lsp_signature.fnl +++ /dev/null @@ -1,15 +0,0 @@ -(local {: setup} (require :lsp_signature)) - -(setup {:bind true - :doc_lines 0 - :floating_window true - :fix_pos true - :hint_enable true - :hint_scheme :String - :hint_prefix "(i) " - :hi_parameter :Search - :max_height 22 - :max_width 120 - :handler_opts {:border :single} - :zindex 200 - :padding ""}) -- cgit 1.4.1