Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have tried adding this line to the init.lua but it doesn't work and I don't understand the syntax:
I get an error upon running the source command: it says unexpected symbol near :
unexpected symbol near :
In Lua the syntax is slightly different.
I would do:
If you want to configure the :terminal command you have to change the 'shell' setting instead.
In Lua you can do with
vim.opt.shell = 'powershell.exe'
Required, but never shown