From f9288900e86880b3aa1b07f7856aa8d7b8573088 Mon Sep 17 00:00:00 2001 From: lsanto Date: Tue, 1 Oct 2024 23:37:44 -0400 Subject: [PATCH] add basic setting --- init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.lua b/init.lua index bb8adcb4..5237863b 100644 --- a/init.lua +++ b/init.lua @@ -103,6 +103,12 @@ vim.opt.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! vim.opt.relativenumber = true +vim.opt.expandtab = true +vim.opt.tabstop = 2 +vim.opt.shiftwidth = 2 +vim.opt.virtualedit = 'block' +-- vim.opt.inccommand = "split" +vim.opt.termguicolors = true -- Enable mouse mode, can be useful for resizing splits for example! vim.opt.mouse = 'a' @@ -858,6 +864,8 @@ require('lazy').setup({ completeopt = 'menu,menuone,noinsert,noselect', }, + experimental = { ghost_text = true }, + -- For an understanding of why these mappings were -- chosen, you will need to read `:help ins-completion` --