ZyX_I avatar ZyX_I committed 1e364c6

Replaced 3-spaces indentation with 4-spaces for list items

Comments (0)

Files changed (1)

 
         function s:F.somefunc(args)
 
-   In some plugins you may even end with having no non-anonymous function 
-   definitions.
+    In some plugins you may even end with having no non-anonymous function 
+    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`).
+    autocommand groups (`s:_augroups`).
 4. All script-local variables whose name starts with `s:_` are reserved and 
-   should be used only in a way described in documentation.
+    should be used only in a way described in documentation.
 
 Advantages
 ==========
 
         call frawor#Reload('plugin/frawor')
 
-   to reload all plugins (as they all depend on core frawor module).
+    to reload all plugins (as they all depend on core frawor module).
 
 2. Frawor provides an easier way to mappings customization:
 
                 \{'bar': {'lhs': 't', 'rhs': ':Bar<CR>'},
                 \ 'baz': {'lhs': 'T', 'rhs': s:F.baz}},
             \{'leader': '<leader>', 'silent': 1})
-   will define two mappings: `<leader>t` which will call command `:Bar` and 
-   `<leader>T` which will run `s:F.baz` function. Both mappings are silent. Now 
-   pretend that you are the user who does not need to run `s:F.baz` and wants to 
-   launch `:Bar` using `,t`. In this case all he needs is to add the following 
-   lines to the vimrc:
+    will define two mappings: `<leader>t` which will call command `:Bar` and 
+    `<leader>T` which will run `s:F.baz` function. Both mappings are silent. Now 
+    pretend that you are the user who does not need to run `s:F.baz` and wants to 
+    launch `:Bar` using `,t`. In this case all he needs is to add the following 
+    lines to the vimrc:
 
         let g:frawormap_Foo=','
 
         let g:frawormap_Foo_bar='t'
         let g:frawormap_Foo_baz=0
 
-   Replacing `','` with `0` here will lead to disabling the whole mapping 
-   group.
+    Replacing `','` with `0` here will lead to disabling the whole mapping 
+    group.
 
 3. Options:
 
         "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 
-   `checker` key: it saves you from writing code for checking user input (but 
-   will instead generate an exception for invalid value).
+    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 
+    `checker` key: it saves you from writing code for checking user input (but 
+    will instead generate an exception for invalid value).
 
 4. Function argument checks:
 
                                           \'@FWC': ['key formats  '.
                                           \         'range 0 inf', 'check'],})
 
-   Here you can see FWC decorator which uses FWC-to-vimscript compiler where FWC 
-   is a name of the domain-specific language written exclusively for frawor.
+    Here you can see FWC decorator which uses FWC-to-vimscript compiler where FWC 
+    is a name of the domain-specific language written exclusively for frawor.
 
 5. Complicated command-line arguments handling:
 
         " Foo nobeatify f html
         " Foo format html beatify c 78
 
-   Note that while command accepts short versions of prefixes, `s:F.run_foo` 
-   function will get dictionary with only full names.
+    Note that while command accepts short versions of prefixes, `s:F.run_foo` 
+    function will get dictionary with only full names.
 
 6. Portable versions of OS-specific functions: vimscript implementation of some 
-   functions from python os module.
+    functions from python os module.
 
 7. Vimscript base64 encoder/decoder, fancy table echoing, maparg that returns 
-   dictionary for old vim's and more.
+    dictionary for old vim's and more.
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.