diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-05-09 23:08:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-05-09 23:08:37 +0900 |
| commit | 213651779344f25a8fcce21784e4fbde24117d22 (patch) | |
| tree | 72c7870da2237d1e44a906b766d89d4108e5eaae /.config/nvim/plugin/autosave.vim | |
| parent | d7f54d84afae5347f4cf1cffa63122ffad1dc1c0 (diff) | |
| download | dotfiles-213651779344f25a8fcce21784e4fbde24117d22.tar.gz dotfiles-213651779344f25a8fcce21784e4fbde24117d22.tar.zst dotfiles-213651779344f25a8fcce21784e4fbde24117d22.zip | |
neovim: replace :command with Lua API
Diffstat (limited to '.config/nvim/plugin/autosave.vim')
| -rw-r--r-- | .config/nvim/plugin/autosave.vim | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/.config/nvim/plugin/autosave.vim b/.config/nvim/plugin/autosave.vim deleted file mode 100644 index ab8a227..0000000 --- a/.config/nvim/plugin/autosave.vim +++ /dev/null @@ -1,21 +0,0 @@ -scriptencoding utf-8 - -if exists('g:loaded_autosave') - finish -endif - - -command! -bar - \ AutosaveEnable - \ lua require('autosave').enable() - -command! -bar - \ AutosaveDisable - \ lua require('autosave').disable() - -command! -bar - \ AutosaveToggle - \ lua require('autosave').toggle() - - -let g:loaded_autosave = 1 |
