diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build | 10 | ||||
-rwxr-xr-x | scripts/test | 1 |
2 files changed, 1 insertions, 10 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) diff --git a/scripts/test b/scripts/test index ae408063..f726d226 100755 --- a/scripts/test +++ b/scripts/test @@ -7,7 +7,6 @@ def run_script(src) end def run_vimscript(src) - wrapper = <<~EOF vim --clean --not-a-term -u <(cat <<- "EOM" set nocompatible |