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
|
-- plugins that require little no configuration
vim.pack.add({
"https://github.com/windwp/nvim-autopairs",
"https://github.com/kylechui/nvim-surround",
"https://github.com/f-person/auto-dark-mode.nvim",
"https://github.com/cemkagank/apple.nvim",
"https://github.com/MunifTanjim/nui.nvim",
"https://github.com/nvim-neotest/nvim-nio",
"https://github.com/nvim-lua/plenary.nvim",
"https://github.com/j-hui/fidget.nvim",
"https://github.com/neovim/nvim-lspconfig",
{ src = "https://github.com/saghen/blink.cmp", version = vim.version.range("*") },
})
require("nvim-autopairs").setup()
require("nvim-surround").setup()
require("fidget").setup()
require("blink.cmp").setup({
signature = { enabled = true },
})
vim.cmd([[colorscheme apple]])
-- color overrides
local palette = require("apple.palette")
local util = require("apple.util")
local colors = util.is_dark() and palette.dark or palette.light
vim.api.nvim_set_hl(0, "StatusLine", { bg = colors.bg })
|