plenary.nvim icon indicating copy to clipboard operation
plenary.nvim copied to clipboard

E182: Invalid command name in plenary.nvim/plugin/plenary.vim in WSL2

Open poorjackman opened this issue 2 years ago • 3 comments

" Create command for running busted command! -nargs=1 -complete=file PlenaryBustedFile lua require('plenary.busted').run(vim.fn.expand("")) command! -nargs=+ -complete=file PlenaryBustedDirectory lua quire('plenary.test_harness').test_directory_command(vim.fn.expand("")) nnoremap <Plug>PlenaryTestFile :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>

Error detected while processing /home/poorjack/.local/share/nvim/site/pack/packer/start/plenary.nvim/plugin/plenary.vim: line 2: E182: Invalid command name line 4: E182: Invalid command name

poorjackman avatar Feb 20 '23 06:02 poorjackman

wiping “/” off will be ok

poorjackman avatar Feb 20 '23 06:02 poorjackman

Same error here!

JYisus avatar Apr 14 '23 02:04 JYisus

Solved executing git config --global core.autocrlf input before plugins installation.

JYisus avatar Apr 14 '23 21:04 JYisus