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

@ -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
},
}