Skip to content

Commit

Permalink
Update black line length to 120
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Mar 19, 2024
1 parent 3fbc4ed commit 7f643b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/nvim/lua/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ vim.cmd [[
autocmd FileType qf set nonumber
if $USER == 'mujin'
set colorcolumn=111
autocmd FileType python noremap <localleader>b :!black --line-length 110 %<CR>
set colorcolumn=120
autocmd FileType python noremap <localleader>b :!black --line-length 120 %<CR>
autocmd FileType python noremap <localleader>i :!isort --force-single-line %<CR>
autocmd FileType python xnoremap <localleader>b :!blacken 110<CR>
autocmd FileType python xnoremap <localleader>b :!blacken 120<CR>
else
set colorcolumn=89
set colorcolumn=88
autocmd FileType python noremap <localleader>b :!black %<CR>
endif
]]

0 comments on commit 7f643b5

Please sign in to comment.