From 8a786d042060628cc825046aff9071c1eb10291b Mon Sep 17 00:00:00 2001 From: David Ibia Date: Thu, 4 Jan 2024 10:37:36 +0100 Subject: [PATCH] feat(indent-blank-line): add support for indent-blank-line plugin The `indent-blank-line` plugin is added to enhance the indentation of blank lines in the code. This improves code readability and makes it easier to navigate through the code. The plugin is configured to use the `ibl` module and is integrated into the existing `absolute.after` module. --- lazy-lock.json | 1 + lua/absolute/after/indent-blank-line.lua | 1 + lua/absolute/plugins/indent-blank-line.lua | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 lua/absolute/after/indent-blank-line.lua create mode 100644 lua/absolute/plugins/indent-blank-line.lua diff --git a/lazy-lock.json b/lazy-lock.json index 6d3f091..4201efc 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -13,6 +13,7 @@ "friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" }, "gitignore.nvim": { "branch": "master", "commit": "e0e0c511595681ef826a91a9e8449e86049406a0" }, "harpoon": { "branch": "master", "commit": "ccae1b9bec717ae284906b0bf83d720e59d12b91" }, + "indent-blankline.nvim": { "branch": "master", "commit": "3c8a185da4b8ab7aef487219f5e001b11d4b6aaf" }, "jedi-vim": { "branch": "master", "commit": "9bd79ee41ac59a33f5890fa50b6d6a446fcc38c7" }, "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" }, "lspkind.nvim": { "branch": "master", "commit": "7f26cf5e27e2bd910ce0ea00c514da2bf97423b8" }, diff --git a/lua/absolute/after/indent-blank-line.lua b/lua/absolute/after/indent-blank-line.lua new file mode 100644 index 0000000..be401dd --- /dev/null +++ b/lua/absolute/after/indent-blank-line.lua @@ -0,0 +1 @@ +require("ibl").setup() diff --git a/lua/absolute/plugins/indent-blank-line.lua b/lua/absolute/plugins/indent-blank-line.lua new file mode 100644 index 0000000..1374ef1 --- /dev/null +++ b/lua/absolute/plugins/indent-blank-line.lua @@ -0,0 +1,8 @@ +return { + "lukas-reineke/indent-blankline.nvim", + main = "ibl", + opts = {}, + config = function() + require("absolute.after.indent-blank-line") + end +}