Update Neovim config to use alternative compiled path

This commit is contained in:
Gabriel Arazas 2022-07-06 22:42:51 +08:00
parent 9f5432e5a6
commit 94a0c303ab

View File

@ -8,7 +8,11 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
packer_bootstrap = vim.fn.system({"git", "clone", "https://github.com/wbthomason/packer.nvim", install_path})
end
return require("packer").startup(function(use)
local packer = require("packer")
local util = require("packer.util")
return packer.startup({
function(use)
-- Let the package manager manage itself.
use { "wbthomason/packer.nvim" }
@ -48,12 +52,6 @@ return require("packer").startup(function(use)
virt_text = { {"<- Current choice", "Comment"} },
},
},
[types.insertNode] = {
active = {
virt_text = { {"<>", "Comment"} },
},
},
},
}
@ -272,7 +270,13 @@ return require("packer").startup(function(use)
end
}
if packer_bootstrap then
require("packer").sync()
end
end)
use { "https://gitlab.com/HiPhish/guile.vim.git" }
use {
"eraserhd/parinfer-rust",
run = "nix-shell --run 'cargo build --release'",
}
use { "Olical/conjure", }
end,
config = {
compile_path = util.join_paths(vim.fn.stdpath('data'), 'site', 'after', 'plugin', 'packer_compiled.lua'),
}})