Commit bca8afb
Removed hardcoded path, fix for first time not creating playground basedir (#7)
* Reworked this since it didnt work for me at all. Now uses 'cargo run' and proper crate dir structure, with a cargo.toml file.
* fixed up deletion to be more robust
* commented out debug message
* removed a bunch of unused and commented out code
* more cleanup, also -rm wasnt using the new snippet base dir function
* added a macro to wrap interactive commands, to warn and exit if not in a playground
* changed those big blocks of text to custom vars
* finally got the keymap working
* cleaned up the file header/template
* remembered that 'unless' exists
* killed dead code, added a comment
* Made template work in cargo.toml. Fixed places where 'unless doesnt work.
* fixed up the -rm function, now it actually kills all buffers related to the snippet (basically)
* corrected comment
* moved a function up for readability, updated Commentary documentation section, restored README.md, deleted unused upload/download code (rust playground on the web just uses gists on github)
* wasnt ever using the rust-playground-compile-command custom, so used that
* updated the startup screenshot to show the new stuff
* made use of some of the functions I defined, DRY
* fixed a hard coded path that was breaking the package
* used mapcar instead of seq-map because its built-in, made the snippet dir create parents for first run.1 parent 9b3f2a6 commit bca8afb
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
0 commit comments