Skip to content

Commit 2cc786e

Browse files
Merge pull request #269 from ss-raicangu/fix/stop-overriding-list
fix: stop overriding `list` in query files
2 parents b4b95e0 + 296374a commit 2cc786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/db_ui/query.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function! s:query.setup_buffer(db, opts, buffer_name, was_single_win) abort
167167
endif
168168

169169
if &filetype !=? a:db.filetype || !is_existing_buffer
170-
silent! exe 'setlocal filetype='.a:db.filetype.' nolist noswapfile nowrap nospell modifiable'
170+
silent! exe 'setlocal noswapfile nowrap nospell modifiable filetype='.a:db.filetype
171171
endif
172172
let is_sql = &filetype ==? a:db.filetype
173173
nnoremap <silent><buffer><Plug>(DBUI_EditBindParameters) :call <sid>method('edit_bind_parameters')<CR>

0 commit comments

Comments
 (0)