Commits

guillermooo committed 195f274

fix :global command

  • Participants
  • Parent commits feb25a3

Comments (0)

Files changed (1)

             ExGlobal.most_recent_pat = global_pattern
         else:
             global_pattern = ExGlobal.most_recent_pat
+            
         # Make sure we always have a subcommand to exectute. This is what
         # Vim does too.
         subcmd = subcmd or 'print'
 
-        rs = get_region_by_range(self.view, line_range=line_range)
+        rs = get_region_by_range(self.view, line_range=line_range, as_lines=True)
 
         for r in rs:
             try: