vault backup: 2025-03-24 09:49:39

This commit is contained in:
Dane Sabo 2025-03-24 09:49:39 -04:00
parent 56f54bdeef
commit 51856c99ba
29 changed files with 40 additions and 20 deletions

View File

@ -13,9 +13,9 @@ if &shortmess =~ 'A'
else
set shortmess=aoO
endif
badd +1 ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md
badd +1 Cargo.toml
badd +10 src/main.rs
badd +37 ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md
badd +6 Cargo.toml
badd +14 src/main.rs
argglobal
%argdel
edit src/main.rs
@ -35,8 +35,8 @@ set winminheight=0
set winheight=1
set winminwidth=0
set winwidth=1
exe 'vert 1resize ' . ((&columns * 93 + 93) / 186)
exe 'vert 2resize ' . ((&columns * 92 + 93) / 186)
exe 'vert 1resize ' . ((&columns * 95 + 95) / 190)
exe 'vert 2resize ' . ((&columns * 94 + 95) / 190)
argglobal
balt Cargo.toml
setlocal fdm=manual
@ -49,19 +49,19 @@ setlocal fdn=20
setlocal fen
silent! normal! zE
let &fdl = &fdl
let s:l = 10 - ((9 * winheight(0) + 32) / 64)
let s:l = 14 - ((13 * winheight(0) + 31) / 62)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 10
keepjumps 14
normal! 0
wincmd w
argglobal
if bufexists(fnamemodify("Cargo.toml", ":p")) | buffer Cargo.toml | else | edit Cargo.toml | endif
if bufexists(fnamemodify("~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md", ":p")) | buffer ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md | else | edit ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md | endif
if &buftype ==# 'terminal'
silent file Cargo.toml
silent file ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md
endif
balt ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md
balt src/main.rs
setlocal fdm=manual
setlocal fde=0
setlocal fmr={{{,}}}
@ -72,15 +72,15 @@ setlocal fdn=20
setlocal fen
silent! normal! zE
let &fdl = &fdl
let s:l = 1 - ((0 * winheight(0) + 32) / 64)
let s:l = 38 - ((37 * winheight(0) + 31) / 62)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 1
normal! 0
keepjumps 38
normal! 03|
wincmd w
exe 'vert 1resize ' . ((&columns * 93 + 93) / 186)
exe 'vert 2resize ' . ((&columns * 92 + 93) / 186)
exe 'vert 1resize ' . ((&columns * 95 + 95) / 190)
exe 'vert 2resize ' . ((&columns * 94 + 95) / 190)
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf

View File

@ -15,14 +15,14 @@ else
endif
badd +248 custom/plugins.lua
badd +3 ~/.config/nvim/lua/custom/configs/lspconfig.lua
badd +49 custom/mappings.lua
badd +50 custom/mappings.lua
badd +4 custom/configs/rust-tools.lua
badd +28 custom/language_specific_commands/rust.lua
badd +29 custom/language_specific_commands/rust.lua
argglobal
%argdel
edit custom/language_specific_commands/rust.lua
argglobal
balt custom/plugins.lua
balt custom/configs/rust-tools.lua
setlocal fdm=manual
setlocal fde=0
setlocal fmr={{{,}}}
@ -33,11 +33,11 @@ setlocal fdn=20
setlocal fen
silent! normal! zE
let &fdl = &fdl
let s:l = 28 - ((27 * winheight(0) + 32) / 64)
let s:l = 1 - ((0 * winheight(0) + 31) / 62)
if s:l < 1 | let s:l = 1 | endif
keepjumps exe s:l
normal! zt
keepjumps 28
keepjumps 1
normal! 0
tabnext 1
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'

View File

@ -25,3 +25,15 @@ Then, we read in the data. Some interesting things happen here:
Wacky stuff.
Next, we do some interesting things with strings. Printing strings uses
curly brackets, kind of like python. These can hold the variable, or
use an expression that is later in the print statement. Like this:
```rust
let x = 6;
let guess = 3;
println!("You guessed: {}, {x}", guess);
>> You guessed 3, 6
```

View File

@ -0,0 +1 @@
{"rustc":13207435774680941178,"features":"[]","declared_features":"[]","target":6009296739970659531,"profile":11597332650809196192,"path":10602529704205407992,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/guessing_game-947c93e8f53d0ba4/dep-bin-guessing_game","checksum":false}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}

View File

@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@ -0,0 +1,5 @@
/home/danesabo/Documents/Dane's Vault/3-99 Research/Rust/guessing_game/target/debug/deps/guessing_game-947c93e8f53d0ba4: src/main.rs
/home/danesabo/Documents/Dane's Vault/3-99 Research/Rust/guessing_game/target/debug/deps/guessing_game-947c93e8f53d0ba4.d: src/main.rs
src/main.rs: