Remove hard-coded new line character option

This commit is contained in:
Zhengbo Li committed 2016-04-25 15:24:34 -07:00
1 parent 59d1f1f8ab
commit aca769f8c4
1 file changed
+1 -1
+1 -1
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,
};