Merge pull request #4 from marctalcott/tmp

add frappe colorscheme and oil
This commit is contained in:
marctalcott 2024-06-11 09:24:57 -04:00 committed by GitHub
commit 24985f8132
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 10 deletions

View File

@ -274,3 +274,7 @@ vim.cmd 'set expandtab'
vim.cmd 'set tabstop=2'
vim.cmd 'set softtabstop=2'
vim.cmd 'set shiftwidth=2'
-- Oil plugin
require('oil').setup()
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })

View File

@ -0,0 +1,9 @@
return {
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
flavour = 'frappe',
init = function()
vim.cmd.colorscheme 'catppuccin-frappe'
end,
}

6
lua/plugins/oil.lua Normal file
View File

@ -0,0 +1,6 @@
return {
'stevearc/oil.nvim',
opts = {},
-- Optional dependencies
dependencies = { 'nvim-tree/nvim-web-devicons' },
}

View File

@ -558,15 +558,6 @@ return {
}
end,
},
{
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
flavour = 'mocha',
init = function()
vim.cmd.colorscheme 'catppuccin'
end,
},
--{ -- You can easily change to a different colorscheme.
-- Change the name of the colorscheme plugin below, and then
@ -577,7 +568,7 @@ return {
-- priority = 1000, -- Make sure to load this before all the other start plugins.
-- init = function()
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- Like many other themes, this one has different styles, and you could loadplugins
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
-- vim.cmd.colorscheme 'tokyonight-night'