feat: add monokai colorscheme and nvim-tree plugin configuration

This commit is contained in:
David Ponte 2025-04-22 18:01:31 +02:00
parent d350db2449
commit d7348e755b
3 changed files with 66 additions and 4 deletions

View file

@ -889,6 +889,13 @@ require('lazy').setup({
vim.cmd.colorscheme 'tokyonight-night'
end,
},
{
'tanvirtin/monokai.nvim',
config = function()
-- pcall(vim.cmd, [[colorscheme monokai]])
require('monokai').setup { palette = require('monokai').classic }
end
},
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
@ -936,7 +943,22 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
ensure_installed = {
'bash',
'c',
'diff',
'html',
'lua',
'luadoc',
'markdown',
'markdown_inline',
'query',
'vim',
'vimdoc',
'javascript',
'rust',
'typescript',
},
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {
@ -976,12 +998,19 @@ require('lazy').setup({
-- This is the easiest way to modularize your config.
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- { import = 'custom.plugins' },
--
{ import = 'custom.plugins' },
{
'BeerB34r/codam-header.nvim',
cmd = 'Stdheader',
config = function()
require('custom.plugins.codam-header').config()
end,
lazy = true,
},
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
-- you can continue same window with `<space>sr` which resumes last telescope search
-- you can co tinue same window with `<space>sr` which resumes last telescope search
}, {
ui = {
-- If you are using a Nerd Font: set icons to an empty table which will use the