forked from sharat87/roast.vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Post request body can now be read from file.
- Loading branch information
Showing
2 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
aug roast_response_maps | ||
au! | ||
au BufNewFile __roast_* nnoremap <buffer> <silent> <C-j> :py3 roast.next_render()<CR> | ||
au BufNewFile __roast_* nnoremap <buffer> <silent> <C-k> :py3 roast.prev_render()<CR> | ||
aug END | ||
|
||
if (&bg ==? 'light') | ||
highlight default RoastCurrentSuccess guibg=#E7F4D2 gui=bold | ||
highlight default RoastCurrentFailure guibg=#F4DFD2 gui=bold | ||
else | ||
highlight default RoastCurrentSuccess guibg=#005A66 gui=bold | ||
endif | ||
|
||
py3 import roast | ||
|
||
fun! roast#run() | ||
py3 roast.run() | ||
endfun | ||
aug roast_response_maps | ||
au! | ||
au BufNewFile __roast_* nnoremap <buffer> <silent> <C-j> :py3 roast.next_render()<CR> | ||
au BufNewFile __roast_* nnoremap <buffer> <silent> <C-k> :py3 roast.prev_render()<CR> | ||
aug END | ||
|
||
if (&bg ==? 'light') | ||
highlight default RoastCurrentSuccess guibg=#E7F4D2 gui=bold | ||
highlight default RoastCurrentFailure guibg=#F4DFD2 gui=bold | ||
else | ||
highlight default RoastCurrentSuccess guibg=#005A66 gui=bold | ||
endif | ||
|
||
py3 import roast | ||
|
||
fun! roast#run() | ||
py3 roast.run() | ||
endfun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters