mirror of
				https://github.com/marianozunino/nvim.git
				synced 2025-10-29 11:50:41 -03:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			378 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			378 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| local M = {
 | |
|   "folke/which-key.nvim",
 | |
|   event = "VeryLazy",
 | |
|   init = function()
 | |
|     vim.o.timeout = true
 | |
|     vim.o.timeoutlen = 500
 | |
|   end,
 | |
| }
 | |
| 
 | |
| M.config = function()
 | |
|   require("which-key").setup({
 | |
|     win = {
 | |
|       border = "single",
 | |
|     },
 | |
|     plugins = {
 | |
|       marks = true,
 | |
|       registers = true,
 | |
|       spelling = {
 | |
|         enabled = false,
 | |
|       },
 | |
|     },
 | |
|   })
 | |
| end
 | |
| 
 | |
| return M
 |