enhance(nvim): Visualise indentations

This commit is contained in:
Ahmad Ansori Palembani 2024-04-18 14:02:55 +07:00
parent a1ad5ff829
commit 4e085a506c
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 16 additions and 3 deletions

View file

@ -3,6 +3,7 @@
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
"lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "7aad1bf3f6b849cbf108e02c55ad4d701cb4d33a" },

View file

@ -15,9 +15,14 @@ o.mouse = "a"
o.splitbelow = true
o.splitright = true
-- Remove ugly tilde at the end of a file
-- REF: https://vi.stackexchange.com/a/29181
o.fillchars = "eob: "
o.list = true
-- o.listchars:append("space:⋅")
-- > Visualize indent trails with dots
o.listchars:append("trail:⋅")
o.listchars:append("tab:▎―")
-- > Remove ugly tilde at the end of a file
-- > REF: https://vi.stackexchange.com/a/29181
o.fillchars:append("eob: ")
g.mapleader = " "
g.guifont = { "Sarasa UI J", ":h16" }

View file

@ -61,4 +61,11 @@ return {
-- Note to self: init is called during startup. Configuration for vim plugins typically should be set in an init function
end,
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
config = function ()
require("ibl").setup()
end
},
}