Commit Graph

729 Commits

Author SHA1 Message Date
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
simrat39
e459f3262c Auto generate docs 2022-08-18 04:47:17 +00:00
Simrat Grewal
06bdbc8f6e feat: Add panvimdoc github action 2022-08-17 21:46:33 -07:00
sim
28f02c673d Merge pull request #142 from mxsdev/folding
Add folding
2022-08-17 17:08:43 -07: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
0d4d242ca5 docs(README): document folding 2022-08-17 17:04:58 -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
sim
7d4050f716 Merge pull request #152 from simrat39/rework
Bring back flatten stuff
2022-08-16 18:15:50 -07: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
sim
e5b5e9eeb2 Merge pull request #150 from simrat39/rework
fix(provider): Handle tree-sitter not being installed or parser not i…
2022-08-15 20:31:52 -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
sim
6e7af4cf7d Merge pull request #149 from simrat39/rework
Parser rework and stuff
2022-08-15 15:24:47 -07:00
Simrat Grewal
fac1cb602c feat(config): Disable auto_preview by default 2022-08-15 15:21:38 -07:00
Simrat Grewal
eec01dc1eb docs(readme): Update readme with new config instructions 2022-08-15 15:18:14 -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
609d630a96 chore: Add help tags to gitignore 2022-08-15 14:21:23 -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
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
197a9aa45f refactor: Remove utils.request shim
* This is no longer needed as people have probably moved on from 0.5
2022-08-10 16:58:24 -07:00
Simrat Grewal
d7542aab11 refresh: Use view.is_open 2022-08-10 15:40:38 -07:00
Simrat Grewal
1188ed7201 (breaking_change) feat: Make setup explicit
Don't setup on its own
2022-08-10 15:33:23 -07:00
Simrat Grewal
ed6c058eee chore: stylua 2022-08-10 15:29:39 -07:00
Simrat Grewal
d1065bc492 fix: Fix close mapping 2022-08-10 15:24:37 -07:00
Simrat Grewal
9ff33755cd cleanup: Disable auto_preview for now
Till we clean this stuff up
2022-08-10 15:22:47 -07:00
Simrat Grewal
702a7d831b feat(rename): Use new view api 2022-08-10 15:19:15 -07:00
Simrat Grewal
336bc4b38c hover: Use new view api to get window 2022-08-10 15:13:33 -07:00
Simrat Grewal
374b80010a feat: Use vim.keymap.set for setting keymaps 2022-08-10 15:08:46 -07:00
Simrat Grewal
d12af70950 state: Remove unused winnr/bufnr 2022-08-10 14:48:55 -07:00
Simrat Grewal
62b59f4de5 toggle: Use View:is_open 2022-08-10 14:47:25 -07:00
Simrat Grewal
50dd2e9275 feat(view): Turn View into a class and refactor closing 2022-08-10 14:46:01 -07:00
sim
13e89b6349 Merge pull request #144 from mxsdev/jsx
feat(providers): jsx provider
2022-08-02 18:26:14 -07:00
charburgx
2e79953f7e feat(providers): jsx provider 2022-07-14 01:46:59 -05:00
Freyskeyd
7092ee1728 Added preview width and relative size
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
2022-05-03 10:20:07 +02:00
sim
15ae99c273 Merge pull request #117 from axieax/feat/transparent-windows
Feat: transparent windows using `winblend`
2022-04-30 19:25:38 -07:00
sim
1cbec4c4b4 Merge pull request #129 from toppair/fix-rename
fix rename
2022-04-30 19:25:08 -07:00