diff options
-rw-r--r-- | ftplugin/yaml.vim | 2 | ||||
-rwxr-xr-x | scripts/build | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ftplugin/yaml.vim b/ftplugin/yaml.vim index 2e9728bd..261d71ca 100644 --- a/ftplugin/yaml.vim +++ b/ftplugin/yaml.vim @@ -19,7 +19,7 @@ setlocal comments=:# commentstring=#\ %s expandtab setlocal formatoptions-=t formatoptions+=croql if !exists("g:yaml_recommended_style") || g:yaml_recommended_style != 0 - let b:undo_ftplugin ..= " sw< sts<" + let b:undo_ftplugin .= " sw< sts<" setlocal shiftwidth=2 softtabstop=2 endif diff --git a/scripts/build b/scripts/build index 4a36bbac..69993374 100755 --- a/scripts/build +++ b/scripts/build @@ -175,7 +175,9 @@ def copy_file(package, src, dest) else output << "if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '#{name}') == -1\n\n" end - IO.copy_stream(input, output) + contents = File.read(input) + contents.gsub!(' ..= ', ' .= ') + output << contents output << "\nendif\n" end end |