diff --git a/init.lua b/init.lua index 776c6873..8ef39791 100644 --- a/init.lua +++ b/init.lua @@ -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 `sh` then write `lazy.nvim-plugin` - -- you can continue same window with `sr` which resumes last telescope search + -- you can co tinue same window with `sr` which resumes last telescope search }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the diff --git a/lua/custom/plugins/codam-header.lua b/lua/custom/plugins/codam-header.lua new file mode 100644 index 00000000..ec221987 --- /dev/null +++ b/lua/custom/plugins/codam-header.lua @@ -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, +} diff --git a/lua/kickstart/plugins/nvim-tree.lua b/lua/kickstart/plugins/nvim-tree.lua new file mode 100644 index 00000000..4419a1cc --- /dev/null +++ b/lua/kickstart/plugins/nvim-tree.lua @@ -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, + }, +}