Shifting things around...

This commit is contained in:
Daniel Flanagan 2021-03-02 23:43:50 -06:00
parent 950d796b03
commit 065ba07b53
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
259 changed files with 71 additions and 45 deletions

View file

@ -1,20 +0,0 @@
edit $PIPELINE_IN
split $PIPELINE_TRANSFORM
split $PIPELINE_OUT
let s:refresh_output = {j, d, e -> execute('checktime')}
let s:refresh_output_job = {'spec': ['inotifywait', '-m', '-e', 'close_write,delete', $PIPELINE_OUT], 'opts': {'detach': 1, 'on_stdout': s:refresh_output}}
let s:refresh_output_job_id = jobstart(s:refresh_output_job['spec'], s:refresh_output_job['opts'])
function s:RunPipeline()
execute "!".g:pipeline_transform
endfunction
let s:refresh_output_job_id = jobstart(s:refresh_output_job['spec'], s:refresh_output_job['opts'])
set updatetime=250
" only autosave the input buffer
autocmd CursorHold,CursorHoldI <buffer> silent write
autocmd FileWritePost silent call s:RunPipeline()
autocmd VimLeavePre call jobstop(s:refresh_output_job_id)
autocmd VimLeavePre call jobstop(s:run_pipeline_job_id)

View file

@ -1,19 +0,0 @@
/*
!/alias.conf
!/buflist.conf
!/charset.conf
!/exec.conf
!/fifo.conf
!/fset.conf
!/irc.conf
!/logger.conf
!/lua.conf
!/perl.conf
!/python.conf
!/relay.conf
!/script.conf
!/spell.conf
!/tcl.conf
!/trigger.conf
!/weechat.conf
!/xfer.conf

View file

View file

View file

Some files were not shown because too many files have changed in this diff Show more