From 133f32928bf5b009667c263b7360516b555ad38b Mon Sep 17 00:00:00 2001 From: Davlatov Shahzod Date: Sat, 31 May 2025 16:11:14 +0300 Subject: [PATCH] Update config --- lua/custom/plugins/init.lua | 1 + lua/kickstart/plugins/blink.lua | 3 +++ lua/kickstart/plugins/treesitter.lua | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 19f6ef4e..862d0498 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -138,4 +138,5 @@ return { default_keymappings_enabled = true, }, }, + { 'numToStr/Comment.nvim', opts = {} }, } diff --git a/lua/kickstart/plugins/blink.lua b/lua/kickstart/plugins/blink.lua index 81dcafb7..be62a37f 100644 --- a/lua/kickstart/plugins/blink.lua +++ b/lua/kickstart/plugins/blink.lua @@ -73,6 +73,9 @@ return { -- By default, you may press `` to show the documentation. -- Optionally, set `auto_show = true` to show the documentation after a delay. documentation = { auto_show = false, auto_show_delay_ms = 500 }, + accept = { + auto_brackets = { enabled = false }, + }, }, sources = { diff --git a/lua/kickstart/plugins/treesitter.lua b/lua/kickstart/plugins/treesitter.lua index d37feb5c..e9807e77 100644 --- a/lua/kickstart/plugins/treesitter.lua +++ b/lua/kickstart/plugins/treesitter.lua @@ -33,6 +33,10 @@ return { additional_vim_regex_highlighting = { '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 -- with nvim-treesitter. You should go explore a few and see what interests you: