if hasPlug('vim-lastplace') then vim.g.lastplace_ignore = 'gitcommit,gitrebase,hgcommit,svn,xxd' vim.g.lastplace_ignore_buftype = 'help,nofile,quickfix' else print "lastplace is not installed" end