aboutsummaryrefslogtreecommitdiff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-26 21:46:37 +0900
committersefidel <contact@sefidel.net>2022-02-26 21:46:37 +0900
commit19c7b373e1ad7d7a40901a34b354ff1d6623087d (patch)
tree83ee922ed2956c5b287b5bc30d5fc12ddca2da4d /fnl/nvrc
parent7b0fe9c4eadd0f8333591c97bb8ba607e1fa33d7 (diff)
downloadnvimrc-19c7b373e1ad7d7a40901a34b354ff1d6623087d.zip
feat(pack): lsp_signature -> cmp-nvim-lsp-signature-help
Diffstat (limited to 'fnl/nvrc')
-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 ""})