chore(docs): Typo fix and update changelog

This commit is contained in:
~hedy
2025-04-19 21:08:45 +08:00
parent edd3c41fa8
commit b5457a9b38
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,8 @@
- Use `token.location.range` and `token.range` fallback when selection range is - Use `token.location.range` and `token.range` fallback when selection range is
not provided. not provided.
([#105](https://github.com/hedyhli/outline.nvim/pull/105)) ([#105](https://github.com/hedyhli/outline.nvim/pull/105))
- Neovim 0.11 support
([#131](https://github.com/hedyhli/outline.nvim/pull/131))
## v1.0.0 ## v1.0.0

View File

@@ -1154,7 +1154,7 @@ other filetypes.
```lua ```lua
symbols = { symbols = {
icon_fetcher = function(k, buf) icon_fetcher = function(k, buf)
-- Use nvim_buf_get_option(bufnr, 'ft') for nvim 0.7 users -- Use nvim_buf_get_option(buf, 'ft') for nvim 0.7 users
local ft = vim.api.nvim_get_option_value("ft", { buf = buf }) local ft = vim.api.nvim_get_option_value("ft", { buf = buf })
if ft == 'markdown' then if ft == 'markdown' then
return "" return ""