docs: Fix typos

This commit is contained in:
~hedy
2023-12-01 08:14:03 +08:00
committed by GitHub
parent 8b9f908386
commit 9d26280c0b

View File

@@ -126,7 +126,7 @@ This allows Lazy.nvim to lazy-load the plugin on commands `Outline`,
Call the setup function with your configuration options. Call the setup function with your configuration options.
Note that a call to `.setup()` is **required** for this plugin to work Note that a call to `.setup()` is **required** for this plugin to work
(otherwise you might see this error: simrat39/symbols-outline.nvim#213). (otherwise you might see this error: [simrat39/symbols-outline.nvim#213](simrat39/symbols-outline.nvim#213)).
```lua ```lua
require("outline").setup({}) require("outline").setup({})
@@ -528,7 +528,7 @@ provider is an example which uses treesitter.
All providers should support at least nvim 0.7. You can make use of All providers should support at least nvim 0.7. You can make use of
`_G._outline_nvim_has` with fields `[8]` and `[9]` equivalent to `_G._outline_nvim_has` with fields `[8]` and `[9]` equivalent to
`vim.fn.has('nvim-0.8) == 1` and `vim.fn.has('nvim-0.9) == 1` respectively. `vim.fn.has('nvim-0.8') == 1` and `vim.fn.has('nvim-0.9') == 1` respectively.
If a higher nvim version is required, it is recommended to check for this If a higher nvim version is required, it is recommended to check for this
requirement in the `supports_buffer` function. requirement in the `supports_buffer` function.