-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
19 lines (19 loc) · 818 Bytes
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- [nfnl] Compiled from init.fnl by https://github.com/Olical/nfnl, do not edit.
vim.loader.enable()
local lazypath = (vim.fn.stdpath("data") .. "/lazy")
vim.lsp.log.set_level(vim.log.levels.OFF)
local function ensure(user, repo)
local install_path = string.format("%s/%s", lazypath, repo)
if (vim.fn.empty(vim.fn.glob(install_path)) > 0) then
vim.api.nvim_command(string.format("!git clone --filter=blob:none --single-branch https://github.com/%s/%s %s", user, repo, install_path))
else
end
return vim.opt.runtimepath:prepend(install_path)
end
ensure("folke", "lazy.nvim")
ensure("Olical", "nfnl")
require("dotfiles.init")
vim.cmd("let g:loaded_python_provider = 0")
vim.cmd("let g:loaded_python3_provider = 0")
vim.cmd("let g:loaded_node_provider = 0")
return vim.cmd("let g:loaded_perl_provider = 0")