From 354cd5c0166ca379cae513458b86c2f14f1d3d13 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 28 Sep 2024 18:03:51 +0300 Subject: feat: some rust-analyzer configuration --- .config/nvim/lua/custom/config/rustaceanvim.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/custom/config') 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 -- cgit v1.3.1