aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/init.lua
blob: 59da87780404db3ea6ccb14bb07da2dcce756d73 (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
require("lazy").setup({
	"tpope/vim-fugitive",
	"tpope/vim-sleuth",
	{ "numToStr/Comment.nvim", opts = {} },

	{
		"lewis6991/gitsigns.nvim",
		opts = require("plugins.opts.misc").gitsigns,
	},

	{
		"nvim-lualine/lualine.nvim",
		dependencies = { 'nvim-tree/nvim-web-devicons' },

		opts = require "plugins.opts.lualine",
	},

	{
		"tiagovla/tokyodark.nvim",
		lazy = false,

		opts = { transparent_background = true },
		config = function(_, opts)
			require("tokyodark").setup(opts)
			vim.cmd.colorscheme "tokyodark"
		end,
	},

	{
		"nvim-treesitter/nvim-treesitter", build = ":TSUpdate",
		event = { "BufReadPost", "BufNewFile" },
		cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSModuleInfo" },

		opts = require "plugins.opts.treesitter",
		config = function(_, opts)
			require("nvim-treesitter.configs").setup(opts)
		end,
	},

})