Move context_filetype setting to plugin