a guest Oct 16th, 2019 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. augroup YAML
  2.   au!
  3.   au BufReadPost *.yaml %!yaml2edn
  4.   au BufReadPost *.yaml set ft=clojure
  5.   au BufWritePre *.yaml %!edn2yaml
  6.   au BufWritePost *.yaml %!yaml2edn
  7.   au BufWritePost *.yaml set nomod
  8. augroup END
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand