nl_tokens: Add ref plugin
pl_tokens: function addBuiltinPlugin ( pluginName , appType , plugins , insertAtTop ) { let pluginInfo = BUILTIN_PLUGINS [ pluginName ] ; if ( typeof pluginInfo === 'object' ) { pluginInfo = pluginInfo [ appType ] || pluginInfo . default ; } pluginInfo = normalizeViewPlugins ( [ pluginInfo ] , appType ) [ 0 ] ; let plugin = Array . isArray ( pluginInfo ) ? pluginInfo [ 0 ] : pluginInfo ; let hasBuiltinPlugin = plugins . some ( item => ( plugin === ( <mask> . isArray ( item ) ? item [ 0 ] : item ) ) ) ; if ( ! hasBuiltinPlugin ) { plugins [ insertAtTop ? 'unshift' : 'push' ] ( pluginInfo ) ; } }