From 169fa1a6c99fdae474b018a0cf095a7f69c7e189 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Mon, 3 Jun 2024 13:19:05 +0300 Subject: [PATCH] add gitgutter, lualine, autopairs and surround --- lazy-lock.json | 7 +++++-- lua/crentist/lazy/autopairs.lua | 5 +++++ lua/crentist/lazy/gitgutter.lua | 3 +++ lua/crentist/lazy/lualine.lua | 2 +- lua/crentist/lazy/surround.lua | 10 ++++++++++ 5 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 lua/crentist/lazy/autopairs.lua create mode 100644 lua/crentist/lazy/gitgutter.lua create mode 100644 lua/crentist/lazy/surround.lua diff --git a/lazy-lock.json b/lazy-lock.json index 7e3f500..4ad165c 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -12,15 +12,18 @@ "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" }, "mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" }, - "neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" }, + "neodev.nvim": { "branch": "main", "commit": "1f4ebcc10852518166ce165e57d425a4265a10d4" }, + "nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" }, "nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" }, "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-lspconfig": { "branch": "master", "commit": "710a8fa7379db32199545f30ea01dd8446b9302f" }, + "nvim-surround": { "branch": "main", "commit": "f1f0699a1d49f28e607ffa4361f1bbe757ac5ebc" }, "nvim-treesitter": { "branch": "master", "commit": "979beffc1a86e7ba19bd6535c0370d8e1aaaad3c" }, "nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" }, "plenary": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }, "undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" }, - "vim-fugitive": { "branch": "master", "commit": "4f59455d2388e113bd510e85b310d15b9228ca0d" } + "vim-fugitive": { "branch": "master", "commit": "4f59455d2388e113bd510e85b310d15b9228ca0d" }, + "vim-gitgutter": { "branch": "main", "commit": "e801371917e52805a4ceb1e93f55ed1fba712f82" } } \ No newline at end of file diff --git a/lua/crentist/lazy/autopairs.lua b/lua/crentist/lazy/autopairs.lua new file mode 100644 index 0000000..5698563 --- /dev/null +++ b/lua/crentist/lazy/autopairs.lua @@ -0,0 +1,5 @@ +return { + 'windwp/nvim-autopairs', + event = "InsertEnter", + config = true +} diff --git a/lua/crentist/lazy/gitgutter.lua b/lua/crentist/lazy/gitgutter.lua new file mode 100644 index 0000000..4706c39 --- /dev/null +++ b/lua/crentist/lazy/gitgutter.lua @@ -0,0 +1,3 @@ +return { + "airblade/vim-gitgutter", +} diff --git a/lua/crentist/lazy/lualine.lua b/lua/crentist/lazy/lualine.lua index e738f0d..a677196 100644 --- a/lua/crentist/lazy/lualine.lua +++ b/lua/crentist/lazy/lualine.lua @@ -1,6 +1,6 @@ return { 'nvim-lualine/lualine.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons' }, + dependencies = { 'nvim-tree/nvim-web-devicons', branch = 'master' }, config = function() local colors = { black = '#282828', diff --git a/lua/crentist/lazy/surround.lua b/lua/crentist/lazy/surround.lua new file mode 100644 index 0000000..3df14c8 --- /dev/null +++ b/lua/crentist/lazy/surround.lua @@ -0,0 +1,10 @@ +return { + "kylechui/nvim-surround", + version = "*", -- Use for stability; omit to use `main` branch for the latest features + event = "VeryLazy", + config = function() + require("nvim-surround").setup({ + -- Configuration here, or leave empty to use defaults + }) + end +}