vim.loader.enable()local q=vim.fn.stdpath("\100\097\116\097").."\047\108\097\122\121"local T=q.."\047\108\097\122\121\046\110\118\105\109"if not vim.uv.fs_stat(T)then vim.fn.system({"\103\105\116";"\099\108\111\110\101";"--\102\105\108\116\101\114\061\098\108\111\098\058\110\111\110\101","\104\116\116\112\115\058\047\047\103\105\116\104\117\098\046\099\111\109\047\102\111\108\107\101\047\108\097\122\121\046\110\118\105\109\046\103\105\116";"--\098\114\097\110\099\104\061\115\116\097\098\108\101";T})end vim.opt.rtp:prepend(T)require("\095")require("\095\046\111\112\116\105\111\110\115")require("\095\046\108\115\112")vim.api.nvim_create_autocmd({"\085\115\101\114"},{once=true,pattern="\086\101\114\121\076\097\122\121",callback=function()require("\095\046\107\101\121\109\097\112\112\105\110\103\115")require("\095\046\097\117\116\111\099\111\109\109\097\110\100\115")require("\095\046\099\111\109\109\097\110\100\115")require("\095\046\116\101\114\109\105\110\097\108")if vim.g.neovide then require("\095\046\110\101\111\118\105\100\101")end end});(require("\108\097\122\121")).setup("\112\108\117\103\105\110\115",{root=q,lockfile=q.."\047\108\097\122\121-\108\111\099\107\046\106\115\111\110",dev={path="~\047\046\110\118\105\109-\112\108\117\103\105\110\115";patterns={"\057\115\101\099\111\110\100\115"};fallback=true}})
-- 9seconds Neovim Lua Config, V5
--
-- https://github.com/9seconds
-- https://neovim.io/doc/user/lua-guide.html

vim.loader.enable()

local datapath = vim.fn.stdpath("data") .. "/lazy"
local lazypath = datapath .. "/lazy.nvim"

if not vim.uv.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)

require("_")
require("_.options")
require("_.lsp")

vim.api.nvim_create_autocmd({ "User" }, {
  once = true,
  pattern = "VeryLazy",
  callback = function()
    require("_.keymappings")
    require("_.autocommands")
    require("_.commands")
    require("_.terminal")

    if vim.g.neovide then
      require("_.neovide")
    end
  end,
})

require("lazy").setup("plugins", {
  root = datapath,
  lockfile = datapath .. "/lazy-lock.json",
  dev = {
    path = "~/.nvim-plugins",
    patterns = { "9seconds" },
    fallback = true,
  },
})
