mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-02 21:44:29 +02:00
enc: move config auto br from autocmd to vertcolumn config
This commit is contained in:
parent
e7cf581b2a
commit
33335939d0
4 changed files with 63 additions and 64 deletions
|
@ -4,11 +4,11 @@ vim.cmd [[
|
|||
autocmd!
|
||||
autocmd FileType qf,help,man,lspinfo nnoremap <silent> <buffer> q :close<CR>
|
||||
autocmd TextYankPost * silent!lua require('vim.highlight').on_yank({higroup = 'Visual', timeout = 200})
|
||||
autocmd BufWinEnter * :set formatoptions=croql
|
||||
autocmd BufWinEnter * :set textwidth=80
|
||||
autocmd BufWinEnter * :set colorcolumn=+1
|
||||
autocmd BufWinEnter * :set nolazyredraw
|
||||
autocmd BufWinEnter * :hi ColorColumn guibg=#1B243000 ctermbg=246
|
||||
" autocmd BufWinEnter * :set formatoptions=croql
|
||||
" autocmd BufWinEnter * :set textwidth=80
|
||||
" autocmd BufWinEnter * :set colorcolumn=+1
|
||||
" autocmd BufWinEnter * :set nolazyredraw
|
||||
" autocmd BufWinEnter * :hi ColorColumn guibg=#1B243000 ctermbg=246
|
||||
autocmd FileType qf set nobuflisted
|
||||
augroup end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue