Fixing Sublime Text 2 line endings?

后端 未结 4 1924
庸人自扰
庸人自扰 2020-11-27 10:57

Here is my Settings - User config:

{
    \"auto_indent\": true,
    \"color_scheme\": \"Packages/Color Scheme - Default/Twilight.tmTheme\",
             


        
4条回答
  •  攒了一身酷
    2020-11-27 11:05

    The comment states

    // Determines what character(s) are used to terminate each line in new files.
    // Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
    // 'unix' (LF only).
    

    You are setting

    "default_line_ending": "LF",

    You should set

    "default_line_ending": "unix",

提交回复
热议问题