mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
340cc2756e
commit
18686a41ff
2 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
*snacks.nvim.txt* For Neovim Last change: 2024 November 08
|
||||
*snacks.nvim.txt* For Neovim Last change: 2024 November 09
|
||||
|
||||
==============================================================================
|
||||
Table of Contents *snacks.nvim-table-of-contents*
|
||||
|
|
|
@ -63,12 +63,14 @@ Based on the provided options, some defaults will be set:
|
|||
wo = {},
|
||||
keys = {
|
||||
gf = function(self)
|
||||
local f = vim.fn.findfile(vim.fn.expand("<cfile>"))
|
||||
local f = vim.fn.findfile(vim.fn.expand("<cfile>"), "**")
|
||||
if f == "" then
|
||||
Snacks.notify.warn("No file under cursor")
|
||||
else
|
||||
self:close()
|
||||
vim.cmd("e " .. f)
|
||||
self:hide()
|
||||
vim.schedule(function()
|
||||
vim.cmd("e " .. f)
|
||||
end)
|
||||
end
|
||||
end,
|
||||
term_normal = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue