Compare commits

...

2 Commits

Author SHA1 Message Date
b6f9cfabad nvim: add timeout before showing help 2024-06-20 09:36:13 +02:00
8fda281564 nvim: Add cscope_maps 2024-06-20 09:35:40 +02:00

View File

@ -60,7 +60,7 @@ require("lazy").setup({
event = "VimEnter", -- Sets the loading event to 'VimEnter'
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
vim.o.timeoutlen = 800
end,
config = function() -- This is the function that runs, AFTER loading
require("which-key").setup()
@ -100,6 +100,23 @@ require("lazy").setup({
"mhinz/vim-startify",
"https://git.mathux.org/mathieu/taglist.git",
"lfilho/cosco.vim",
{
"dhananjaylatkar/cscope_maps.nvim",
dependencies = {
"folke/which-key.nvim", -- optional [for whichkey hints]
"nvim-telescope/telescope.nvim", -- optional [for picker="telescope"]
"ibhagwan/fzf-lua", -- optional [for picker="fzf-lua"]
"nvim-tree/nvim-web-devicons", -- optional [for devicons in telescope or fzf]
},
branch = "feat/db_relpath",
opts = {
skip_input_prompt = true,
cscope ={
skip_picker_for_single_result = true,
picker = "telescope",
},
},
},
-- Highlight todo, notes, etc in comments
{
"folke/todo-comments.nvim",