From 5270082cc0c5f95d28706611df617603b9f5b9e6 Mon Sep 17 00:00:00 2001 From: Kulvir Singh Date: Sun, 9 Mar 2025 02:11:16 +0530 Subject: [PATCH] 4 tab --- .config/ghostty/config | 2 +- .config/nvim/lua/lilJ/plugins/lsp.lua | 4 ++-- .config/nvim/plugin/options.lua | 8 +++----- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.config/ghostty/config b/.config/ghostty/config index eb786a1..4e9c39e 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -7,7 +7,7 @@ font-thicken = true cursor-style = bar cursor-style-blink = false -background-opacity = 0.85 +background-opacity = 0.9 background-blur-radius = 8 mouse-hide-while-typing = true diff --git a/.config/nvim/lua/lilJ/plugins/lsp.lua b/.config/nvim/lua/lilJ/plugins/lsp.lua index 7bb5212..43269d8 100644 --- a/.config/nvim/lua/lilJ/plugins/lsp.lua +++ b/.config/nvim/lua/lilJ/plugins/lsp.lua @@ -136,10 +136,10 @@ return { -- word under your cursor when your cursor rests there for a little while. local client = vim.lsp.get_client_by_id(event.data.client_id) if client and client.server_capabilities.documentHighlightProvider then - vim.api.nvim_create_autocmd({ + vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, { buffer = event.buf, callback = vim.lsp.buf.document_highlight, - }, { "CursorHold", "CursorHoldI" }) + }) vim.api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI" }, { buffer = event.buf, diff --git a/.config/nvim/plugin/options.lua b/.config/nvim/plugin/options.lua index 22b23cb..77333ce 100644 --- a/.config/nvim/plugin/options.lua +++ b/.config/nvim/plugin/options.lua @@ -1,10 +1,8 @@ local opt = vim.opt --- Use 4 space tabs --- TODO: Change this back when no company work -opt.tabstop = 2 -opt.softtabstop = 2 -opt.shiftwidth = 2 +opt.tabstop = 4 +opt.softtabstop = 4 +opt.shiftwidth = 4 opt.number = true opt.relativenumber = true