Currently, only remap commands are recognized in .vimrc files. All other commands, such as set or if are silently ignored.
.vimrc
set
if
Add the following to settings.json, editing vim.vimrc.path appropriately:
settings.json
vim.vimrc.path
"vim.vimrc.enable": true, "vim.vimrc.path": "~/.vimrc",
Run Vim: Edit .vimrc from the command palette. This command's ID is vim.editVimrc.
Vim: Edit .vimrc
vim.editVimrc
See :help map.txt. Not all advanced features, such as <expr>, are supported.
:help map.txt
<expr>
There was an error while loading. Please reload this page.