big changes on neovim
This commit is contained in:
parent
cddb6edde7
commit
6d492f07ba
26 changed files with 242 additions and 291 deletions
|
|
@ -1,6 +1,4 @@
|
|||
-- (~/.config/nvim/lua/neoconf/lazy_init.lua)
|
||||
-- lazy is the package manager used for this nvim config
|
||||
--
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
|
|
@ -8,14 +6,20 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
|||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
"--branch=stable",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- leaders AVANT lazy.setup (exigé par LazyVim)
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = ","
|
||||
|
||||
require("lazy").setup({
|
||||
spec = "neoconf.lazy",
|
||||
spec = {
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||
{ import = "neoconf.lazy" },
|
||||
},
|
||||
change_detection = { notify = false },
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue