From b0ec0dbc48b0b8bb600c644ac377930d949e11fd Mon Sep 17 00:00:00 2001 From: ZaneFerns360 Date: Sat, 4 May 2024 11:20:24 +0530 Subject: [PATCH 1/2] changes --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 399bbbed..ad4581c2 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' }, @@ -681,7 +681,7 @@ require('lazy').setup({ { -- Autoformat 'stevearc/conform.nvim', - lazy = true, + event = 'VimEnter', keys = { { 'f', From f86f18f27afeef1952272e212bef886e58ffd04c Mon Sep 17 00:00:00 2001 From: Richard Macklin <1863540+rmacklin@users.noreply.github.com> Date: Sun, 5 May 2024 18:01:39 -0700 Subject: [PATCH 2/2] Add diff to treesitter's ensure_installed languages (#908) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 457ad214..88658ef3 100644 --- a/init.lua +++ b/init.lua @@ -835,7 +835,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 = {