Source

aurum / autoload / aurum / vimdiff.vim

Diff from to

autoload/aurum/vimdiff.vim

 "▶1 
 scriptencoding utf-8
-execute frawor#Setup('1.1', {'@%aurum/cmdutils': '4.0',
+execute frawor#Setup('1.1', {'@%aurum/cmdutils': '4.3',
             \                    '@%aurum/edit': '1.3',
-            \                          '@aurum': '1.0',
+            \                     '@/functions': '0.1',
+            \                           '@/fwc': '0.0',
             \                      '@/mappings': '0.0',
             \                     '@/resources': '0.0',
             \                       '@/options': '0.0',
 endfunction
 "▶1 :AuVimDiff
 " TODO exclude binary files from full diff
-function s:cmd.function(opts, ...)
+let s:_aufunctions.cmd={'@FWC': ['-onlystrings '.
+            \'{  repo  '.s:_r.cmdutils.comp.repo.
+            \'  ?file  '.s:_r.cmdutils.comp.file.
+            \' *?files (match /\W/)'.
+            \' !?full'.
+            \' !?untracked'.
+            \' !?onlymodified'.
+            \' !?curfile'.
+            \' !?usewin'.
+            \'}'.
+            \'+ '.s:_r.cmdutils.comp.rev, 'filter']}
+let s:_aufunctions.comp=s:_r.cmdutils.gencompfunc(s:_aufunctions.cmd['@FWC'][0],
+            \[['\V(match /\\W/)', '(path)', '']], s:_f.fwc.compile)
+function s:_aufunctions.cmd.function(opts, ...)
     "▶2 repo and revisions
     let full=get(a:opts, 'full', 0)
     let action=((full)?('getfiles'):('open'))