diff --git a/init.lua b/init.lua index eb9ac6b..cb1ab90 100644 --- a/init.lua +++ b/init.lua @@ -57,6 +57,15 @@ if not vim.loop.fs_stat(lazypath) then } end vim.opt.rtp:prepend(lazypath) +-- nvim-tree setup + +-- disable netrw at the very start of your init.lua (strongly advised) +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 + +-- set termguicolors to enable highlight groups +vim.opt.termguicolors = true +-- [end] nvim-tree setup -- NOTE: Here is where you install your plugins. -- You can configure plugins using the `config` key. @@ -66,9 +75,6 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ -- NOTE: First, some plugins that don't require any configuration - -- Catppuccin theme - { "catppuccin/nvim", name = "catppuccin" }, - -- Git related plugins 'tpope/vim-fugitive', 'tpope/vim-rhubarb', @@ -427,6 +433,8 @@ local servers = { -- Setup neovim lua configuration require('neodev').setup() +-- nvim-tree config empty setup using defaults +require("nvim-tree").setup() -- nvim-cmp supports additional completion capabilities, so broadcast that to servers local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d..63afecc 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,15 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + -- gruvbox theme + {'morhetz/gruvbox', config = function() vim.cmd.colorscheme('gruvbox') end }, + -- Noctis Theme + { 'talha-akram/noctis.nvim', name = 'noctis' }, + -- Catppuccin theme + { 'catppuccin/nvim', name = 'catppuccin' }, + + -- nvim-tree + 'nvim-tree/nvim-tree.lua', + 'nvim-tree/nvim-web-devicons', +}