mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] make it so that indentLines doesn't close the intro screen
This commit is contained in:
parent
ca5544566a
commit
030c018bb4
2 changed files with 7 additions and 8 deletions
|
@ -31,6 +31,13 @@ set commentstring=//%s
|
||||||
let g:indentLine_showFirstIndentLevel = 1
|
let g:indentLine_showFirstIndentLevel = 1
|
||||||
let g:indentLine_fileTypeExclude = ['text', 'help', 'tutor', 'man']
|
let g:indentLine_fileTypeExclude = ['text', 'help', 'tutor', 'man']
|
||||||
|
|
||||||
|
augroup vimrc-indentlines-disable
|
||||||
|
autocmd!
|
||||||
|
autocmd TermOpen * IndentLinesDisable
|
||||||
|
" <https://github.com/Yggdroot/indentLine/issues/315#issuecomment-734535963>
|
||||||
|
autocmd VimEnter * if bufname('%') == '' | IndentLinesDisable | endif
|
||||||
|
augroup END
|
||||||
|
|
||||||
let g:detectindent_max_lines_to_analyse = 128
|
let g:detectindent_max_lines_to_analyse = 128
|
||||||
let g:detectindent_check_comment_syntax = 1
|
let g:detectindent_check_comment_syntax = 1
|
||||||
|
|
||||||
|
|
|
@ -137,12 +137,4 @@ endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
" Terminal {{{
|
|
||||||
augroup vimrc-terminal
|
|
||||||
autocmd!
|
|
||||||
autocmd TermOpen * IndentLinesDisable
|
|
||||||
augroup END
|
|
||||||
" }}}
|
|
||||||
|
|
||||||
|
|
||||||
nnoremap <silent> <F9> <Cmd>make<CR>
|
nnoremap <silent> <F9> <Cmd>make<CR>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue