From 83ec990568ba0f31cd48f7bfb4b57b2a6ce083a2 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Fri, 24 Nov 2023 13:31:20 +0100 Subject: [PATCH] Tweaks --- alacritty/.config/alacritty/alacritty.toml | 2 +- alacritty/.config/alacritty/alacritty.yml | 2 +- code/.config/Code/User/settings.json | 25 +++++++++++++++++++- nvim/.config/nvim/plugin/packer_compiled.lua | 20 ++++++++-------- 4 files changed, 36 insertions(+), 13 deletions(-) diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index 1902972..594b694 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -164,7 +164,7 @@ mods = "Shift" history = 5000 [window] -opacity = 0.99 +opacity = 1.0 title = "Terminal" [window.class] diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 4e66349..1e2a67a 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -59,7 +59,7 @@ draw_bold_text_with_bright_colors: true colors: # Default colors primary: - background: "0x121212" + background: "0x080808" foreground: "0xffffff" # Colors the cursor will use if `custom_cursor_colors` is true diff --git a/code/.config/Code/User/settings.json b/code/.config/Code/User/settings.json index ec08ad9..7ed852d 100644 --- a/code/.config/Code/User/settings.json +++ b/code/.config/Code/User/settings.json @@ -1,7 +1,7 @@ { "telemetry.telemetryLevel": "off", "editor.insertSpaces": false, - "editor.detectIndentation": false, + "editor.detectIndentation": true, "explorer.confirmDelete": false, "git.openRepositoryInParentFolders": "never", "workbench.editorAssociations": { @@ -68,4 +68,27 @@ "[latex]": { "editor.defaultFormatter": "mathematic.vscode-latex" }, + "cSpell.userWords": [ + "pycocotools", + "torchvision" + ], + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter" + }, + "workbench.colorCustomizations": {}, + "[typescriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, } \ No newline at end of file diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua index cd95cc1..8214f81 100644 --- a/nvim/.config/nvim/plugin/packer_compiled.lua +++ b/nvim/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/lib/lua/5.1/?.so" +local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1697887905/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -197,22 +197,22 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: nvim-autopairs -time([[Config for nvim-autopairs]], true) -try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") -time([[Config for nvim-autopairs]], false) -- Config for: gitsigns.nvim time([[Config for gitsigns.nvim]], true) try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") time([[Config for gitsigns.nvim]], false) --- Config for: Comment.nvim -time([[Config for Comment.nvim]], true) -try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") -time([[Config for Comment.nvim]], false) +-- Config for: nvim-autopairs +time([[Config for nvim-autopairs]], true) +try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") +time([[Config for nvim-autopairs]], false) -- Config for: todo-comments.nvim time([[Config for todo-comments.nvim]], true) try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") time([[Config for todo-comments.nvim]], false) +-- Config for: Comment.nvim +time([[Config for Comment.nvim]], true) +try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") +time([[Config for Comment.nvim]], false) _G._packer.inside_compile = false if _G._packer.needs_bufread == true then