mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-20 01:29:08 +02:00
Adding oil.lua and theme.lua plugins
This commit is contained in:
parent
43ab4598ca
commit
db882645be
3 changed files with 62 additions and 21 deletions
16
lua/custom/plugins/oil.lua
Normal file
16
lua/custom/plugins/oil.lua
Normal 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,
|
||||
},
|
||||
}
|
22
lua/custom/plugins/themes.lua
Normal file
22
lua/custom/plugins/themes.lua
Normal 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 } },
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue