nvim: add indent-blankline plugin

main
Ayush Mukherjee 1 year ago
parent 256350d665
commit 314bbf298e

@ -88,3 +88,6 @@ export CHROME_EXECUTABLE=brave
# pnpm
export PNPM_HOME="/home/ayush/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
# nvm
source /usr/share/nvm/init-nvm.sh

@ -47,6 +47,9 @@ require('packer').startup(function()
use 'saadparwaiz1/cmp_luasnip'
use "hrsh7th/cmp-nvim-lua"
-- indent lines
use "lukas-reineke/indent-blankline.nvim"
end)
require("user.basics")
@ -95,6 +98,16 @@ configs.setup({
indent = { enable = true, disable = { "yaml" } }
})
-- indent blankline plugin
vim.opt.list = true
vim.opt.listchars:append "space:⋅"
vim.opt.listchars:append "eol:↴"
require("indent_blankline").setup {
show_end_of_line = true,
show_current_context = true,
show_current_context_start = true,
}
nmap("<C-T>", "<cmd>TablineTabNew<cr>")
nmap("<C-L>", "<cmd>TablineBufferNext<cr>")
nmap("<C-H>", "<cmd>TablineBufferPrevious<cr>")

Loading…
Cancel
Save