vim: add ft from bpftace file

This commit is contained in:
Mathieu Maret 2022-07-31 01:28:59 +02:00
parent e8bbce1878
commit 841caadc98

2
.vimrc
View File

@ -861,6 +861,8 @@ let skeletons#skeletonsDir = ["~/.vim/templates/"]
Plugin 'lfilho/cosco.vim'
autocmd FileType c,cpp nmap <silent> <Leader>; <Plug>(cosco-commaOrSemiColon)
autocmd FileType c,cpp imap <silent> <Leader>; <c-o><Plug>(cosco-commaOrSemiColon)
Plugin 'mmarchini/bpftrace.vim'
autocmd BufNewFile,BufRead *.bt setfiletype bpftrace
" Source the termdebug plugin
packadd termdebug