add sudo.vim support and lua check