diff --git a/.bashrc b/.bashrc index 6b50664..9738ce9 100644 --- a/.bashrc +++ b/.bashrc @@ -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 diff --git a/nvim/init.lua b/nvim/init.lua index 78a37f4..a3eaaec 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -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("", "TablineTabNew") nmap("", "TablineBufferNext") nmap("", "TablineBufferPrevious")