Adding oil.lua and theme.lua plugins

This commit is contained in:
Juan Miguel Rúa 2024-04-30 17:47:47 +02:00
parent 43ab4598ca
commit db882645be
3 changed files with 62 additions and 21 deletions

View file

@ -0,0 +1,16 @@
return {
{
'stevearc/oil.nvim',
opts = {},
-- Optional dependencies
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('oil').setup {
default_file_explorer = true,
}
vim.keymap.set('n', '<leader>e', '<CMD>Oil<CR>', { desc = 'Open folder structure with Oil' })
end,
},
}

View file

@ -0,0 +1,22 @@
return {
{
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
opts = {
flavour = 'macchiato',
transparent_background = true,
term_colors = true,
custom_highlights = function(colors)
return {
Comment = { fg = colors.subtext1 },
TabLineSel = { bg = colors.teal },
CmpBorder = { fg = colors.surface2 },
StatusLine = { fg = colors.blue },
GetFile = { fg = colors.blue },
}
end,
},
},
{ 'folke/tokyonight.nvim', name = 'tokyonight', priority = 1000, opts = { transparent = true } },
}