summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
blob: 5e9fb44af8e4a77b9af45d295fc396e0e8d8dd84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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/plugins/_install.vim
source ~/.config/nvim/config/config.vim
source ~/.config/nvim/config/keys.vim
source ~/.config/nvim/plugins/_load.vim