Commits

ZyX_I committed 8fd2cfe

Fixed some typos

Comments (0)

Files changed (5)

plugin/frawor/lua.vim

         let pathstr=';'.s:_r.os.path.join(dir, '?.lua').';'.
                     \   s:_r.os.path.join(dir, '?', 'init.lua')
         if has_key(s:addedpaths, dir)
-            let s:addedpaths+=1
+            let s:addedpaths[dir]+=1
         else
             let s:addedpaths[dir]=1
             lua package.path=package.path..vim.eval('pathstr')

plugin/frawor/perl.vim

     let dir=s:_r.os.path.join(a:plugdict.runtimepath, 'perl')
     if s:_r.os.path.isdir(dir)
         if has_key(s:addedpaths, dir)
-            let s:addedpaths+=1
+            let s:addedpaths[dir]+=1
         else
             let s:addedpaths[dir]=1
             perl push @INC, [VIM::Eval('dir')]->[1];

plugin/frawor/python.vim

     let dir=s:_r.os.path.join(a:plugdict.runtimepath, 'python')
     if s:_r.os.path.isdir(dir)
         if has_key(s:addedpaths, dir)
-            let s:addedpaths+=1
+            let s:addedpaths[dir]+=1
         else
             let s:addedpaths[dir]=1
             call s:py.run('sys.path.append(vim.eval("a:1"))', dir)

plugin/frawor/ruby.vim

     let dir=s:_r.os.path.join(a:plugdict.runtimepath, 'ruby')
     if s:_r.os.path.isdir(dir)
         if has_key(s:addedpaths, dir)
-            let s:addedpaths+=1
+            let s:addedpaths[dir]+=1
         else
             let s:addedpaths[dir]=1
             ruby $LOAD_PATH << VIM::evaluate('dir')

plugin/frawor/tcl.vim

     let dir=s:_r.os.path.join(a:plugdict.runtimepath, 'tcl')
     if s:_r.os.path.isdir(dir)
         if has_key(s:addedpaths, dir)
-            let s:addedpaths+=1
+            let s:addedpaths[dir]+=1
         else
             let s:addedpaths[dir]=1
             tcl lappend auto_path [::vim::expr 'dir'] ; list
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.