♻️ refactor(config): streamline plugins and LSP configurations for improved maintainability
This commit is contained in:
21 files changed
+171
-1281
No files matched your search
@@ -3,13 +3,13 @@ local surround = require('mini.surround')
|
||||
surround.setup({
|
||||
custom_surroundings = nil,
|
||||
mappings = {
|
||||
add = 'gsa',
|
||||
delete = 'gsd',
|
||||
find = 'gsf',
|
||||
find_left = 'gsF',
|
||||
highlight = 'gsh',
|
||||
replace = 'gsr',
|
||||
update_n_lines = 'gsn',
|
||||
add = 'sa',
|
||||
delete = 'sd',
|
||||
find = 'sf',
|
||||
find_left = 'sF',
|
||||
highlight = 'sh',
|
||||
replace = 'sr',
|
||||
update_n_lines = 'sn',
|
||||
|
||||
suffix_last = 'l', -- Suffix to search with "prev" method
|
||||
suffix_next = 'n', -- Suffix to search with "next" method
|
||||
@@ -17,8 +17,8 @@ surround.setup({
|
||||
|
||||
-- How to search for surrounding
|
||||
-- 'cover', 'cover_or_next', 'cover_or_prev','cover_or_nearest', 'next', 'previous', 'nearest'.
|
||||
search_method = 'cover_or_nearest',
|
||||
highlight_duration = 500,
|
||||
search_method = 'cover',
|
||||
highlight_duration = 300,
|
||||
n_lines = 20,
|
||||
respect_selection_type = false,
|
||||
silent = false,
|
||||
|
||||
@@ -18,8 +18,7 @@ treesitter.setup({
|
||||
indent = { enable = true },
|
||||
autotag = {
|
||||
enable = true,
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
||||
Reference in new issue
Block a user