Commits

ZyX_I committed 0255ad7

@/fwc/constructor: Now using minimized form by default

Comments (0)

Files changed (2)

autoload/frawor/fwc/constructor.vim

     let r=[]
     let items=map(deepcopy(self._tree), '[0, v:val]')
     let toextend=[]
-    let self._comp.indent=((a:0 && a:1)?(s:F.indentmin):(s:F.indent))
-    let self._comp._cmds=((a:0 && a:1)?(s:cmdmin):({}))
+    let self._comp.indent=((!a:0 || a:1)?(s:F.indentmin):(s:F.indent))
+    let self._comp._cmds=((!a:0 || a:1)?(s:cmdmin):({}))
     while !empty(items)
         let [indent, item]=remove(items, 0)
         if type(item)==type('')
     Removes items from |FWC-ck-_stack| until it finds block with given type.
 _tolist :: [ min] -> [ String ]                               *FWC-cf-_tolist*
     Constructs and returns a list of VimL commands. If {min} optional argument 
-    is present and true, then it removes indent and minimizes vim commands.
+    is not present or is true, then it removes indent and minimizes vim 
+    commands.
 break :: () -> self                                          *FWC-cf-break*
 continue :: () -> self                                       *FWC-cf-continue*
     Adds |FWC-cb-do| with argument equal to function name and goes up one 
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.