|
|
|
@ -44,6 +44,7 @@ au BufRead,BufNewFile .Rprofile setfiletype r
|
|
|
|
|
au BufRead,BufNewFile .envrc setfiletype sh
|
|
|
|
|
au BufRead,BufNewFile Dockerfile* setfiletype dockerfile
|
|
|
|
|
au BufRead,BufNewFile Pipfile setfiletype toml
|
|
|
|
|
au BufRead,BufNewFile kubectl-edit-status-* setfiletype yaml
|
|
|
|
|
au BufWritePre *.py execute ':Black'
|
|
|
|
|
au BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
|
|
|
|
|
au FileType go nmap <leader>r <Plug>(go-run)
|
|
|
|
@ -96,14 +97,6 @@ let g:vim_markdown_folding_disabled = 1
|
|
|
|
|
let g:vim_markdown_frontmatter = 1
|
|
|
|
|
let g:yapf_style = "pep8"
|
|
|
|
|
|
|
|
|
|
if has("python3")
|
|
|
|
|
python3 import sys
|
|
|
|
|
python3 sys.path.append("/usr/lib/python3/dist-packages")
|
|
|
|
|
python3 from powerline.vim import setup as powerline_setup
|
|
|
|
|
python3 powerline_setup()
|
|
|
|
|
python3 del powerline_setup
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
packadd! dracula
|
|
|
|
|
colorscheme dracula
|
|
|
|
|
|
|
|
|
|