mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2025-01-17 23:43:27 -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 = {
|
shadow = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
color = "rgba(00000099)";
|
color = "rgba(00000099)";
|
||||||
range = 5;
|
# range = 5;
|
||||||
|
offset = "5 5";
|
||||||
};
|
};
|
||||||
rounding = 5;
|
rounding = 5;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue