vim-pad

minimal etherpad alternative - vim plugin
git clone https://git.ce9e.org/vim-pad.git

commit
0d7858148421c5e4cf4ef0b9dedd9d03a1fb73c1
parent
2450adf7f6fe7310c7c7603df87a774777fb2065
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-05-29 15:07
close connection on BufUnload

Diffstat

M plugin/pad.vim 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/plugin/pad.vim b/plugin/pad.vim

@@ -1,5 +1,5 @@
    1     1 autocmd BufReadCmd *.pad call pad#on_open()
    2     2 autocmd BufWriteCmd *.pad py3 pad.on_write()
    3    -1 autocmd BufDelete *.pad py3 pad.on_close()
   -1     3 autocmd BufUnload *.pad py3 pad.on_close()
    4     4 autocmd TextChanged *.pad py3 pad.on_input()
    5     5 autocmd TextChangedI *.pad py3 pad.on_input()