dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit d2de7d5841fc50910dec0daeb66d51ed2b9af6ad
parent fa90efd10c71fb19a2903bab3e88ac00c87099bc
Author: Chris Bracken <chris@bracken.jp>
Date:   Fri, 19 Sep 2025 19:36:07 +0900

nvim: update Python cursorcolumn to 88

Arguably, this should be in the after/ftplugin config with the indent.

Diffstat:
M.config/nvim/lua/config/colorscheme.lua | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.config/nvim/lua/config/colorscheme.lua b/.config/nvim/lua/config/colorscheme.lua @@ -30,6 +30,10 @@ if vim.fn.has('termguicolors') == 1 then command = 'set colorcolumn=80 | set textwidth=80' }) vim.api.nvim_create_autocmd({'BufEnter', 'InsertLeave'}, { + pattern = {'*.py'}, + command = 'set colorcolumn=88 | set textwidth=88' + }) + vim.api.nvim_create_autocmd({'BufEnter', 'InsertLeave'}, { pattern = {'*.java', '*.m', '*.mm', '*.swift'}, command = 'set colorcolumn=100 | set textwidth=100' })