summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/custom/config/rustaceanvim.lua7
-rw-r--r--.config/nvim/lua/custom/plugins/rustaceanvim.lua2
2 files changed, 7 insertions, 2 deletions
diff --git a/.config/nvim/lua/custom/config/rustaceanvim.lua b/.config/nvim/lua/custom/config/rustaceanvim.lua
index b8c2c1b..91b1092 100644
--- a/.config/nvim/lua/custom/config/rustaceanvim.lua
+++ b/.config/nvim/lua/custom/config/rustaceanvim.lua
@@ -24,7 +24,12 @@ vim.g.rustaceanvim = {
end
end,
default_settings = {
- ['rust-analyzer'] = {},
+ ['rust-analyzer'] = {
+ semanticHighlighting = {
+ operator = { specialization = { enable = true } },
+ punctuation = { enable = true, specialization = { enable = true } },
+ },
+ },
},
},
---@type RustaceanDapOpts
diff --git a/.config/nvim/lua/custom/plugins/rustaceanvim.lua b/.config/nvim/lua/custom/plugins/rustaceanvim.lua
index 2bbc732..4f509a2 100644
--- a/.config/nvim/lua/custom/plugins/rustaceanvim.lua
+++ b/.config/nvim/lua/custom/plugins/rustaceanvim.lua
@@ -1,6 +1,6 @@
return {
'mrcjkb/rustaceanvim',
- version = '^4',
+ version = '^5',
lazy = false, -- already lazy
init = function ()
require("custom.config.rustaceanvim")