@@ -1855,11 +1855,12 @@ fn get_lines(doc: &Document, view_id: ViewId) -> Vec<usize> {
1857pub fn indent(cx: &mut Context) {
1857pub fn indent(cx: &mut Context) {
1858+ let count = cx.count;
1858 let (view, doc) = cx.current();
1859 let (view, doc) = cx.current();
1859 let lines = get_lines(doc, view.id);
1860 let lines = get_lines(doc, view.id);
1861 // Indent by one level
1862 // Indent by one level
1862− let indent = Tendril::from(doc.indent_unit());
1863+ let indent = Tendril::from(doc.indent_unit().repeat(count));
1864 let transaction = Transaction::change(
1865 let transaction = Transaction::change(
1865 doc.text(),
1866 doc.text(),