kate and yaml


I have a problem using my favorite editor when editing ansible Yaml
files. When I hit Indent or shift indent it breaks the indentation
structure in the file.

Is it possible to add Ansible compatible indentation to kate? Or just
disable the "smart" part, so when I hit tab it does not try to be clever
and just adds 2 spaces and removes 2 for shift-tab


Re: kate and yaml

By =?UTF-8?Q?Nicol... at 10/08/2018 - 14:45

El lun., 8 de oct. de 2018 a la(s) 16:27, Klaus Vink Slott
(<a href=""></a>) escribió:
Can you give a concrete example of how it "breaks the indentation"?
Are you sure you have Kate configured for 2 spaces?

Also, Ansible doesn't do anything special with YAML indents, so I
don't know what you mean with "ansible compatible indentation"...

Re: kate and yaml

By Klaus Slott at 10/09/2018 - 11:21

Hi Nicolás

Thanks for pointing me in the right direction.

On 10/8/18 9:45 PM, Nicolás Alvarez wrote:
But adjusting the indentation setting in Settings → Configure Editor
solved the problem :-)