<commit_before>if exists('+cursorcolumn')
  setlocal nocursorcolumn
endif

setlocal nocursorline
setlocal nolist
setlocal number
setlocal scrolloff=0<commit_msg>Vim: don't clobber scrolloff on showing the quickfix window<commit_after>if exists('+cursorcolumn')
  setlocal nocursorcolumn
endif

setlocal nocursorline
setlocal nolist
setlocal number

" Want to set scrolloff only for the qf window, but it is a global option.
let s:original_scrolloff = &scrolloff
set scrolloff=0

augroup WincentQuickfix
  autocmd!
  autocmd BufLeave <buffer> execute 'set scrolloff=' . s:original_scrolloff
  autocmd BufEnter <buffer> set scrolloff=0
augroup END
{'fraction_non_alphanumeric': 0.05736434108527132, 'fraction_numerical': 0.004651162790697674, 'mean_word_length': 6.425287356321839, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6189834', 'n_tokens_mistral': 208, 'n_tokens_neox': 200, 'n_words': 68}