Commit Graph

260 Commits

Author SHA1 Message Date
sim
2047f401e7 Merge pull request #50 from scheatkode/fix/refresh
fix: Handle window switching
2021-08-18 17:51:44 -07:00
sim
c6e84bd02b Merge pull request #49 from scheatkode/master
feat(config): Add preview keymap trigger
2021-08-18 17:51:04 -07:00
scheatkode
78178dd4c6 docs(map): Add manual preview keymap to README 2021-08-18 22:48:17 +01:00
scheatkode
bb8df852d2 fix: Handle window switching
The outline window is sometimes not refreshed when switching windows.
This is fixed by listening for `BufEnter` events.

A debouncing function is also added to prevent spamming the language
server.
2021-08-05 16:03:12 +01:00
scheatkode
b1d0fadac5 feat(config): Add preview keymap trigger 2021-08-05 13:52:25 +01:00
simrat39
cc3334e140 Merge branch 'master' of https://github.com/simrat39/symbols-outline.nvim 2021-08-01 12:22:23 -07: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
simrat39
0371627d01 readme: Update default close bindings 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
81c615a9f1 readme: Update default close bindings 2021-07-29 12:11:05 -07:00
simrat39
2275ebf0f8 Merge branch 'master' of https://github.com/simrat39/symbols-outline.nvim 2021-07-29 12:10:15 -07:00
simrat39
63931775ce feat(config): Allow multiple keys for keymaps
Closes #45
2021-07-29 12:09:41 -07:00
sim
9c27e1a55d Merge pull request #46 from GabMus/patch-1
Use Comment color instead of SignColumn
2021-07-29 00:55:23 -07:00
Gabriele Musco
38c6a75b57 Use Comment color instead of SignColumn 2021-07-29 09:38:52 +02: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
0868b5f463 fix: Fix the width of the outline window
So that it does not get offset by opening a file manager or other splits
Closes #33
2021-07-21 12:34:55 -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
fea9ce74e2 Remove debug print 2021-07-13 21:46:44 -07:00
simrat39
8aa8cbad58 feat: Focus to the currently hovered symbol on the first open
We already do this whenever the user is going through the code file but
it doesnt happen on the first open of the outline, so do that.

Closes #24
2021-07-13 21:10:26 -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
839226e4da Merge branch 'master' of https://github.com/simrat39/symbols-outline.nvim 2021-07-13 15:21:17 -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
sim
eab778f07c Merge pull request #35 from andersevenrud/patch-1
Update README.md
2021-07-06 15:46:30 -07:00
Anders Evenrud
5e25aea0f2 Update README.md
Removes "nightly" from prerequisites as 0.5 is now stable.
2021-07-04 14:56:23 +02: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
sim
e4172c803c Merge pull request #29 from ovikk13/feat-multiple-lsp-clients
feat: support multiple lsp clients
2021-06-13 11:10:06 -07:00
sim
8eb3f3e350 Merge pull request #30 from ovikk13/fix_close_last_buffer
Fix(#22): unable to close last buffer if outline opened.
2021-06-13 11:01:29 -07:00
osmund
2caf9f6ff7 Fix(#22): unable to close last buffer if outline opened. 2021-06-13 11:59:17 +02:00
osmund
e7a2cfbee8 feat: support multiple lsp clients
Fixes issue #25
2021-06-13 11:23:46 +02:00
simrat39
b3ea81ef9a feat(config): Enable auto_preview by default 2021-05-29 19:16:27 -07:00
simrat39
23f253aa38 Make keybindings non recursive
Closes #18
2021-05-29 19:13:37 -07:00
sim
3c11a08caa Merge pull request #21 from eruizc-dev/master
Silent mappings
2021-05-26 17:09:38 -07:00
Emiliano Ruiz Carletti
bb73de0e6a Silent mappings 2021-05-26 19:46:47 -03:00
simrat39
fc7704ed9b docs(readme): Update requirements
Closes #15
2021-05-05 19:15:49 -07:00
simrat39
c9c68de360 feat(parser): Support SymbolInformation[]
-- https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol
Some lsp like vuels, pyls etc dont support the newer DocumentSymbol[]
data structure so add minimal support for the old way. This is not
hierarchical so not really a tree

Addresses #13
2021-05-03 16:02:56 -07:00
simrat39
6cffe24f33 fix(_refresh): Only refresh if current buffer is attached to a lsp
client
2021-05-03 15:30:46 -07:00
simrat39
887db9aaaa refractor(parser): get_details: Use flattened_outline_items 2021-05-03 15:25:06 -07:00
simrat39
e9adda47f3 feat(auto_preview): Experimental auto preview and auto hover support
#10
2021-05-02 17:49:18 -07:00
simrat39
a3634eadbd fix(writer): Make sure we're writing only to the outline 2021-05-01 20:12:58 -07:00
simrat39
8d4f4c7356 fix(position): Update right split command 2021-04-30 19:42:43 -07:00
simrat39
b8ec42f32a feat(config): LSP Blacklist
Addresses #9
2021-04-28 22:39:19 -07:00
simrat39
067fd91f16 feat(config): Allow configuring keymaps
Closes #1
2021-04-28 15:03:40 -07:00
sim
abe479fe69 Merge pull request #8 from eruizc-dev/master
Automatically load plugin
2021-04-28 14:32:17 -07:00
Emiliano Ruiz Carletti
42dddf4a72 Update readme 2021-04-27 10:18:48 -03:00