override vim-project-tags filenames for the built in languages
This commit is contained in:
parent
1d10b43b6e
commit
b6131e0868
13
vimrc
13
vimrc
|
@ -268,8 +268,6 @@ nnoremap <leader>p :echom SyntaxItem()<CR>
|
|||
|
||||
" plugins stuff
|
||||
|
||||
" vim-project-tags
|
||||
source ~/.vim/bundle/vim-elhiv/elhiv.vim
|
||||
|
||||
" MUcomplete
|
||||
set completeopt+=menuone
|
||||
|
@ -360,11 +358,16 @@ nnoremap <leader>o :BufExplorer<CR>
|
|||
nnoremap <leader>ut :UndotreeToggle<cr>
|
||||
|
||||
" vim-project-tags
|
||||
call project_tags#add_language('.phptags','php')
|
||||
source ~/.vim/bundle/vim-elhiv/elhiv.vim
|
||||
" override function so we can have custom tag names for built in languages
|
||||
function! project_tags#add_built_in_language_support()
|
||||
call project_tags#add_language('.jstags', 'js')
|
||||
call project_tags#add_language('.vimtags', 'vim')
|
||||
call project_tags#add_language('.css','css')
|
||||
call project_tags#add_language('.scss','scss')
|
||||
call project_tags#add_language('.phptags', 'php')
|
||||
endfunction
|
||||
|
||||
call project_tags#add_language('.csstags','css')
|
||||
call project_tags#add_language('.scsstags','scss')
|
||||
|
||||
" jsut some example text one two three four five Six "Seven"
|
||||
|
||||
|
|
Loading…
Reference in New Issue