this repo has no description
1return {
2 {
3 "rose-pine/neovim",
4 name = "rose-pine",
5 config = function()
6 require("rose-pine").setup({})
7 vim.cmd("colorscheme rose-pine-dawn")
8 end,
9 },
10 {
11 "nvim-treesitter/nvim-treesitter",
12 config = function()
13 require("nvim-treesitter.configs").setup({
14 highlight = { enable = true },
15 indent = { enable = true },
16 -- Auto install parsers when entering a buffer if missing
17 auto_install = true,
18 ensure_installed = {
19 "lua",
20 "vim",
21 "vimdoc",
22 "query",
23 "markdown",
24 "markdown_inline",
25 "typescript",
26 },
27 })
28 end,
29 },
30 {
31 "f-person/auto-dark-mode.nvim",
32 opts = {
33 update_interval = 1000,
34 set_dark_mode = function()
35 vim.api.nvim_set_option_value("background", "dark", {})
36 vim.cmd("colorscheme rose-pine-main")
37 end,
38 set_light_mode = function()
39 vim.api.nvim_set_option_value("background", "light", {})
40 vim.cmd("colorscheme rose-pine-dawn")
41 end,
42 },
43 },
44}