frawor / README.markdown

Diff from to

README.markdown

     definitions.
 
 2. If function cannot be anonymous (because it is is to be used by `sort()`, for 
-    example), then its name should be added to `s:_functions` list.
+    example), then its name should be added to `s:_.functions` list.
 
-3. If you define a command, its name should go to `s:_commands` list, same for 
-    autocommand groups (`s:_augroups`).
+3. If you define a command, its name should go to `s:_.commands` list, same for 
+    autocommand groups (`s:_.augroups`).
 
-4. All script-local variables whose name starts with `s:_` are reserved and 
+4. All script-local variables whose name starts with `s:_.` are reserved and 
     should be used only in a way described in documentation.
 
 Advantages
 
         execute frawor#Setup('0.0', {'@/mappings': '0.0'})
         <...>
-        call s:_f.mapgroup.add('Foo',
+        call s:_.f.mapgroup.add('Foo',
                 \{'bar': {'lhs': 't', 'rhs': ':Bar<CR>'},
                 \ 'baz': {'lhs': 'T', 'rhs': s:F.baz}},
             \{'leader': '<leader>', 'silent': 1})
 
         "plugin/foo.vim:
         execute frawor#Setup('0.0', {'@/options': '0.0'})
-        let s:_options={'columns': {'default': 80, 'checker': 'range 0 inf'}}
+        let s:_.options={'columns': {'default': 80, 'checker': 'range 0 inf'}}
         <...>
-                    let columns=s:_f.getoption('columns')
+                    let columns=s:_.f.getoption('columns')
         <...>
 
         "vimrc:
         let g:foo_columns=78
         autocmd FileType vim  let b:foo_columns=78
     If you don't want to prefix your options with `foo` (second component after 
-    runtimepath of a path to your plugin), define `s:_oprefix`. Note the 
+    runtimepath of a path to your plugin), define `s:_.oprefix`. Note the 
     `checker` key: it saves you from writing code for checking user input (but 
     will instead generate an exception for invalid value).
 
         function s:F.checkedfunc(format, columns)
             <...>
         endfunction
-        let s:F.checkedfunc=s:_f.wrapfunc({'function': s:F.checkedfunc,
+        let s:F.checkedfunc=s:_.f.wrapfunc({'function': s:F.checkedfunc,
                                           \'@FWC': ['key formats  '.
                                           \         'range 0 inf', 'check'],})
 
                       \'  format          key formats '.
                       \'!beatify :=(0)'}'
         " Define a :Foo command
-        call s:_f.command.add('Foo', {'function': s:F.run_foo,
-                                     \    '@FWC': [s:foo_args, 'filter'],}
-                             \{'complete': [s:foo_args], 'nargs': '+'})
+        call s:_.f.command.add('Foo', {'function': s:F.run_foo,
+                                      \    '@FWC': [s:foo_args, 'filter'],}
+                              \{'complete': [s:foo_args], 'nargs': '+'})
         " " Example usage:
         " Foo col 78 f markdown
         " Foo nobeatify f html
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.