Skip to content

Commit 48c4f27

Browse files
Merge pull request #348 from mikejmcguirk/master
refactor(drawer): set filetype after other options
2 parents 236179f + 30d72ea commit 48c4f27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoload/db_ui/drawer.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ function! s:drawer.open(...) abort
3535
silent! exe 'vertical '.win_pos.' new dbui'
3636
silent! exe 'vertical '.win_pos.' resize '.g:db_ui_winwidth
3737
endif
38-
setlocal filetype=dbui buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap nospell nomodifiable winfixwidth nonumber norelativenumber signcolumn=no
38+
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap nospell nomodifiable winfixwidth nonumber norelativenumber signcolumn=no
39+
setlocal filetype=dbui
3940

4041
call self.render()
4142
nnoremap <silent><buffer> <Plug>(DBUI_SelectLine) :call <sid>method('toggle_line', 'edit')<CR>

0 commit comments

Comments
 (0)