blob: 47afca01a6e1f9fc4bae4068f395cb4f4cdbaf5c (
plain)
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
|
local lazy_path = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazy_path) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazy_path,
})
end
vim.opt.rtp:prepend(lazy_path)
require("lazy").setup {
spec = { { import = "plugins" } }
}
if vim.g.neovide then
vim.opt.guifont = "Maple Mono NF";
vim.g.neovide_normal_opacity = 0.95;
vim.g.neovide_input_ime = false;
vim.g.neovide_cursor_animate_in_insert_mode = false
vim.g.neovide_input_macos_option_key_is_meta = 'only_left'
vim.cmd("colorscheme catppuccin-macchiato")
end
require("setup").setup()
|