From ee4e180afb79abec8a728294a5c721ee0d426277 Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 14 Dec 2021 12:09:06 -0700 Subject: [PATCH] Added music to S3 Media sync; Updated vim formatting for various filetypes --- env/env.zsh | 2 ++ vim/formatting.vim | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/env/env.zsh b/env/env.zsh index 6c21c46..9999c42 100644 --- a/env/env.zsh +++ b/env/env.zsh @@ -33,6 +33,8 @@ S3_SYNC_MEDIA=( #".local/share/dolphin-emu" #"Games/roms" #"Games/wrynscape" + "Media/fe10-radiant-dawn-ost" + "Media/fiesta-online-ost" "Media/sfx" "Pictures/bg" "Pictures/bg-archives" diff --git a/vim/formatting.vim b/vim/formatting.vim index f88f077..7a4717b 100644 --- a/vim/formatting.vim +++ b/vim/formatting.vim @@ -20,8 +20,10 @@ augroup filetype_specific_formatting autocmd FileType cmake call FormatFileType(4, v:true, 'indent', 99, v:false) autocmd FileType cs call FormatFileType(4, v:true, 'indent', 99, v:false) autocmd FileType css call FormatFileType(2, v:true, 'indent', 99, v:false) + autocmd FileType sass call FormatFileType(2, v:true, 'indent', 99, v:false) autocmd FileType html call FormatFileType(2, v:true, 'indent', 99, v:false) autocmd FileType javascript call FormatFileType(2, v:true, 'indent', 99, v:false) + autocmd FileType typescript call FormatFileType(2, v:true, 'indent', 99, v:false) autocmd FileType vim call FormatFileType(4, v:false, 'marker', 99, v:false) autocmd FileType sh call FormatFileType(4, v:false, 'indent', 99, v:false) autocmd FileType zsh call FormatFileType(4, v:false, 'indent', 99, v:false) @@ -39,9 +41,10 @@ augroup filetype_specific_formatting augroup end augroup forced_filetype_recognition - autocmd BufRead,BufNewFile *.tmux setfiletype tmux - autocmd BufRead,BufNewFile *.clisp setfiletype lisp - autocmd BufRead,BufNewFile *.lsp setfiletype lisp + autocmd BufRead,BufNewFile *.tmux setfiletype tmux + autocmd BufRead,BufNewFile *.clisp setfiletype lisp + autocmd BufRead,BufNewFile *.lsp setfiletype lisp + autocmd BufRead,BufNewFile Dockerfile* setfiletype dockerfile let g:tex_flavor = "latex" augroup end