From 1b7173fc434f61ada441ddb43788d4f93e68c767 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 16 Oct 2025 21:36:16 +0545 Subject: [PATCH] chore: minor config adjustments for lsp, git, and mini plugins --- lua/core/lsp.lua | 2 +- lua/plugins/git.lua | 6 +++--- lua/plugins/mini.lua | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lua/core/lsp.lua b/lua/core/lsp.lua index 78d53d1..227611f 100644 --- a/lua/core/lsp.lua +++ b/lua/core/lsp.lua @@ -68,7 +68,7 @@ vim.lsp.config('basedpyright', { reportDuplicateImport = 'none', reportArgumentType = 'error', }, - typeCheckingMode = 'basic', + typeCheckingMode = 'standard', }, }, }, diff --git a/lua/plugins/git.lua b/lua/plugins/git.lua index 5314e18..7245d70 100644 --- a/lua/plugins/git.lua +++ b/lua/plugins/git.lua @@ -23,8 +23,8 @@ return { }, signs_staged_enable = true, signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` - numhl = false, -- Toggle with `:Gitsigns toggle_numhl` - linehl = false, -- Toggle with `:Gitsigns toggle_linehl` + numhl = false, -- Toggle with `:Gitsigns toggle_numhl` + linehl = false, -- Toggle with `:Gitsigns toggle_linehl` word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` watch_gitdir = { follow_files = true, @@ -43,7 +43,7 @@ return { current_line_blame_formatter = ', - ', sign_priority = 6, update_debounce = 100, - status_formatter = nil, -- Use default + status_formatter = nil, -- Use default max_file_length = 40000, -- Disable if file is longer than this (in lines) preview_config = { -- Options passed to nvim_open_win diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua index 2ad600c..6230846 100644 --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -17,8 +17,9 @@ return { }, }) - -- surround + -- surround action require('mini.surround').setup({ + n_lines = 25, mappings = { add = 'ys', -- Add surrounding in Normal and Visual modes delete = 'ds', -- Delete surrounding