canola.nvim/lua/oil
Philipp Oeschger 59b3dab6f7
feat: support preview from floating window (#403)
* implement floating window

* reset width on closing window

* use gap from new config parameter

* use minimal style for preview in floating

* lower z-index

* add configuration of preview position in floating window

* fix in verions earlier than nvim 0.10

* close preview on opening floating window

Close the any existing preview because otherwise strange errors happen when the preview is open and the floating window is opened at the same time.

* reset formatting changes

* remove empty line

* change z-index of preview window to floating window z-index

* add configurations to oil.txt

* formatting

* add auto configuration

* update oil doc

* refactor: move logic into layout.lua and eliminate flicker

* fix: floating preview window title is file name

* doc: clarify default_file_explorer

* refactor: don't need a preview_gap option

* refactor: only find preview win in current tabpage

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-06-19 21:23:30 -04:00
..
adapters doc: more detailed type annotations for setup() call 2024-05-22 13:46:11 -07:00
lsp fix: throw error on vim.has call within the lsp/workspace.lua (#411) 2024-06-11 06:23:04 -05:00
mutator doc: more detailed type annotations for setup() call 2024-05-22 13:46:11 -07:00
actions.lua feat: support preview from floating window (#403) 2024-06-19 21:23:30 -04:00
cache.lua ci: typechecking no longer requires neodev 2024-06-01 16:38:11 -07:00
columns.lua fix: icon column highlight parameter (#366) 2024-05-06 11:43:00 -07:00
config.lua feat: support preview from floating window (#403) 2024-06-19 21:23:30 -04:00
constants.lua refactor: small perf win by eliminating string object keys 2023-06-25 22:44:44 -07:00
fs.lua lint: ignore some type errors 2024-05-13 20:02:11 -06:00
git.lua fix: git mv errors when moving empty directory (#358) 2024-04-23 19:31:54 -07:00
init.lua feat: support preview from floating window (#403) 2024-06-19 21:23:30 -04:00
keymap_util.lua fix: vim.notify call error 2024-06-11 06:27:39 -05:00
layout.lua feat: support preview from floating window (#403) 2024-06-19 21:23:30 -04:00
loading.lua fix: type annotations and type errors 2023-08-12 20:32:52 -07:00
pathutil.lua fix: can view drives on Windows 2023-11-05 07:27:28 -08:00
ringbuf.lua fix: spurious exits from faulty :wq detection (#221) 2024-03-12 15:57:57 -07:00
shell.lua feat: builtin support for editing files over ssh (#27) 2023-01-18 10:25:22 -08:00
types.lua doc: more detailed type annotations for setup() call 2024-05-22 13:46:11 -07:00
util.lua fix(windows): file operation preview uses only backslash path separator (#336) 2024-04-23 20:57:22 -07:00
view.lua ci: typechecking no longer requires neodev 2024-06-01 16:38:11 -07:00