diff options
author | Minijackson <minijackson@riseup.net> | 2021-07-09 13:52:57 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-07-09 13:52:57 +0200 |
commit | c9bfed27516aaed202c15772c241c43afdaffa0b (patch) | |
tree | 07d7623513843bdcec4f8658a5be051774187b66 /dotfiles/vim-dev.lua | |
parent | 2418812bd06bf74b915011c84d7d15818695daff (diff) | |
download | nixos-config-reborn-c9bfed27516aaed202c15772c241c43afdaffa0b.tar.gz nixos-config-reborn-c9bfed27516aaed202c15772c241c43afdaffa0b.zip |
vim-dev: add lsp_signature
Diffstat (limited to 'dotfiles/vim-dev.lua')
-rw-r--r-- | dotfiles/vim-dev.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles/vim-dev.lua b/dotfiles/vim-dev.lua index 5f32244..ae74e91 100644 --- a/dotfiles/vim-dev.lua +++ b/dotfiles/vim-dev.lua | |||
@@ -34,6 +34,10 @@ function on_attach(client, bufnr) | |||
34 | 34 | ||
35 | -- Rust specific | 35 | -- Rust specific |
36 | buf_set_keymap("n", "<leader>sh", "<cmd>RustToggleInlayHints<CR>", opts) | 36 | buf_set_keymap("n", "<leader>sh", "<cmd>RustToggleInlayHints<CR>", opts) |
37 | |||
38 | require("lsp_signature").on_attach({ | ||
39 | hint_prefix = "param: " | ||
40 | }) | ||
37 | end | 41 | end |
38 | 42 | ||
39 | local capabilities = vim.lsp.protocol.make_client_capabilities() | 43 | local capabilities = vim.lsp.protocol.make_client_capabilities() |