Compare commits
No commits in common. "ac792e8684ab496d942b3ec3ea2f154618c78a9d" and "254ea9bb31984f323b7692ce351d7ae370892777" have entirely different histories.
ac792e8684
...
254ea9bb31
@ -476,7 +476,7 @@ return {
|
||||
-- 自行加入的
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
statusline = false,
|
||||
statusline = true
|
||||
}
|
||||
},
|
||||
config = function(_, opts)
|
||||
@ -538,7 +538,6 @@ return {
|
||||
local state = require("neo-tree.sources.manager").get_state("document_symbols")
|
||||
if state and state.winid and vim.api.nvim_win_is_valid(state.winid) then
|
||||
vim.api.nvim_win_set_option(state.winid, "winbar", "")
|
||||
vim.api.nvim_win_set_option(state.winid, "statusline", "")
|
||||
end
|
||||
vim.defer_fn(keep_clear_winbar, 100) -- 300ms 後再執行自己一次
|
||||
end
|
||||
|
@ -32,10 +32,10 @@ return {
|
||||
}
|
||||
|
||||
-- Setup keymaps
|
||||
-- vim.keymap.set("n", "K", require("hover").hover, {desc = "hover.nvim"})
|
||||
-- vim.keymap.set("n", "gK", require("hover").hover_select, {desc = "hover.nvim (select)"})
|
||||
-- vim.keymap.set("n", "<C-p>", function() require("hover").hover_switch("previous") end, {desc = "hover.nvim (previous source)"})
|
||||
-- vim.keymap.set("n", "<C-n>", function() require("hover").hover_switch("next") end, {desc = "hover.nvim (next source)"})
|
||||
vim.keymap.set("n", "K", require("hover").hover, {desc = "hover.nvim"})
|
||||
vim.keymap.set("n", "gK", require("hover").hover_select, {desc = "hover.nvim (select)"})
|
||||
vim.keymap.set("n", "<C-p>", function() require("hover").hover_switch("previous") end, {desc = "hover.nvim (previous source)"})
|
||||
vim.keymap.set("n", "<C-n>", function() require("hover").hover_switch("next") end, {desc = "hover.nvim (next source)"})
|
||||
|
||||
-- Mouse support
|
||||
vim.keymap.set('n', '<MouseMove>', require('hover').hover_mouse, { desc = "hover.nvim (mouse)" })
|
||||
|
Loading…
x
Reference in New Issue
Block a user