Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
added some rust deugging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
spikegrobstein committed Aug 14, 2022
1 parent b501086 commit 03f869b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions after/ftplugin/rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ nnoremap <buffer> <F6> <Plug>(coc-codeaction-selected)<CR>
" run rust fmt on the document.
nnoremap <buffer> <F8> :CocCommand editor.action.formatDocument<CR>
" use rust-gdb for debugging
packadd termdebug
let termdebugger="rust-gdb"

2 changes: 2 additions & 0 deletions plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Plug 'markcornick/vim-bats'
Plug 'vito-c/jq.vim'
Plug 'lepture/vim-jinja'

Plug 'rust-lang/rust.vim'


" colorschemes
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Expand Down

0 comments on commit 03f869b

Please sign in to comment.