From: Maximilian Friedersdorff Date: Wed, 22 Apr 2020 11:05:41 +0000 (+0100) Subject: Its 2020, allow longer lines in python code X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=7bc7388d5ec162ff064bfb387c3059e3112464ee;p=max%2Fsaltfiles.git Its 2020, allow longer lines in python code --- diff --git a/states/aliases/files/aliases b/states/aliases/files/aliases index 413e41e..206b231 100644 --- a/states/aliases/files/aliases +++ b/states/aliases/files/aliases @@ -51,3 +51,5 @@ function search() { quoted=$(python -c "import urllib.parse, sys; print(urllib.parse.quote_plus(' '.join(sys.argv[1:])))" "${@}") w3m "https://duckduckgo.com/?q=${quoted}" } + +alias black='black --line-length 99' diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 7fb68ad..d8c9048 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -105,7 +105,7 @@ let g:clang_user_options='|| exit0' " Color 80th column highlight ColorColumn ctermbg=0 -set colorcolumn=80 +let &colorcolumn="80,".join(range(100,999),",") " Octave Syntax " augroup filetypedetect