diff options
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 7ca473f..d03ad77 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -377,6 +377,8 @@ nvim_lsp['efm'].setup{ | |||
377 | capabilities = capabilities | 377 | capabilities = capabilities |
378 | } | 378 | } |
379 | 379 | ||
380 | -- rust-tools {{{ -- | ||
381 | |||
380 | -- Configure LSP through rust-tools.nvim plugin. | 382 | -- Configure LSP through rust-tools.nvim plugin. |
381 | -- rust-tools will configure and enable certain LSP features for us. | 383 | -- rust-tools will configure and enable certain LSP features for us. |
382 | -- See https://github.com/simrat39/rust-tools.nvim#configuration | 384 | -- See https://github.com/simrat39/rust-tools.nvim#configuration |
@@ -387,9 +389,9 @@ local rust_opts = { | |||
387 | }, | 389 | }, |
388 | inlay_hints = { | 390 | inlay_hints = { |
389 | auto = true, | 391 | auto = true, |
390 | show_parameter_hints = false, | 392 | show_parameter_hints = true, |
391 | parameter_hints_prefix = "", | 393 | parameter_hints_prefix = "↸ ", |
392 | other_hints_prefix = "", | 394 | other_hints_prefix = "❱ ", |
393 | }, | 395 | }, |
394 | }, | 396 | }, |
395 | 397 | ||
@@ -414,6 +416,8 @@ local rust_opts = { | |||
414 | 416 | ||
415 | require('rust-tools').setup(rust_opts) | 417 | require('rust-tools').setup(rust_opts) |
416 | 418 | ||
419 | -- }}} rust-tools -- | ||
420 | |||
417 | 421 | ||
418 | -- }}} nvim-lsp -- | 422 | -- }}} nvim-lsp -- |
419 | 423 | ||