Yaml.vim

来自linux中国网wiki
跳到导航 跳到搜索

yaml.vim : Syntax coloring and functions for YAML

install details

https://www.vim.org/scripts/script.php?script_id=739



Save the file in ~/.vim/yaml.vim
Add the following line to your .vimrc

    au BufNewFile,BufRead *.yaml,*.yml so ~/.vim/yaml.vim


see also

在Vim中编辑Yaml时错误缩进