mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-08 03:55:04 +02:00
feat: add monokai colorscheme and nvim-tree plugin configuration
This commit is contained in:
parent
d350db2449
commit
d7348e755b
3 changed files with 66 additions and 4 deletions
37
init.lua
37
init.lua
|
@ -889,6 +889,13 @@ require('lazy').setup({
|
||||||
vim.cmd.colorscheme 'tokyonight-night'
|
vim.cmd.colorscheme 'tokyonight-night'
|
||||||
end,
|
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
|
-- Highlight todo, notes, etc in comments
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
{ '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
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
opts = {
|
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
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = {
|
||||||
|
@ -976,12 +998,19 @@ require('lazy').setup({
|
||||||
-- This is the easiest way to modularize your config.
|
-- 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.
|
-- 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`
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
||||||
-- Or use telescope!
|
-- Or use telescope!
|
||||||
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
|
-- 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 = {
|
ui = {
|
||||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||||
|
|
17
lua/custom/plugins/codam-header.lua
Normal file
17
lua/custom/plugins/codam-header.lua
Normal file
|
@ -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,
|
||||||
|
}
|
16
lua/kickstart/plugins/nvim-tree.lua
Normal file
16
lua/kickstart/plugins/nvim-tree.lua
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue