]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ftplugin/c.vim
vim: separate fswitch settings for C and C++
[dotfiles.git] / vim / ftplugin / c.vim
index 9dbf048aff37dad5de82537f0bbef982a396794f..3b54992308536e2f2de3c72f30d0ea6d15adb7be 100644 (file)
@@ -7,10 +7,6 @@ augroup fswitch
     au BufEnter *.h        let b:fswitchlocs = '.,reg:|include.*|src|'
     au BufEnter *.c        let b:fswitchdst  = 'h'
     au BufEnter *.c        let b:fswitchlocs = 'reg:|source|include/**|'
-    au BufEnter *.hpp      let b:fswitchdst  = 'cpp,cxx,c'
-    au BufEnter *.hpp      let b:fswitchlocs = 'reg:|include.*|src|'
-    au BufEnter *.c(pp|xx) let b:fswitchdst  = 'hpp,h'
-    au BufEnter *.c(pp|xx) let b:fswitchlocs = 'reg:|src|include/**|'
 augroup END
 
 nnoremap <buffer> gd :YcmCompleter GoTo<CR>