Commit Graph

13 Commits

Author SHA1 Message Date
27Onion Nebell
e93286a489 fix: add version check for nvim_set_option_value and nvim_get_option_value 2025-04-18 16:33:09 +08:00
27Onion Nebell
7d2387dc12 chore(fmt): format using stylua
Also fixed something in .stylua.toml that may cause stylua to fail, by
the way
2025-04-14 22:39:13 +08:00
27Onion Nebell
b86844d3d3 fix: replace deprecated API in doc 2025-04-12 12:31:56 +08:00
eph
fb9634cdaa fix: incorrect character of range and selectionRange 2025-02-05 03:23:39 +08:00
hedy
b64c0c66d4 feat(providers): Support independent configs for each provider to handle
Closes #58
2024-03-16 08:12:50 +08:00
hedy
80165f0472 feat(providers): Modular hover-symbol support 2023-11-27 20:11:16 +08:00
hedy
5b70292780 Refactor symbol types 2023-11-26 16:49:25 +08:00
hedy
a7fe7baf5f fix(markdown): Revert a change from a previous commit 2023-11-24 17:13:44 +08:00
hedy
ebf90dc9ee fix(markdown): Don't include next heading in previous heading's range
Somehow marksman also does this?

As for treesitter (norg) it may be because treesitter includes the
newline and the next line indent until the next heading, so the line of
the next heading is included in the range of the previous heading. We
manually -1 on the range end line to fix it.
2023-11-24 15:04:18 +08:00
hedy
ec4f727631 refactor: Reorganize provider API 2023-11-22 20:55:10 +08:00
hedy
5278eb5b2b feat: Better provider info and fix LSP deprecated warnings
- Provider priorities can now be configured through `providers.priority`

- Each provider can have a get_status() function that returns a string
  for its status. For LSP it returns the client name.

- :OutlineStatus logic refactored, together with provider checking
  functions in `providers/init.lua`

- Switch from vim.lsp.buf_get_clients to vim.lsp.get_active_clients
  (former was deprecated)

- Fixed a careless mistake from symbols-outline that seems to be an
  unreachable bug (lsp)
2023-11-16 15:41:37 +08:00
hedy
a616f44aea feat: Fix markdown provider icon kind
Closes #2
2023-11-12 13:55:22 +08:00
hedy
965a3842c8 MAJOR: Project rename and preparation for v1.0.0
I hope I haven't missed any for the renames!
2023-11-12 12:40:32 +08:00