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,13 +1,9 @@
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
project_dir = split(project_path, "/")[end-1]
if !(project_dir in ("nvim-lspconfig",))
using OhMyREPL: OhMyREPL using OhMyREPL: OhMyREPL
using BenchmarkTools: @btime, @benchmark using BenchmarkTools: @btime, @benchmark
using Revise: Revise, includet using Revise: Revise, includet
@ -15,4 +11,3 @@ if !(project_dir in ("nvim-lspconfig",))
if isfile("Project.toml") if isfile("Project.toml")
Pkg.activate(".") Pkg.activate(".")
end end
end