Document autoindent option (#664)

So people know they can turn it on/off.
This commit is contained in:
Aiden Scandella 2016-08-30 01:24:28 -07:00 committed by Grant Mathews
parent 214619d8d6
commit 1185bceee2
2 changed files with 2 additions and 1 deletions

View File

@ -463,6 +463,7 @@ Status | Command | Default Value | Description
:white_check_mark:| iskeyword (isk) | `@,48-57,_,128-167,224-235` | keywords contain alphanumeric characters and '_'. If there is no user setting for `iskeyword`, we use `editor.wordSeparators` properties.
:white_check_mark:| scroll (scr) | 20 | Number of lines to scroll with CTRL-U and CTRL-D commands.
:white_check_mark:| expandtab (et) | True. we use Code's default value `inserSpaces` instead of Vim | use spaces when <Tab> is inserted
:white_check_mark:| autoindent | true | Keep indentation when doing `cc` or `S` in normal mode to replace a line.
---

View File

@ -417,7 +417,7 @@ export class Position extends vscode.Position {
/**
* Get the beginning of the line, excluding preceeding whitespace.
* This respects the `noautoindent` setting, and returns `getLineBegin()` if auto-indent
* This respects the `autoindent` setting, and returns `getLineBegin()` if auto-indent
* is disabled.
*/
public getLineBeginRespectingIndent(): Position {