]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Its 2020, allow longer lines in python code
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 22 Apr 2020 11:05:41 +0000 (12:05 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 22 Apr 2020 11:05:41 +0000 (12:05 +0100)
states/aliases/files/aliases
states/vim/files/vimrc

index 413e41ed25d7e05f6862d3b3eb1a30f10efda110..206b23157f97692a0ce0b3504ed7c968bd99af3e 100644 (file)
@@ -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'
index 7fb68adfb6ccee71dc0cdbe24a3da930f1f75fc2..d8c90484e4e5eb83fa3af469b186251f662f3eb8 100644 (file)
@@ -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