feat: add monokai colorscheme and nvim-tree plugin configuration

pull/1658/head
David Ponte 3 months ago
parent d350db2449
commit d7348e755b

@ -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

@ -0,0 +1,17 @@
-- Codam header
return {
config = function()
require('codamheader').setup {
auto_update = true,
user = 'dponte',
mail = 'dponte@student.codam.nl',
git = {
enabled = false,
bin = 'git',
user_global = true,
email_global = true,
},
exascii_left = false,
}
end,
}

@ -0,0 +1,16 @@
require('nvim-tree').setup {
sort = {
sorter = 'case_sensitive',
folders_first = true,
files_first = false,
},
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
}
Loading…
Cancel
Save