change name and email in git config, update stylix, change nvim suggestions bindings

This commit is contained in:
Lukrecja Pleskaczyńska
2026-03-02 21:20:56 +01:00
parent ad01ddee34
commit de4ad2b0d8
5 changed files with 8 additions and 28 deletions

View File

@@ -1 +1 @@
/nix/store/5wnlp588q55mib7r6bhlga2minnq66cw-home-manager-files/.config/autostart/stylix-activate-gnome.desktop /nix/store/8313dmsfcjk6c6sacsi8mzc7cw9inl12-home-manager-files/.config/autostart/stylix-activate-gnome.desktop

View File

@@ -1 +1 @@
/nix/store/5wnlp588q55mib7r6bhlga2minnq66cw-home-manager-files/.config/autostart/stylix-activate-kde.desktop /nix/store/8313dmsfcjk6c6sacsi8mzc7cw9inl12-home-manager-files/.config/autostart/stylix-activate-kde.desktop

View File

@@ -214,8 +214,8 @@
programs.git = { programs.git = {
enable = true; enable = true;
settings = { settings = {
user.name = "Lukrecja"; user.name = "Lukrecja Pleskaczyńska";
user.email = "lusiaaa425@gmail.com"; user.email = "lukrecjaaa@proton.com";
credential.helper = "store"; credential.helper = "store";
http."https://git.bgs.local:3000/" = { http."https://git.bgs.local:3000/" = {
sslCAInfo = "/home/lusia/VSTech-vpn/bgs-git-ca.crt"; sslCAInfo = "/home/lusia/VSTech-vpn/bgs-git-ca.crt";

View File

@@ -4,31 +4,11 @@ local servers = { "html", "cssls", "rust_analyzer" }
vim.lsp.enable(servers) vim.lsp.enable(servers)
-- Configure rust-analyzer with enhanced settings -- Configure rust-analyzer with enhanced settings
-- Project-specific settings (features, target, etc.) go in rust-analyzer.toml
vim.lsp.config.rust_analyzer = { vim.lsp.config.rust_analyzer = {
cmd = { "rust-analyzer" }, cmd = { "rust-analyzer" },
filetypes = { "rust" }, filetypes = { "rust" },
root_markers = { "Cargo.toml", "rust-project.json" }, root_markers = { "Cargo.toml", "rust-project.json" },
settings = {
["rust-analyzer"] = {
cargo = {
allFeatures = true,
loadOutDirsFromCheck = true,
buildScripts = {
enable = true,
},
},
checkOnSave = true,
check = {
command = "clippy",
},
procMacro = {
enable = true,
},
diagnostics = {
enable = true,
},
},
},
} }
-- read :h vim.lsp.config for changing options of lsp servers -- read :h vim.lsp.config for changing options of lsp servers

View File

@@ -27,8 +27,8 @@ return {
}, },
}, },
keymap = { keymap = {
["<CR>"] = { "fallback" }, -- Enter only inserts newline, doesn't accept ["<CR>"] = { "accept", "fallback" }, -- Enter accepts only when an item is selected; otherwise newline
["<Tab>"] = { "select_and_accept", "snippet_forward", "fallback" }, -- Tab accepts ["<Esc>"] = { "cancel", "fallback" }, -- Esc closes completion and stays in insert mode when menu is visible
}, },
}, },
}, },