Sublime Forum

Weird JSON indentation (Default.sublime-keymap file)

#1

Hi!
Sublime generates a strange auto-indentation for JSON files. Whenever I insert a new line after the one below

{ “keys”: ["`", “[”], “command”: “run_macro_file {“file”: “Some Address here”}” },

indentation level is increased by one. It appears that the bold bracket is the problem. When I remove it from the line, the indentation is fine.
Does anyone have any suggestions?

0 Likes

#2

This is the likely cause:

0 Likes