Skip to content

Commit

Permalink
Remove cursorline option
Browse files Browse the repository at this point in the history
  • Loading branch information
seblj committed Jan 13, 2024
1 parent 9ddb062 commit a7e8c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/db_ui/drawer.vim
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function! s:drawer.open(...) abort
silent! exe 'vertical '.win_pos.' new dbui'
silent! exe 'vertical '.win_pos.' resize '.g:db_ui_winwidth
endif
setlocal filetype=dbui buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nomodifiable winfixwidth nonumber norelativenumber signcolumn=no
setlocal filetype=dbui buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap nospell nomodifiable winfixwidth nonumber norelativenumber signcolumn=no
call self.render()
nnoremap <silent><buffer> <Plug>(DBUI_SelectLine) :call <sid>method('toggle_line', 'edit')<CR>
Expand Down
2 changes: 1 addition & 1 deletion autoload/db_ui/query.vim
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function! s:query.setup_buffer(db, opts, buffer_name, was_single_win) abort
endif

if &filetype !=? a:db.filetype || !is_existing_buffer
silent! exe 'setlocal filetype='.a:db.filetype.' nolist noswapfile nowrap cursorline nospell modifiable'
silent! exe 'setlocal filetype='.a:db.filetype.' nolist noswapfile nowrap nospell modifiable'
endif
let is_sql = &filetype ==? a:db.filetype
nnoremap <silent><buffer><Plug>(DBUI_EditBindParameters) :call <sid>method('edit_bind_parameters')<CR>
Expand Down

0 comments on commit a7e8c6e

Please sign in to comment.