Skip to content

Commit

Permalink
✨ (nvim/dpp_lazy.toml) Add quickrun config
Browse files Browse the repository at this point in the history
Add quickrun config to show result likes VSCode.
  • Loading branch information
Comamoca committed Nov 3, 2024
1 parent 967f060 commit 727ec6d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/nvim/dpp_lazy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,11 @@ hook_add = '''
" \ tempfile: '%{tempname()}.mbt',
" \ },
augroup quickrun
autocmd!
autocmd FileType quickrun nnoremap q <cmd>q<CR>
augroup END
" ref: https://github.com/4513ECHO/dotfiles/blob/c9f6da61c24da5742a81a89b1f9efa437d2df86e/config/nvim/dein/plugin.toml#L605
let g:quickrun_config = {
\ "gleam" : #{
Expand All @@ -1059,10 +1064,14 @@ let g:quickrun_config = {
\ command: 'gleam',
\ },
\ "_" : {
\ "outputter/buffer/split" : ":botright",
\ "outputter/buffer/opener" : "belowright 10split",
\ "outputter/buffer/into" : 1,
\ "outputter/buffer/close_on_empty" : 1
\ },
\}
" \ "outputter/buffer/split" : "belowright 10",
'''

[[plugins]]
Expand Down

0 comments on commit 727ec6d

Please sign in to comment.