Is it possible to disable syntax highlighting in Sublime REPL-tabs?

后端 未结 2 1915
北荒
北荒 2021-01-04 18:43

Is there any way to disable the syntax highlighting in SublimeREPL-tabs when a script is running?

Please see this question for context: Red lines co

相关标签:
2条回答
  • 2021-01-04 19:31

    Go to Sublime Text > Preferences > Package Settings > SublimeREPL > Settings - User

    (If your 'Settings - User' is empty, first copy in the contents of 'Settings - Default')

    under "repl_view_settings": add:

    ,
        "syntax": "Packages/Text/Plain text.tmLanguage"
    

    so mine is now:

    // standard sublime view settings that will be overwritten on each repl view
    // this has to be customized as a whole dictionary
    "repl_view_settings": {
        "translate_tabs_to_spaces": false,
        "auto_indent": false,
        "smart_indent": false,
        "spell_check": false,
        "indent_subsequent_lines": false,
        "detect_indentation": false,
        "auto_complete": true,
        "line_numbers": false,
        "gutter": false,
        "syntax": "Packages/Text/Plain text.tmLanguage"
    },
    
    0 讨论(0)
  • 2021-01-04 19:36

    As @joe.dawley wrote in the comments to the original question there is a way to manually disable syntax highlighting in SublimeREPL by using the go to anything-command (Ctrl + Shift + P) and enter "sspl" to set the syntax to plain text.

    0 讨论(0)
提交回复
热议问题