simrat39
f682723572
docs(readme): Add 'o' keymap
2021-04-23 15:17:16 -07:00
simrat39
8edb1e005b
feat: Add keymap to go to location without losing focus
2021-04-23 15:14:34 -07:00
simrat39
062dac0ac1
ui: Improve FocusedSymbol highlight
2021-04-23 15:14:34 -07:00
simrat39
b3344e9f97
fix(prevent_buffer_override): Go to next buffer after switching windows
...
Else it goes straight to the first window
2021-04-22 20:27:17 -07:00
simrat39
a6a38848d9
docs(readme): Add rename and hover keymaps
2021-04-22 20:16:11 -07:00
simrat39
5959df428d
docs(readme): Add show_guides
2021-04-22 20:15:18 -07:00
simrat39
4451c904d0
fix(hover/rename): Remove manual unloading of packages
...
lua 🙏 🙏 🙏 🙏
2021-04-22 20:06:48 -07:00
simrat39
88d7ce38ba
feat(guides): Add option to disable guides
2021-04-22 20:02:28 -07:00
simrat39
8d8f44e04b
refractor(opts): Move options into its own module
2021-04-22 20:01:49 -07:00
simrat39
d4042c99d4
refractor(debug): Move debug stuff to its own module
2021-04-22 18:37:50 -07:00
simrat39
1c07dfb4bb
fix(handler): Make sure results are valid tables
2021-04-22 18:35:01 -07:00
simrat39
b32435a2f5
fix(rename): Unload state after rename
...
lua keeps stuff 'cached' so the state does not get updated, therefore we
need to manually unload it
2021-04-22 17:59:29 -07:00
simrat39
78109f5741
fix(hover): Add more autocmd to unhover and unload state after hover
2021-04-22 17:58:23 -07:00
simrat39
e074433710
symbols: Add TypeParameter symbol and highlight
2021-04-22 15:19:37 -07:00
simrat39
4395434980
feat: Add rename symbol support
2021-04-22 15:02:48 -07:00
simrat39
2448b647d4
symbols-outline: Remove useless comment
2021-04-22 14:37:47 -07:00
simrat39
be8cf968cf
refractor: Restructure project
...
lil better to work on now
2021-04-22 14:24:21 -07:00
simrat39
8e7be488b3
Update license year
2021-04-21 22:59:41 -07:00
simrat39
b8e0c77dd2
fix: Fix details
...
???
2021-04-21 22:56:45 -07:00
simrat39
0073d1c303
feat: Add support for hovering on symbols inside the outline
...
Funky stuff, rename soon
2021-04-21 22:55:22 -07:00
simrat39
7f37dfa7fd
fix: Handle toggling logic outside the handler
...
* This way we can close the window while being focused in it. Before,
the window was not closed because the handler wasn't called because no
lsp was attached
2021-04-21 22:26:01 -07:00
simrat39
3381bfeea6
outline: Prevent buffer taking the whole space when closing another buffer
...
Major thanks to https://github.com/kyazdani42/nvim-tree.lua
2021-04-21 22:20:06 -07:00
simrat39
63c3eadde5
outline: Return of the guides
...
- Code is a super duper mess but it works pretty well rn, supports
extremely nested structures
2021-04-21 16:26:43 -07:00
simrat39
feea24c92f
README: Add setup instructions
2021-04-20 16:47:25 -07:00
simrat39
2b7028fed9
outline: Add option to disable highlight on hover
...
Can be taxing on older cpus
2021-04-20 16:32:39 -07:00
simrat39
aeb89d74c2
outline: Code cleanup and stuff
2021-04-20 16:25:31 -07:00
simrat39
0864d2e11f
outline: Add Escape keymap to close window
2021-04-20 16:13:14 -07:00
simrat39
7929191c9a
outline: Make toggling the outline the default behaviour
2021-04-20 16:05:51 -07:00
simrat39
501251bc99
outline: Highlight item if cursor is in its range
...
like functions but when youre inside them
2021-04-20 15:42:10 -07:00
simrat39
ed445e465a
outline: Only clear namespace before setting a new highlight
2021-04-20 15:38:29 -07:00
simrat39
b5823ca4c7
Add basic README and LICENSE
2021-04-19 19:44:28 -07:00
krady21
f11c41a38d
outline_buf: Delete buffer if it is hidden
2021-04-19 19:25:28 -07:00
simrat39
683c895271
outline: Highlight item in outline when hovering over it in code
2021-04-19 19:13:25 -07:00
simrat39
9c2e6b1976
outline: Rework how lines and details are set
...
Does not mess with the cursor position
2021-04-19 18:17:48 -07:00
simrat39
3ee7b6ef0d
outline: Use vim.fn.win_gotoid to move between windows
...
Also keep track of the currently focused code window
2021-04-19 16:02:28 -07:00
simrat39
be54b32ee1
outline: Setup basic autocmds
...
Update the outline whenever we change tabs, write to buffer, leave
insert mode etc etc
2021-04-19 15:54:58 -07:00
simrat39
cf16efc99c
outline: Wipe state on buffer detach
2021-04-19 15:40:07 -07:00
simrat39
faf226a0e2
outline: Disable outline guides for now
...
Kinda broken, will work on it later
2021-04-19 13:42:10 -07:00
simrat39
0583f0390a
outline: Disable line numbers
...
Looks cleaner
2021-04-19 12:11:02 -07:00
simrat39
d80c61a218
outline: Add detail as virtual text on each item if availaible
2021-04-19 12:10:48 -07:00
simrat39
7b302a938b
symbols: Setup basic highlighting for icons (using tree-sitter)
...
Color == cool
2021-04-18 21:15:06 -07:00
simrat39
9a95df9706
guides: Add highlight
...
"Comment" highlight group for now, easy on the eyes
2021-04-18 20:54:17 -07:00
simrat39
e8558a58a0
symbols-outline: Add basic guides implementation
...
Shows guides around the outline (looks cool)
2021-04-18 19:59:19 -07:00
simrat39
3774705202
symbols: Update 'Class' and 'Struct' icons
2021-04-18 19:34:18 -07:00
simrat39
0c669642f1
symbols: Update 'Object' icon
2021-04-18 19:29:42 -07:00
simrat39
7958e824ef
symbols-outline: Fix table flattening logic
...
We were appending the whole table, not the actual table contents
2021-04-18 18:35:07 -07:00
simrat39
576d84f0b5
Initial commit
...
* SUPER DUPER BROKEN USELESS STATE RN
2021-04-18 18:17:06 -07:00