add vim plugin

This commit is contained in:
TheK4n 2022-06-28 13:05:46 +03:00
parent 0eefa3f4fb
commit d1de1fa15e

View File

@ -104,6 +104,7 @@ call vundle#begin()
Plugin 'francoiscabrol/ranger.vim' Plugin 'francoiscabrol/ranger.vim'
Plugin 'rbgrouleff/bclose.vim' Plugin 'rbgrouleff/bclose.vim'
Plugin 'frazrepo/vim-rainbow' Plugin 'frazrepo/vim-rainbow'
Plugin 'Pocco81/AutoSave.nvim'
" requiered patch your font " requiered patch your font
Plugin 'ryanoasis/vim-devicons' Plugin 'ryanoasis/vim-devicons'
Plugin 'jiangmiao/auto-pairs' Plugin 'jiangmiao/auto-pairs'
@ -175,11 +176,35 @@ let g:multi_cursor_quit_key = '<Esc>'
lua << EOF
local autosave = require("autosave")
autosave.setup(
{
enabled = true,
execution_message = "AutoSave: saved at " .. vim.fn.strftime("%H:%M:%S"),
events = {"TextChanged", "InsertLeave"},
conditions = {
exists = true,
filename_is_not = {},
filetype_is_not = {},
modifiable = true
},
write_all_buffers = false,
on_off_commands = true,
clean_command_line_interval = 0,
debounce_delay = 1000
}
)
EOF
" BEGIN pyright " BEGIN pyright
lua << EOF lua << EOF
-- Set completeopt to have a better completion experience -- Set completeopt to have a better completion experience
vim.o.completeopt = 'menuone,noselect' vim.o.completeopt = 'menuone,noselect'
@ -288,7 +313,6 @@ for _, lsp in ipairs(servers) do
end end
EOF EOF
" END pyright " END pyright