Compare commits
2 Commits
f084b19637
...
40eb9aa808
Author | SHA1 | Date | |
---|---|---|---|
40eb9aa808 | |||
53082c6034 |
3
ssh.md
3
ssh.md
|
@ -5,3 +5,6 @@
|
|||
* `ssh-keygen -lf ~/.ssh/filename`
|
||||
* `ssh-keygen -lf ~/.ssh/filename.pub`
|
||||
|
||||
# Linux
|
||||
|
||||
You might need to run `ssh-add ~/.ssh/id_rsa` after setting up your key.
|
||||
|
|
16
vimrc
16
vimrc
|
@ -1187,11 +1187,17 @@ function! Build(optimized=0, silent=0)
|
|||
|
||||
if a:optimized == 1
|
||||
echo "Compiling release build.jai"
|
||||
let l:cmd .= " -release"
|
||||
" @note We pass 'release' as a user command arg for the build file
|
||||
" to parse. -release is a compiler arg and we don't want to use
|
||||
" that. Ideally the build script would ignore that completely.
|
||||
let l:cmd .= " - release"
|
||||
else
|
||||
echo "Compiling debug build.jai"
|
||||
endif
|
||||
|
||||
" @note We aren't importing the local modules because the build file
|
||||
" should manage that sort of thing for us.
|
||||
|
||||
elseif l:ext == "jai"
|
||||
let l:is_jai = 1
|
||||
let l:cmd = "jai % "
|
||||
|
@ -1227,6 +1233,9 @@ function! Build(optimized=0, silent=0)
|
|||
endfunction
|
||||
|
||||
function! RunProgram()
|
||||
if filereadable("run")
|
||||
exec "AsyncRun! -post=call\\ StopRunTask() ./run %"
|
||||
else
|
||||
let l:ext = tolower(expand('%:e'))
|
||||
if l:ext == "jai"
|
||||
if filereadable(expand('%:p:r') . '.exe')
|
||||
|
@ -1245,12 +1254,9 @@ function! RunProgram()
|
|||
call PrintError("No exe found. Compile first?")
|
||||
endif
|
||||
endif
|
||||
|
||||
elseif l:ext == "py"
|
||||
exec "AsyncRun! python %"
|
||||
|
||||
else
|
||||
exec "AsyncRun! -post=call\\ StopRunTask() ./run %"
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user