Add :BrightestLock, :BrightestUnlock.

This commit is contained in:
manga_osyo
2014-08-29 14:31:31 +09:00
parent 905e35eeea
commit 572d8bdb13
3 changed files with 15 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ endfunction
function! s:is_enable_in_current(context)
let default = get(g:brightest#enable_filetypes, "_", 1)
return g:brightest_enable && get(g:brightest#enable_filetypes, a:context.filetype, default)
return get(g:brightest#enable_filetypes, a:context.filetype, default)
endfunction