diff options
-rw-r--r-- | dotfiles/vim-dev.lua | 4 | ||||
-rw-r--r-- | usecases/desktop/development.nix | 1 |
2 files changed, 5 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() |
diff --git a/usecases/desktop/development.nix b/usecases/desktop/development.nix index 859af10..97d03a8 100644 --- a/usecases/desktop/development.nix +++ b/usecases/desktop/development.nix | |||
@@ -61,6 +61,7 @@ in | |||
61 | 61 | ||
62 | vim = { | 62 | vim = { |
63 | extraPlugins = with vimPlugins; [ | 63 | extraPlugins = with vimPlugins; [ |
64 | lsp_signature-nvim | ||
64 | nvim-lspconfig | 65 | nvim-lspconfig |
65 | rust-tools-nvim | 66 | rust-tools-nvim |
66 | vim-grammarous | 67 | vim-grammarous |