mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2025-01-17 15:33:28 -08:00
misc problem fixing
This commit is contained in:
parent
aa9b88b1f8
commit
101c8efbb5
3 changed files with 13 additions and 11 deletions
|
@ -99,7 +99,8 @@ in
|
|||
shadow = {
|
||||
enabled = true;
|
||||
color = "rgba(00000099)";
|
||||
range = 5;
|
||||
# range = 5;
|
||||
offset = "5 5";
|
||||
};
|
||||
rounding = 5;
|
||||
};
|
||||
|
|
|
@ -248,8 +248,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
telescope.enable = true;
|
||||
rust-tools.enable = true;
|
||||
rustaceanvim.enable = true;
|
||||
cmp.enable = true;
|
||||
|
||||
cmp-nvim-lsp.enable = true;
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
|
||||
-- Attached rust-analyzer server
|
||||
local rt = require("rust-tools")
|
||||
--local rt = require("rust-tools")
|
||||
|
||||
rt.setup({
|
||||
server = {
|
||||
on_attach = function(_, bufnr)
|
||||
-- rt.setup({
|
||||
-- server = {
|
||||
-- on_attach = function(_, bufnr)
|
||||
-- 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
|
||||
vim.keymap.set("n", "<leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
|
||||
end,
|
||||
},
|
||||
})
|
||||
-- vim.keymap.set("n", "<leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
|
||||
-- end,
|
||||
-- },
|
||||
-- })
|
||||
|
||||
-- LSP Diagnostics Options Setup
|
||||
local sign = function(opts)
|
||||
|
|
Loading…
Reference in a new issue