won't allow to disable combo on specific filetypes for the time being

This commit is contained in:
əlemi 2021-02-21 21:08:21 +01:00
parent 08201add5c
commit a7fc88de04
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -12,10 +12,6 @@ else
let g:combo_file = $HOME . '/.vim/.combo/none.cmb'
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
if filereadable(g:combo_file)
let g:best_combo = readfile(g:combo_file)
@ -65,4 +61,3 @@ else
return "\<BS>"
endfunction
inoremap <expr> <BS> Decrease()
endif