mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
36 lines
1.1 KiB
Lua
36 lines
1.1 KiB
Lua
return {
|
|
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
|
|
|
{ -- Add indentation guides even on blank lines
|
|
'lukas-reineke/indent-blankline.nvim',
|
|
-- Enable `lukas-reineke/indent-blankline.nvim`
|
|
-- See `:help ibl`
|
|
main = 'ibl',
|
|
opts = {},
|
|
},
|
|
|
|
{ -- Useful plugin to show you pending keybinds.
|
|
'folke/which-key.nvim',
|
|
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
|
|
opts = {
|
|
-- delay between pressing a key and opening which-key (milliseconds)
|
|
-- this setting is independent of vim.opt.timeoutlen
|
|
delay = 0,
|
|
icons = {
|
|
-- set icon mappings to true if you have a Nerd Font
|
|
mappings = true,
|
|
},
|
|
|
|
-- Document existing key chains
|
|
spec = {
|
|
{ '<leader>s', group = '[S]earch' },
|
|
{ '<leader>t', group = '[T]oggle' },
|
|
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
|
|
},
|
|
},
|
|
},
|
|
|
|
-- Highlight todo, notes, etc in comments
|
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
|
}
|