Commit Graph

20 Commits

Author SHA1 Message Date
hedy
23b31c64e8 Merge upstream PR #177
simrat39/symbols-outline.nvim#177
2023-11-02 20:14:32 +08:00
Till Bungert
93f066a029 fix: replace newlines with spaces in writer
`nvim_buf_set_lines` does not allow newline characters in the individual
lines.
2023-02-14 22:07:33 +01:00
Yajie Zhu
9f9a9590ca fix: Invaild buffer id error 2022-09-30 21:19:14 +08: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
057715f3b0 Revert "feat(parser): Flatten outline items while parsing"
This reverts commit 776ddb3930.
2022-08-16 17:59:47 -07:00
Simrat Grewal
926a394e7e writer: Remove useless vim = vim declaration 2022-08-15 14:40:47 -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
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
28c5b0513a writer: Use extmarks over virt text 2021-09-30 14:08:53 -07:00
simrat39
631a8880de feat: Add option to disable details virtual text
Closes #32
2021-06-22 20:07:52 -07:00
simrat39
887db9aaaa refractor(parser): get_details: Use flattened_outline_items 2021-05-03 15:25:06 -07:00
simrat39
a3634eadbd fix(writer): Make sure we're writing only to the outline 2021-05-01 20:12:58 -07:00
simrat39
be8cf968cf refractor: Restructure project
lil better to work on now
2021-04-22 14:24:21 -07:00