starting out
This commit is contained in:
parent
2a04c56002
commit
68866cae29
35
init.lua
Normal file
35
init.lua
Normal file
@ -0,0 +1,35 @@
|
||||
-- Chechs for instal of lazy.nvim (plugin manager) in not found installs it --
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Configuration of global var --
|
||||
|
||||
local plugins = {
|
||||
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 }, -- colour scheme --
|
||||
|
||||
{'nvim-telescope/telescope.nvim', tag = '0.1.6', -- fuzzy finder (telescope) --
|
||||
dependencies = { 'nvim-lua/plenary.nvim' }}
|
||||
|
||||
}
|
||||
local opts = {}
|
||||
|
||||
|
||||
-- Runs lazy.nvim (plugin manager) --
|
||||
|
||||
require("lazy").setup(plugins, opts)
|
||||
|
||||
require("catppuccin").setup(plugins, opts)
|
||||
vim.cmd.colorscheme "catppuccin"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user