diff --git a/init.lua b/init.lua index 20f61958..42031fd4 100644 --- a/init.lua +++ b/init.lua @@ -301,8 +301,8 @@ require('lazy').setup({ -- Document existing key chains require('which-key').register { - ['q'] = { { "confirm q", "Quit" }, }, - ['w'] = { { "w!", "Write" }, }, + ['q'] = { { 'confirm q', 'Quit' } }, + ['w'] = { { 'w!', 'Write' } }, ['c'] = { name = '[C]ode', _ = 'which_key_ignore' }, ['d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, ['r'] = { name = '[R]ename', _ = 'which_key_ignore' }, @@ -682,7 +682,7 @@ require('lazy').setup({ { -- Autoformat 'stevearc/conform.nvim', - lazy = true, + event = 'VimEnter', keys = { { 'f', @@ -880,7 +880,7 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { - ensure_installed = { 'bash', 'c', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' }, + ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' }, -- Autoinstall languages that are not installed auto_install = true, highlight = {