Update config

This commit is contained in:
Davlatov Shahzod 2025-05-31 16:11:14 +03:00
parent 548ea0e17c
commit 133f32928b
3 changed files with 8 additions and 0 deletions

View File

@ -138,4 +138,5 @@ return {
default_keymappings_enabled = true, default_keymappings_enabled = true,
}, },
}, },
{ 'numToStr/Comment.nvim', opts = {} },
} }

View File

@ -73,6 +73,9 @@ return {
-- By default, you may press `<c-space>` to show the documentation. -- By default, you may press `<c-space>` to show the documentation.
-- Optionally, set `auto_show = true` to show the documentation after a delay. -- Optionally, set `auto_show = true` to show the documentation after a delay.
documentation = { auto_show = false, auto_show_delay_ms = 500 }, documentation = { auto_show = false, auto_show_delay_ms = 500 },
accept = {
auto_brackets = { enabled = false },
},
}, },
sources = { sources = {

View File

@ -33,6 +33,10 @@ return {
additional_vim_regex_highlighting = { 'ruby' }, additional_vim_regex_highlighting = { 'ruby' },
}, },
indent = { enable = true, disable = { 'ruby' } }, indent = { enable = true, disable = { 'ruby' } },
context_commentstring = {
enable = true,
enable_autocmd = false,
},
}, },
-- There are additional nvim-treesitter modules that you can use to interact -- There are additional nvim-treesitter modules that you can use to interact
-- with nvim-treesitter. You should go explore a few and see what interests you: -- with nvim-treesitter. You should go explore a few and see what interests you: