mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] fix the disappearing intro/welcome screen
This commit is contained in:
parent
ca5544566a
commit
59c121fc31
4 changed files with 10 additions and 10 deletions
|
@ -54,7 +54,7 @@
|
||||||
hi! link Directory Title
|
hi! link Directory Title
|
||||||
call s:hi('Conceal', 0xC, 'NONE', '', '')
|
call s:hi('Conceal', 0xC, 'NONE', '', '')
|
||||||
call s:hi('NonText', 0x3, '', '', '')
|
call s:hi('NonText', 0x3, '', '', '')
|
||||||
hi! link SpecialKey NonText
|
hi! link SpecialKey Special
|
||||||
call s:hi('MatchParen', 'fg', 0x3, '', '')
|
call s:hi('MatchParen', 'fg', 0x3, '', '')
|
||||||
|
|
||||||
call s:hi('Keyword', 0xE, '', '', '')
|
call s:hi('Keyword', 0xE, '', '', '')
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Programming {{{
|
" Programming {{{
|
||||||
|
let g:polyglot_disabled = ['sensible']
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
Plug 'chikamichi/mediawiki.vim'
|
Plug 'chikamichi/mediawiki.vim'
|
||||||
Plug 'ron-rs/ron.vim'
|
Plug 'ron-rs/ron.vim'
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
@ -51,7 +58,7 @@ set commentstring=//%s
|
||||||
|
|
||||||
" Invisible characters {{{
|
" Invisible characters {{{
|
||||||
set list
|
set list
|
||||||
let &listchars = "tab:\u2192 ,extends:>,precedes:<,eol:\u00ac,trail:\u00b7"
|
let &listchars = "tab:\u2192 ,extends:>,precedes:<,eol:\u00ac,trail:\u00b7,nbsp:+"
|
||||||
let &showbreak = '>'
|
let &showbreak = '>'
|
||||||
set display+=uhex
|
set display+=uhex
|
||||||
" }}}
|
" }}}
|
||||||
|
|
|
@ -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