chore: minor config adjustments for lsp, git, and mini plugins

This commit is contained in:
sankalp committed 2025-10-16 21:36:16 +05:45
1 parent a1ec09876a
commit 1b7173fc43
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ vim.lsp.config('basedpyright', {
reportDuplicateImport = 'none', reportDuplicateImport = 'none',
reportArgumentType = 'error', reportArgumentType = 'error',
}, },
typeCheckingMode = 'basic', typeCheckingMode = 'standard',
}, },
}, },
}, },
+3 -3
View File
@@ -23,8 +23,8 @@ return {
}, },
signs_staged_enable = true, signs_staged_enable = true,
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl` numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl` linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
watch_gitdir = { watch_gitdir = {
follow_files = true, follow_files = true,
@@ -43,7 +43,7 @@ return {
current_line_blame_formatter = '<author>, <author_time:%R> - <summary>', current_line_blame_formatter = '<author>, <author_time:%R> - <summary>',
sign_priority = 6, sign_priority = 6,
update_debounce = 100, 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) max_file_length = 40000, -- Disable if file is longer than this (in lines)
preview_config = { preview_config = {
-- Options passed to nvim_open_win -- Options passed to nvim_open_win
+2 -1
View File
@@ -17,8 +17,9 @@ return {
}, },
}) })
-- surround -- surround action
require('mini.surround').setup({ require('mini.surround').setup({
n_lines = 25,
mappings = { mappings = {
add = 'ys', -- Add surrounding in Normal and Visual modes add = 'ys', -- Add surrounding in Normal and Visual modes
delete = 'ds', -- Delete surrounding delete = 'ds', -- Delete surrounding