yaml indenting and wildmenu enabled
This commit is contained in:
parent
b189ad9e7a
commit
078203638f
|
@ -0,0 +1,5 @@
|
|||
set softtabstop=2
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set shiftround
|
||||
set autoindent
|
15
vimrc
15
vimrc
|
@ -108,6 +108,9 @@ set ignorecase
|
|||
" unless search contains uppercase
|
||||
set smartcase
|
||||
|
||||
set wildmenu
|
||||
set wildmode=longest:full,full
|
||||
|
||||
" allow hidden buffers
|
||||
set hidden
|
||||
|
||||
|
@ -372,12 +375,20 @@ nnoremap <leader>ut :UndotreeToggle<cr>
|
|||
|
||||
" vim-project-tags
|
||||
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()
|
||||
" 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('.phptags', 'php')
|
||||
" endfunction
|
||||
|
||||
" above function causes error (maybe autoloading problem when no
|
||||
" tags are being used or whatever?)
|
||||
" see if following three lines work instead
|
||||
call project_tags#add_language('.jstags', 'js')
|
||||
call project_tags#add_language('.vimtags', 'vim')
|
||||
call project_tags#add_language('.phptags', 'php')
|
||||
endfunction
|
||||
|
||||
call project_tags#add_language('.csstags','css')
|
||||
call project_tags#add_language('.scsstags','scss')
|
||||
|
|
Loading…
Reference in New Issue