# --secondary-sid is used on the command line (mpv only saves settings with a
# different value).
watch-later-options-append=secondary-sid
+# Also keep play/pause state (necessary since 0.37).
+watch-later-options-append=pause
# vim: ft=mplayerconf
# Same for https://sum.golang.org/
GOSUMDB=off
export GOSUMDB
+# Don't automatically download and execute other version of the Go toolchain
+GOTOOLCHAIN=local
+export GOTOOLCHAIN
# Tell `ip -color` to use colors suitable for a dark terminal. Not sure if
# this variable is also used by other programs.
endif
" Settings for securemodelines.
- " Only allow items I need (also includes spl which is not enabled by
- " default).
+ " Only allow items I need
if v:version >= 700 " need lists
let g:secure_modelines_allowed_items = ['ft', 'spl', 'fdm',
- \ 'sw', 'sts', 'noet']
+ \ 'ts', 'sw', 'sts', 'noet']
endif
" Settings for gnupg.
autocmd FileType vimperator setlocal commentstring=\"%s
" Use TeX compiler for (La)TeX files.
autocmd FileType tex compiler tex
-" Go always uses tabs for indentation.
- autocmd FileType go call <SID>UseTabs()
+" Go always uses tabs for indentation; use BufRead so modelines can overwrite
+" settings like 'tabstop'
+ autocmd BufRead,StdinReadPost *.go call <SID>UseTabs()
" FTDETECT AUTO COMMANDS