about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/pack.fnl2
-rw-r--r--fnl/nvrc/packs/cmp.fnl3
-rw-r--r--fnl/nvrc/packs/lsp_signature.fnl15
3 files changed, 3 insertions, 17 deletions
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 @@
                       :<S-Tab> (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 ""})