Commit Graph

29 Commits

Author SHA1 Message Date
hedy
29ed132f07 MAJOR: Refactor configuration structure
The details of the change is documented in the readme.

If your config stops working, I'm fully responsible :)
2023-11-08 13:56:09 +08:00
hedy
6c47ebf0d7 fix: Extra left padding
Please see linked issues

- simrat39/symbols-outline.nvim/165
- simrat39/symbols-outline.nvim/178
- simrat39/symbols-outline.nvim/209
2023-11-08 08:36:17 +08:00
hedy
0e785762f7 feat: Line numbers next to symbols for quick jumping
See reasoning in:
simrat39/symbols-outline.nvim#212

This feature is turned off by default to avoid clutter, and many users
might not want this feature on by default.
2023-11-08 08:02:42 +08:00
hedy
a87f73c3b2 BREAKING,feat: Customizable guide markers
See readme
2023-11-02 17:46:27 +08:00
charburgx
e4b97468ab feat: Merge JSX symbols into lsp tree 2022-09-14 21:26:27 -05:00
charburgx
5629b6dafe fix: Incorporate nesting depth in hover highlight 2022-08-17 17:13:03 -05:00
charburgx
b275066e23 style: Run stylua 2022-08-17 16:14:47 -05:00
charburgx
ced4e476cf feat: Add folding 2022-08-17 16:14:16 -05:00
Simrat Grewal
66dfe8db5c refactor(parser): Cleanup flatten 2022-08-16 18:01:55 -07:00
Simrat Grewal
057715f3b0 Revert "feat(parser): Flatten outline items while parsing"
This reverts commit 776ddb3930.
2022-08-16 17:59:47 -07:00
Simrat Grewal
7aadfaf916 fix(parser): Fix indentation when guides are hidden 2022-08-16 17:22:33 -07:00
Simrat Grewal
776ddb3930 feat(parser): Flatten outline items while parsing
* Removes the need for flatten_outline_items
* Improves performance
2022-08-15 14:31:19 -07:00
Simrat Grewal
0250f77085 refactor(parser): Move utility functions to table utils 2022-08-15 14:18:48 -07:00
Simrat Grewal
fb2ab3bb1c fix(parser): Make depth/heirarchy optional 2022-08-15 14:11:50 -07:00
Simrat Grewal
7747a020a6 feat(parser): Fix guide highlight for multi-width characters 2022-08-10 20:47:31 -07:00
Simrat Grewal
094334c1a8 feat(ui): Rework how highlights are applied to outlines
* Previously we used vim's pattern matching which is not a great way to
  do this in neovim, as tree-sitter doesn't support it.

* Now we use the neovim apis which are range based
2022-08-10 17:42:50 -07:00
Simrat Grewal
ce21cf3f66 chore: Remove use of global vars + other cleanups 2022-08-10 17:05:39 -07:00
Simrat Grewal
ed6c058eee chore: stylua 2022-08-10 15:29:39 -07:00
FollieHiyuki
d980dbf947 Format with stylua 2022-02-22 22:32:53 +07:00
Matthew Schauer
2370d4d2ac Remove pointless arithmetic 2022-02-02 21:04:21 -08:00
Matthew Schauer
70ddcccbca Highlight icons using highlight regions rather than matching rules 2022-02-02 21:01:31 -08:00
simrat39
042c8466a2 feat(providers): Inital COC support
Closes #68
Still needs support for code actions/hover/rename etc
2021-10-06 12:58:44 -07:00
Dan Sully
3399168607 Spelling fixes. 2021-09-25 08:24:43 -07:00
simrat39
6a51c637dd feat: Add option to blacklist symbols
Closes #38
2021-07-21 12:59:44 -07:00
osmund
e7a2cfbee8 feat: support multiple lsp clients
Fixes issue #25
2021-06-13 11:23:46 +02:00
simrat39
c9c68de360 feat(parser): Support SymbolInformation[]
-- https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol
Some lsp like vuels, pyls etc dont support the newer DocumentSymbol[]
data structure so add minimal support for the old way. This is not
hierarchical so not really a tree

Addresses #13
2021-05-03 16:02:56 -07:00
simrat39
887db9aaaa refractor(parser): get_details: Use flattened_outline_items 2021-05-03 15:25:06 -07:00
simrat39
88d7ce38ba feat(guides): Add option to disable guides 2021-04-22 20:02:28 -07:00
simrat39
be8cf968cf refractor: Restructure project
lil better to work on now
2021-04-22 14:24:21 -07:00