misc problem fixing

This commit is contained in:
Nickiel12 2024-11-25 17:58:46 -08:00
parent aa9b88b1f8
commit 101c8efbb5
3 changed files with 13 additions and 11 deletions

View file

@ -99,7 +99,8 @@ in
shadow = { shadow = {
enabled = true; enabled = true;
color = "rgba(00000099)"; color = "rgba(00000099)";
range = 5; # range = 5;
offset = "5 5";
}; };
rounding = 5; rounding = 5;
}; };

View file

@ -248,8 +248,9 @@ in
}; };
}; };
telescope.enable = true; telescope.enable = true;
rust-tools.enable = true; rustaceanvim.enable = true;
cmp.enable = true; cmp.enable = true;
cmp-nvim-lsp.enable = true; cmp-nvim-lsp.enable = true;

View file

@ -1,17 +1,17 @@
-- Attached rust-analyzer server -- Attached rust-analyzer server
local rt = require("rust-tools") --local rt = require("rust-tools")
rt.setup({ -- rt.setup({
server = { -- server = {
on_attach = function(_, bufnr) -- on_attach = function(_, bufnr)
-- Hover actions -- Hover actions
vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr }) -- vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr })
-- Code action groups -- Code action groups
vim.keymap.set("n", "<leader>a", rt.code_action_group.code_action_group, { buffer = bufnr }) -- vim.keymap.set("n", "<leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
end, -- end,
}, -- },
}) -- })
-- LSP Diagnostics Options Setup -- LSP Diagnostics Options Setup
local sign = function(opts) local sign = function(opts)