yaml.el 487 B

12345678910111213
  1. (add-hook 'yaml-mode-hook
  2. '(lambda () (set (make-local-variable 'yas-indent-line) 'fixed)))
  3. (add-hook 'yaml-mode-hook 'yaml-pro-mode)
  4. (defun wi-yaml-prettify-symbols ()
  5. (set (make-local-variable 'prettify-symbols-alist)
  6. `(("xn--c1ajpcpgs.xn--90a1af.xn--p1ai" . ,(string-to-symbols "хостинг.спб.рф"))
  7. ("xn--e1arhcfp.xn--90a1af.xn--p1ai" . ,(string-to-symbols "хостер.спб.рф")))))
  8. (add-hook 'yaml-mode-hook 'wi-yaml-prettify-symbols)