Fork me on GitHub

а я тут заколебался и заботал елисп ._.


репостну из #C099W16KZ


Kirill Sotnikov [09:35] Do someone use json-mode? [09:38] Interesting thing if I add

(defconst js-indent-level 2)
all is working fine, but if I change
(let ((json-reformat:indent-width js-indent-level))
(let (( js-indent-level json-reformat:indent-width))
C-x C-f is working but when I typing my json and hit enter it's set up 4 spaces on fly. After C-x C-f all is good again. If I change nothing and change only json-reformat (as it used in docs) I've still got 4 spaces for indent [09:39] So, my first line looks like ugly hack ) Kirill Sotnikov [09:46] I don't understand which function is responsible fot indents on fly


а если ничего не менять то как было 4 спейса в отступах так и осталось