When starting kate (compiled from git, pulled in the last two weeks) and opening a python file, the indentation script is not loaded. The error message is kate(11163)/Kate (Indentation) KateAutoIndent::setMode: mode "python" requires a different highlight style: document style ' "Python" ', but script requires ' "python" ' Reproducible: Always Steps to Reproduce: 1. open kate 2. load a .py file 3. type "if True:" followed by enter Actual Results: no indentation applied Expected Results: cursor is indented 4 spaces I had provided a suggested fix in https://git.reviewboard.kde.org/r/109128/ but Christoph Cullmann pointed me to the syntax file instead. A fix there is even easier.
Git commit ef9dd817db2a072609cd0391ea962111c45abf52 by Christoph Cullmann. Committed on 03/03/2013 at 17:32. Pushed by cullmann into branch 'master'. add style=python to python.xml to fix indentation problems if indenters want that style REVIEW: 109128 thanks to Gerald Senarclens de Grancy M +1 -1 part/syntax/data/python.xml http://commits.kde.org/kate/ef9dd817db2a072609cd0391ea962111c45abf52
Git commit 9085818474fe3f9c344600796706353f8f450138 by Gerald Senarclens de Grancy, on behalf of Christoph Cullmann. Committed on 03/03/2013 at 17:32. Pushed by geralds into branch 'KDE/4.10'. add style=python to python.xml to fix indentation problems if indenters want that style REVIEW: 109128 thanks to Gerald Senarclens de Grancy Conflicts: part/syntax/data/python.xml M +1 -1 part/syntax/data/python.xml http://commits.kde.org/kate/9085818474fe3f9c344600796706353f8f450138