Merge pull request #8291 from zhengbli/honorEditorOptions
Remove hard-coded new line character option
This commit is contained in:
commit
c953128870
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue