diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-19 02:25:59 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-19 02:25:59 +0200 | 
| commit | c3e825027ddabecf18370df61c1da4018f017b7b (patch) | |
| tree | 8d60a5b049a927d6aedb938e25612aa4e7ba14aa /scripts/build | |
| parent | 3618414fad6ac488e89895810d3a3da3c3c1c6fd (diff) | |
| download | vim-polyglot-c3e825027ddabecf18370df61c1da4018f017b7b.tar.gz vim-polyglot-c3e825027ddabecf18370df61c1da4018f017b7b.zip | |
Allow vim-polyglot to load in non-compatible mode
Diffstat (limited to '')
| -rwxr-xr-x | scripts/build | 10 | 
1 files changed, 1 insertions, 9 deletions
| diff --git a/scripts/build b/scripts/build index d77a556a..b3867b97 100755 --- a/scripts/build +++ b/scripts/build @@ -848,15 +848,7 @@ def generate_plugins(packages)    end    output << "  \\}\n\n" - -  output << <<~EOS -    func! polyglot#sleuth#GlobForFiletype(type) -      return get(s:globs, a:type, '') -    endfunc -  EOS - - -  File.write('autoload/polyglot/sleuth.vim', output) +  inject_code('autoload/polyglot/sleuth.vim', output)  end  def process_list(list, extras) | 
