Summary Files Commits Branches @commit @diff @stats
path: root / lua / plugins / default.lua
blob: e883fab7a678f1ed5d5b4d9fd46c61c2aa27d53b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
return {
	{
		"morhetz/gruvbox",
		lazy = false,
		priority = 1000,
		init = function()
			vim.o.background = "dark"
			vim.g.gruvbox_contrast_dark = "hard"
		end,
		config = function()
			vim.cmd("colorscheme gruvbox")
		end,
	},
	{
		"nvim-treesitter/nvim-treesitter",
		build = ":TSUpdate",
		opts = {
			ensure_installed = "all",
			ignore_install = { "liquidsoap", "norg", "tlaplus", "yaml" }, -- Can't compile
			highlight = { enable = true },
			incremental_selection = { enable = true },
			textobjects = { enable = true },
		},
		config = function(_, opts)
			require("nvim-treesitter.configs").setup(opts)
		end,
	},
	{ "nvim-tree/nvim-web-devicons", },
	{
		"preservim/nerdtree",
		dependencies = {
			"ryanoasis/vim-devicons",
		},
		keys = {{ "<Tab>", ":NERDTreeToggle<CR>" }},
		init = function()
			vim.g.NERDTreeShowHidden = 1
			vim.g.NERDTreeWinPos     = "right"
			vim.g.NERDTreeIgnore     = { "\\.swp$", "\\~$" } -- Ignore file, ending with .swp and ~
		end,
	},
}