fix(doc): readme phrasing
This commit is contained in:
parent
ac787627c0
commit
b1b92b6292
1 changed files with 3 additions and 3 deletions
|
|
@ -43,12 +43,12 @@ luarocks install oil.nvim
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
**Q: How do I set up oil.nvim (or migrate from stevearc/oil.nvim)?**
|
**Q: How do I migrate from `stevearc/oil.nvim`?**
|
||||||
|
|
||||||
Change the plugin source and replace `setup()` with `vim.g.oil` in `init`. The
|
Change the plugin source and replace `setup()` with `vim.g.oil` in `init`. The
|
||||||
configuration table is identical — only the entry point changes.
|
configuration table is identical — only the entry point changes.
|
||||||
|
|
||||||
Before (stevearc/oil.nvim):
|
Before (`stevearc/oil.nvim`):
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
{
|
{
|
||||||
|
|
@ -60,7 +60,7 @@ Before (stevearc/oil.nvim):
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
After (barrettruth/oil.nvim):
|
After (`barrettruth/oil.nvim`):
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue