diff options
author | Oxbian <oxbian@mailbox.org> | 2025-03-24 21:38:08 -0400 |
---|---|---|
committer | Oxbian <oxbian@mailbox.org> | 2025-03-24 21:38:08 -0400 |
commit | 1e4633737b636fd29cfe4add6752aea73639be0c (patch) | |
tree | d19ed20ebf8662c621151f7d92ce6eb7d1bd2bb7 /conf/options.vim | |
parent | 14779f654194f86b3cec6d89e3fef9e792d29026 (diff) | |
download | vimrc-1e4633737b636fd29cfe4add6752aea73639be0c.tar.gz vimrc-1e4633737b636fd29cfe4add6752aea73639be0c.zip |
feat: better formatter and auto relign at 80 cols
Diffstat (limited to 'conf/options.vim')
-rw-r--r-- | conf/options.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/options.vim b/conf/options.vim index c4e131c..8e84a25 100644 --- a/conf/options.vim +++ b/conf/options.vim @@ -9,8 +9,8 @@ syntax on " Show syntax color set number " Show line number colorscheme onedark " Set vim theme to onedark set colorcolumn=80 " Add an indicator for 80 char limit -"set textwidth=80 " Set max text width -"autocmd BufNewFile,BufRead * setlocal formatoptions=cropt " Linebreak at 80 char +set textwidth=80 " Set max text width +autocmd BufNewFile,BufRead * setlocal formatoptions=cropt " Linebreak at 80 char set relativenumber " Show relative line number set cursorline " Select the current line set showmatch " Show matching brackets when hovered |