From 1bed2425b14881bb4768905d301544498ae61ad9 Mon Sep 17 00:00:00 2001 From: Ajay Singh Date: Sat, 19 Aug 2023 05:32:30 -0400 Subject: [PATCH] Include nvim-tree and set options on startup --- init.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b10836b..cad0b94 100644 --- a/init.lua +++ b/init.lua @@ -60,6 +60,12 @@ end vim.opt.rtp:prepend(lazypath) -- nvim-tree setup +-- set ruler +vim.cmd('set colorcolumn=80') + +-- set hybrid relative line numbers +vim.cmd('set nu rnu') + -- disable netrw at the very start of your init.lua (strongly advised) vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 @@ -197,7 +203,12 @@ require('lazy').setup({ }, }, }, - + { + 'nvim-tree/nvim-tree.lua', + requires = { + 'nvim-tree/nvim-web-devicons', -- optional + }, + }, { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter',