only update current scope if the filetype can show scope trees