Commit Graph

201 Commits

Author SHA1 Message Date
hedy
782e7cb18b Don't use h3 header for 'No info' message
Not sure what the point here is since there isn't anything beneath the
header anyway.
2023-11-01 15:37:17 +08:00
hedy
f7fc1905a4 fix(preview): Empty symbol preview
Fix simrat39/symbols-outline.nvim#176

I was going to pull @enddeadroyal's commit from their
'bugfix/symbol-hover-misplacement' branch in their fork but they changed
indentation so I had to apply the relevant changes myself instead.

However, credits for this fix goes to @enddeadroyal from the issue
commit in 176.

Also fixed the "No info available" markdown as it wasn't rendering
properly for me without a space after the '###'.
2023-11-01 15:33:26 +08:00
hedy
e98041c75f Use lua to create commands 2023-11-01 14:29:56 +08:00
hedy
4f3993627b Merge upstream PR #119
simrat39/symbols-outline.nvim#119
2023-11-01 13:40:24 +08:00
hedy
57c758322b Merge upstream PR #180
simrat39/symbols-outline.nvim#180
2023-11-01 13:20:47 +08:00
hedy
8969e4694c Merge upstream PR #222
simrat39/symbols-outline.nvim#222
2023-11-01 13:19:23 +08:00
hedy
a240ba4483 Merge remote-tracking branch 'rqdmap/master'
simrat39/symbols-outline.nvim#218
simrat39/symbols-outline.nvim#217
2023-11-01 12:57:12 +08:00
hedy
5df2881500 fix(folding): Don't attempt to toggle non-foldable node 2023-10-31 21:06:50 +08:00
hedy
fe34bf0613 feat(folding): Support toggling of folds 2023-10-31 20:29:06 +08:00
hedy
b4798a669b Merge branch 'master' of github.com:beauwilliams/symbols-outline.nvim
simrat39/symbols-outline.nvim#163
2023-10-31 20:22:11 +08:00
hedy
b55cb085f7 Merge branch 'master' of github.com:anstadnik/symbols-outline.nvim
simrat39/symbols-outline.nvim#225
2023-10-31 20:20:30 +08:00
hedy
c1749b6258 Merge branch 'fix-newline-in-symbols' of github.com:tbung/symbols-outline.nvim
simrat39/symbols-outline.nvim#204
2023-10-31 20:19:14 +08:00
hedy
b78a6b0592 Merge branch 'code_action' of github.com:zjp-CN/symbols-outline.nvim
simrat39/symbols-outline.nvim#168
2023-10-31 20:17:37 +08:00
Andrii Stadnik
df6387d330 Update nerd fonts to 3.0
After https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0
certain icons were deprecated.
2023-05-24 09:19:33 +03:00
Kevin Jeong
0cb15e31ab fix(folding): optimize fold/unfold all 2023-05-22 03:14:43 -07:00
Masahiro Kasashima
33f1cf14b1 Allow any number of =s and -s 2023-05-19 22:27:19 +09:00
Masahiro Kasashima
5f3273c073 Support markdown multi line header notation 2023-05-19 22:15:56 +09:00
rqdmap
b740f88a72 Support ccls symbols 2023-05-04 21:34:03 +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
geekifan
b175dccd59 fix(coc.lua): no hierarchy when using coc.nvim 2023-01-25 14:34:26 -08:00
Eric Haynes
e34ee8278e Convert from obsolete higlight group names 2023-01-25 14:33:27 -08:00
Clément Joly
5653d95977 set spell to false
Having spell check in the outline is pointless, it just adds visual
noise by underlining the icons.
2022-10-06 22:37:54 +01:00
Clément Joly
5de4a9203e default signcolumn to 'no'
This leaves more space in the side window for the outline.
2022-10-06 22:36:49 +01:00
charburgx
e4b97468ab feat: Merge JSX symbols into lsp tree 2022-09-14 21:26:27 -05:00
zjp
e639dea62f fix(code_actions): use the builtin code_action
instead of `buf_request` to prevent from passing custom lsp.handlers
and this makes use of telescope if it's set by the user
2022-09-14 17:13:04 +08:00
Beau
14b5380ea8 fix: plugin crashes when SymbolOutlineClose used
if SymbolOutline is not already open
2022-08-31 15:25:02 +10:00
Julian Doherty
0d8d2e8c73 default wrap to false 2022-08-27 15:10:19 +10:00
Julian Doherty
a6d40cd63c fix formatting 2022-08-27 11:53:20 +10:00
Julian Doherty
04b4abb5ba add wrap config option, default to false
Default to not wrapping long function names etc that are too big for the window.

If wrap=true is set, use some sane linebreak/breakindent/showbreak
options to wrap with an indent at the current indent level of the UI
tree, instead of just wrapping back to the far left side of the window.
2022-08-27 11:52:59 +10:00
Simrat Grewal
f57d70ac33 refactor: Move dfs to utils 2022-08-17 16:45:04 -07:00
Simrat Grewal
7c78007f25 refactor: Cleanup how parent_node is found when folding items 2022-08-17 16:40:31 -07: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
fb4962bf45 fix(provider): Handle tree-sitter not being installed or parser not installed 2022-08-15 20:28:59 -07:00
Simrat Grewal
fac1cb602c feat(config): Disable auto_preview by default 2022-08-15 15:21:38 -07:00
Simrat Grewal
66b2422455 feat: Bring back auto_preview keymap 2022-08-15 15:06:37 -07:00
Simrat Grewal
47cbb20f52 feat: Bring back auto_preview 2022-08-15 14:59:40 -07:00
Simrat Grewal
ab3c25c3d9 refactor: Switch to new autocmd apis 2022-08-15 14:53:29 -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
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
f33bdb4be9 misc: formatting 2022-08-15 14:08:28 -07:00
Simrat Grewal
65742f3b93 feat(ui): Improve FocusedSymbol highlight 2022-08-11 14:55:54 -07:00
Simrat Grewal
40bbb96359 feat(view): Disable the list option 2022-08-11 14:31:47 -07:00
Simrat Grewal
7747a020a6 feat(parser): Fix guide highlight for multi-width characters 2022-08-10 20:47:31 -07:00