summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
blob: cf13e514d448908ea1c4e76fdd721c0349b86604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function UtilityWinfiletypes()
  let winfiletypes = []
  for window_nr in range(1, winnr('$'))
    let filetype = getbufvar(winbufnr(window_nr), '&filetype')
    call add(winfiletypes, filetype)
  endfor

  return winfiletypes
endfunction

let g:NERDTreeNoInitFiletypes = ["DiffviewFiles"]
let g:NERDTreeStatusLineTabSwitchFiletypes = ["nerdtree", "help"]


source ~/.config/nvim/config/keys.vim
source ~/.config/nvim/config/config.vim
source ~/.config/nvim/plugins.vim