summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/lsp-signature.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-23 17:04:16 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-23 17:04:16 +0300
commit9f36c9e319c3f62d2cc5fcc13888bb1c52549dd5 (patch)
treefcb9e06a5618d957cda5f1e63cbec0dc0a5ce4d6 /.config/nvim/lua/custom/plugins/lsp-signature.lua
parentbcd20b2cb1836bc8e5baa34d8b0e1a96f3c2f788 (diff)
refactor(neovim): minor changes and splited most plugins to their own file
Diffstat (limited to '.config/nvim/lua/custom/plugins/lsp-signature.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/lsp-signature.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/lsp-signature.lua b/.config/nvim/lua/custom/plugins/lsp-signature.lua
new file mode 100644
index 0000000..718cd62
--- /dev/null
+++ b/.config/nvim/lua/custom/plugins/lsp-signature.lua
@@ -0,0 +1,12 @@
+return {
+ -- FIXME: fork the repo and fix the following issues
+ -- Make both insert and normal be toggelable rather than insert always showing and normal toggleable
+ 'ray-x/lsp_signature.nvim',
+ event = 'LspAttach',
+ opts = {
+ bind = true, -- This is mandatory, otherwise border config won't get registered.
+ handler_opts = { border = 'single' },
+ doc_lines = 0,
+ hint_enable = false,
+ },
+}