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
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
toppair
f5715207c9
Provide offset_encoding argument
2022-04-22 11:32:53 +02:00
Michael Spradling
bb0cb4fcd0
Do not close outline when focus_location occurs
...
When auto_close is set to false, this patch does nothing.
However, when auto_close is set to true now the outline only closes when
the goto_location action is taken. The action focus_location still
keeps the outline open.
2022-03-17 12:01:21 -04:00
Andrew
f7946bd254
feat: winblend
2022-03-13 01:36:17 +11:00
FollieHiyuki
d980dbf947
Format with stylua
2022-02-22 22:32:53 +07:00
sim
758944ebc6
Merge pull request #105 from showermat/icon-highlight
...
Highlight icons using highlight regions rather than matching rules
2022-02-21 18:17:30 -08:00
Simrat Grewal
9d1d404472
fix(providers/markdown): Add multifile support
...
Fixes #90
2022-02-21 18:14:23 -08:00
sim
6441822329
Merge pull request #108 from FollieHiyuki/border
...
config: make border style configurable
2022-02-21 18:07:43 -08:00
sim
caa9487633
Merge pull request #104 from showermat/markdown-hierarchy
...
Support header hierarchy in Markdown outlines
2022-02-21 18:07:26 -08:00
sim
555d473cf9
Merge pull request #91 from marcuscaisey/relative-width
...
Calculate outline width relative to number of columns on screen
2022-02-21 18:04:47 -08:00
FollieHiyuki
01be703f33
Make border style configurable
2022-02-08 18:02:24 +07:00
Matthew Schauer
2370d4d2ac
Remove pointless arithmetic
2022-02-02 21:04:21 -08:00
Matthew Schauer
70ddcccbca
Highlight icons using highlight regions rather than matching rules
2022-02-02 21:01:31 -08:00
Matthew Schauer
49b9aa24e9
Support header hierarchy in Markdown outlines
2022-02-02 17:26:12 -08:00
zeertzjq
d738b1defd
fix: initialize code_win to 0 instead of nil
...
Ref <https://github.com/neovim/neovim/pull/16745 >
2022-01-04 10:18:57 +08:00
Marcus Caisey
50a106bbff
calculate outline width relative to vim.o.columns
2021-12-24 17:46:43 +00: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