Remove hard-coded new line character option

This commit is contained in:
Zhengbo Li 2016-04-25 15:24:34 -07:00
parent 59d1f1f8ab
commit aca769f8c4

View File

@ -647,7 +647,7 @@ namespace ts.server {
const editorOptions: ts.EditorOptions = {
IndentSize: formatOptions.IndentSize,
TabSize: formatOptions.TabSize,
NewLineCharacter: "\n",
NewLineCharacter: formatOptions.NewLineCharacter,
ConvertTabsToSpaces: formatOptions.ConvertTabsToSpaces,
IndentStyle: ts.IndentStyle.Smart,
};