From 07b6985607cbda892f104647eb7bfbf0e3be2bbe Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 13 Mar 2024 15:47:23 +0100 Subject: [PATCH] improve nvim config --- common/nvim/init.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/common/nvim/init.lua b/common/nvim/init.lua index 59be420..8e58ceb 100644 --- a/common/nvim/init.lua +++ b/common/nvim/init.lua @@ -102,7 +102,7 @@ vim.o.hlsearch = true vim.opt.number = true -- You can also add relative line numbers, for help with jumping. -- Experiment for yourself to see if you like it! --- vim.opt.relativenumber = true +vim.opt.relativenumber = true -- Enable mouse mode, can be useful for resizing splits for example! vim.opt.mouse = "a" @@ -837,11 +837,7 @@ require("lazy").setup({ { "nvim-treesitter/nvim-treesitter-context", - config = function() - require("nvim-treesitter-context").setup({ - enable = true, - }) - end, + opts = { enable = true }, }, -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the