Matthew Schauer
49b9aa24e9
Support header hierarchy in Markdown outlines
2022-02-02 17:26:12 -08:00
Simrat
0347928385
fix(providers/coc): Check for coc_service_initialized
...
#85
2021-12-08 17:08:42 -08:00
Andrew Xie
4f023d3c1b
Merge branch 'master' into master
2021-12-02 17:41:12 +11:00
sim
dcab987e43
Merge pull request #84 from jamestrew/fixeds-width
...
feat: add fixed width option
2021-11-25 11:34:13 -08:00
simrat39
f4f2b5edfb
rework(preview): Ask providers for hover info
...
Now lsp checks if client supports hover
Addresses #82
2021-11-24 21:44:23 -08:00
James Trew
c207ac20de
!squash remove dead code
2021-11-22 20:29:28 -05:00
James Trew
4f231b8781
feat: add fixed width option
...
closes #79
2021-11-22 20:21:15 -05:00
Andrew
f98bc4de86
feat: added autoclose functionality
2021-11-23 05:09:08 +11:00
simrat39
552b67993e
fix(providers/nvim-lsp): ipairs -> pairs
...
ipairs should only be used for lists
2021-10-21 16:52:07 -07:00
simrat39
a1bbef84b7
fix(coc): Fix COC installed check
...
Fixes #70
2021-10-06 14:22:18 -07:00
simrat39
6c97da274f
fix(markdown): Ignore headings inside code blocks
...
Fixes #69
2021-10-06 13:06:01 -07: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
simrat39
a0d563172d
refactor: Add a generic provider module
...
In preperation for coc support
2021-10-05 22:46:53 -07:00
simrat39
28c5b0513a
writer: Use extmarks over virt text
2021-09-30 14:08:53 -07:00
Dan Sully
3399168607
Spelling fixes.
2021-09-25 08:24:43 -07:00
luke
457216a857
add space after markdown header markup
2021-09-22 11:37:12 +08:00
simrat39
1ef3b66db8
feat: Allow customizing preview window background
...
Closes #64
2021-09-21 19:24:26 -07:00
Omar Zeghouani
962ad42512
chore: adapt lsp request handler for nvim >= 0.5.1
...
https://github.com/neovim/neovim/pull/15504
2021-09-07 11:55:46 +01:00
simrat39
02ce2dab13
config: setup: Set g:symbols_outline_loaded to 1 on setup
...
#62
2021-09-06 17:51:46 -07:00
simrat39
c94d21f962
config: Export default table
...
#19
2021-09-06 17:47:55 -07:00
simrat39
80490ad0c6
fix: Remove ctermfg for highlights
...
Nobody needs this
Fixes #61
2021-08-28 16:32:39 -07:00
simrat39
6f376ef4ce
refactor: Move should refresh logic to utils
2021-08-22 17:29:29 -07:00
simrat39
fae3393873
refactor: Move buffer/window creation to its own module
...
For now we have some stuff out of that module to prevent infinite
require loops (set_keymaps/clear_state), but once state goes into its
own module as well then we can work it all into view.lua
2021-08-22 17:22:16 -07:00
simrat39
c646d68fe8
refactor: Move nmap to utils
2021-08-22 17:00:24 -07:00
simrat39
e7b5fb7d2c
cleanup: Remove debugging commands
...
Not really used anymore
2021-08-22 16:42:35 -07:00
simrat39
2932c11e92
refactor: Move debounce function to the utils
2021-08-22 16:38:26 -07:00
Omar Zeghouani
78b4f20b39
Simplify preview toggle
2021-08-21 10:17:12 +01:00
Omar Zeghouani
9a74879d31
Remove print statement
2021-08-21 09:46:03 +01:00
simrat39
40b7d5cbaa
fix: ui: Follow links while setting up SymbolsOutlineConnector
...
we link to comment but dont follow links which makes it wonky with
themes. Also make the highlight customizable.
2021-08-20 19:34:01 -07:00
simrat39
af491baebd
preview: toggle: Dont use global variable
2021-08-20 19:11:48 -07:00
simrat39
079f39607a
Update preview_toggle name
2021-08-20 19:11:24 -07:00
simrat39
a2e4a20308
Merge branch 'master' of https://github.com/ram02z/symbols-outline.nvim into ram02z-master
2021-08-20 19:06:46 -07:00
Omar Zeghouani
970d9932c5
Add help message for keybinds
2021-08-20 20:38:04 +01:00
Omar Zeghouani
23f1299869
Add toggle functionality
...
- Ensure that preview window always closes on symbol window exit
2021-08-20 20:25:22 +01:00
scheatkode
b1d0fadac5
feat(config): Add preview keymap trigger
2021-08-05 13:52:25 +01:00
simrat39
1941d9edf9
Initial markdown support
...
Markdown doesnt have a language server, so do this manually
Closes #43
2021-08-01 12:22:01 -07:00
Gabriele Musco
f04ed3732f
Use Comment color instead of SignColumn
2021-08-01 12:22:01 -07:00
simrat39
63931775ce
feat(config): Allow multiple keys for keymaps
...
Closes #45
2021-07-29 12:09:41 -07:00
simrat39
260227983a
feat: Add width option
...
* This is relative to the size of the current split
2021-07-27 15:27:54 -07:00
simrat39
1784dcc520
fix(ui): Use a seperate highlight for connectors
...
* Some colorschemes do some funky things with the comment highlight, most
notably making them italic, which messes up the outline connector. Fix
this by copying the foreground color from the comment hl into a new
highlight.
* Closes #42
2021-07-27 15:16:03 -07:00
simrat39
6a51c637dd
feat: Add option to blacklist symbols
...
Closes #38
2021-07-21 12:59:44 -07:00
simrat39
3e9e019b03
feat(ui/config): Add config option to change icons and highlights
...
Closes #37
Kinda related to #19
2021-07-17 20:28:50 -07:00
simrat39
74fd5bf67d
fix(symbols): Handle unkown symbols
...
Default to the Object icon
Closes #28
2021-07-13 20:41:42 -07:00
simrat39
72c3d49cc6
preview: Disable cursorline on hover info
2021-07-13 15:43:37 -07:00
simrat39
43377f14ca
preview: Use proper markdown stylizing
2021-07-13 15:40:19 -07:00
simrat39
8d96b7a136
fix(hover): Update manual hover to use the new floating api
...
Closes #36
2021-07-13 15:20:22 -07:00
simrat39
631a8880de
feat: Add option to disable details virtual text
...
Closes #32
2021-06-22 20:07:52 -07:00
simrat39
a100b51b23
feat: Allow setting line numbers / relative numbers
...
Closes #31
2021-06-22 19:59:49 -07:00
simrat39
c6318d9279
feat(preview): Use treesitter for highlighting if possible
...
Closes #27
2021-06-14 15:55:35 -07:00
osmund
e7a2cfbee8
feat: support multiple lsp clients
...
Fixes issue #25
2021-06-13 11:23:46 +02:00