Commit Graph

497 Commits

Author SHA1 Message Date
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
sim
a56d5bdb0a Merge pull request #66 from dsully/master
Spelling fixes.
2021-09-25 12:09:55 -07:00
Dan Sully
3399168607 Spelling fixes. 2021-09-25 08:24:43 -07:00
sim
35c0224291 Merge pull request #65 from luk3ya0/master
add space after markdown header markup
2021-09-22 08:52:56 -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
sim
a8cab53271 Merge pull request #63 from ram02z/new_handler
chore: adapt lsp request handler for nvim >= 0.5.1
2021-09-15 15:50:00 -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
ebf490a0e8 cleanup: Remove _prevent_buffer_override() function on BufLeave 2021-08-22 16:56:33 -07:00
simrat39
a4b701978f refactor: Move commands and autocommands to vimscript 2021-08-22 16:55:29 -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
sim
c81d6e87c9 Merge pull request #59 from ram02z/patch-1
Clean up
2021-08-22 16:29:54 -07:00
Omar Zeghouani
78b4f20b39 Simplify preview toggle 2021-08-21 10:17:12 +01:00
Omar Zeghouani
877cedaf78 Update symbols-outline.txt 2021-08-21 09:47:47 +01:00
Omar Zeghouani
73828e1b05 Delete tags 2021-08-21 09:47:23 +01:00
Omar Zeghouani
e2f819e337 Update README.md 2021-08-21 09:46:42 +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
sim
13cb85092a Merge pull request #58 from simrat39/ram02z-master
Ram02z master
2021-08-20 19:19:29 -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
simrat39
117cc91beb docs: Add highlights
Closes #52
2021-08-20 19:04:57 -07:00
sim
2f3e4ef7eb Merge pull request #56 from ram02z/help
Add help message for keybinds
2021-08-20 13:52:15 -07:00
Omar Zeghouani
970d9932c5 Add help message for keybinds 2021-08-20 20:38:04 +01:00
Omar Zeghouani
5da59b68df Document keybind functionality 2021-08-20 20:30:10 +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
sim
a1dd300530 Merge pull request #57 from ram02z/doc
Add help file
2021-08-20 12:17:30 -07:00
Omar Zeghouani
8af372f9e2 Add help file 2021-08-20 17:46:23 +01:00
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