Commits

ZyX_I committed a2531e8

Some fixes

  • Participants
  • Parent commits cc41ab9

Comments (0)

Files changed (1)

plugin/frawor.vim

     let s:g._messages={
                 \ '_plstatuses': ['unloaded', 'registered', 'loaded'],
                 \'plregistered': 'Plugin %s was already registered '.
-                \                'in directory %s'
+                \                'in directory %s',
                 \   'doublereg': 'Refusing to register %s for the second time',
                 \  'vernotlist': 'Version argument of plugin %s is not a List',
                 \    'vershort': 'Version argument of plugin %s must have '.
         let curpath=fnamemodify(curpath, ':h')
     endwhile
     if !empty(foundrtp)
-        return [removedcomponents, join(removedcomponents, '/'), foundrtp]
+        return [get(removedcomponents, 0, 'plugin'),
+                    \join(removedcomponents, '/'), foundrtp]
     else
         return ['/unknown', join(removedcomponents,'/'), '']
     endif