From 7bc7388d5ec162ff064bfb387c3059e3112464ee Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 22 Apr 2020 12:05:41 +0100 Subject: [PATCH] Its 2020, allow longer lines in python code --- states/aliases/files/aliases | 2 ++ states/vim/files/vimrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.46.2