Skip to content
Commit 57aa67e6 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

remove trailing spaces on modified lines per default

this alters only the default value, people will not loose their
configured values
parent 7a69cf56
Loading
Loading
Loading
Loading
  • mentioned in issue utilities/kate#26 (closed)

    Toggle commit list
  • @cullmann
    I always disable this feature because it's incompatible with Markdown editing.
    I need to have 2 spaces at the end of the line to force a "New line"/"Line break". Even for this message...
    Is it possible to change the default to "0"?

    Edited by Yevhen Popok
  • Author Developer

    For most use cases that is a good default, if it doesn't fit for you, you can change the value in your config. If we alter that, it will just annoy others, like me, that end up with trailing spaces in their files.

  • @cullmann
    Thank you for the quick answer!
    Well, it doesn't suit me simply because I can't properly save some files (e.g. README.md)
    What is your opinion on ignoring this setting in some cases? For example, when the user selects (or Kate automatically detects) "Markdown" mode.

    Edited by Yevhen Popok
  • Author Developer

    Perhaps you can configure the markdown filetype to have some modeline that deactivates that, that might work.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment