nvim: Move the QF autocmd to it's ftplugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
5e5b331986
commit
7a9e5f3b7d
2 changed files with 2 additions and 5 deletions
|
@ -1,3 +1,5 @@
|
|||
" Always open QF window at the bottom
|
||||
wincmd J
|
||||
" Quit vim if the last window is qf
|
||||
autocmd BufEnter <buffer> if winnr('$') < 2| q | endif
|
||||
|
||||
|
|
|
@ -23,10 +23,5 @@ augroup UserStatusline
|
|||
autocmd ColorScheme * hi User8 guifg=DarkYellow guibg=Black
|
||||
augroup END
|
||||
|
||||
augroup QfAlwaysBottom
|
||||
autocmd!
|
||||
autocmd FileType qf wincmd J
|
||||
augroup END
|
||||
|
||||
" Use completion-nvim in every buffer
|
||||
autocmd BufEnter * lua require'completion'.on_attach()
|
||||
|
|
Loading…
Reference in a new issue