1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Remove nvim environment from startup.jl

This commit is contained in:
Mo 2022-11-08 17:57:28 +01:00
parent 4b9c38b1f1
commit 9fc5d471c7

View file

@ -1,18 +1,13 @@
ENV["JULIA_SHELL"] = "/usr/bin/fish" ENV["JULIA_SHELL"] = "/usr/bin/bash"
ENV["JULIA_EDITOR"] = "nvim" ENV["JULIA_EDITOR"] = "/usr/bin/vi"
using Pkg: Pkg using Pkg: Pkg
Pkg.update() Pkg.update()
project_path = Pkg.project().path using OhMyREPL: OhMyREPL
project_dir = split(project_path, "/")[end-1] using BenchmarkTools: @btime, @benchmark
using Revise: Revise, includet
if !(project_dir in ("nvim-lspconfig",)) if isfile("Project.toml")
using OhMyREPL: OhMyREPL Pkg.activate(".")
using BenchmarkTools: @btime, @benchmark
using Revise: Revise, includet
if isfile("Project.toml")
Pkg.activate(".")
end
end end