won't allow to disable combo on specific filetypes for the time being
This commit is contained in:
parent
08201add5c
commit
a7fc88de04
1 changed files with 47 additions and 52 deletions
|
@ -12,10 +12,6 @@ else
|
||||||
let g:combo_file = $HOME . '/.vim/.combo/none.cmb'
|
let g:combo_file = $HOME . '/.vim/.combo/none.cmb'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" If file should be ignored, just set text, else continue with script
|
|
||||||
if g:disable_combo
|
|
||||||
let g:combo = "N/A"
|
|
||||||
else
|
|
||||||
" Find best score for current filetype. If none exists, start tracking
|
" Find best score for current filetype. If none exists, start tracking
|
||||||
if filereadable(g:combo_file)
|
if filereadable(g:combo_file)
|
||||||
let g:best_combo = readfile(g:combo_file)
|
let g:best_combo = readfile(g:combo_file)
|
||||||
|
@ -65,4 +61,3 @@ else
|
||||||
return "\<BS>"
|
return "\<BS>"
|
||||||
endfunction
|
endfunction
|
||||||
inoremap <expr> <BS> Decrease()
|
inoremap <expr> <BS> Decrease()
|
||||||
endif
|
|
||||||
|
|
Loading…
Reference in a new issue