mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Remove nvim environment from startup.jl
This commit is contained in:
parent
4b9c38b1f1
commit
9fc5d471c7
1 changed files with 7 additions and 12 deletions
|
@ -1,18 +1,13 @@
|
|||
ENV["JULIA_SHELL"] = "/usr/bin/fish"
|
||||
ENV["JULIA_EDITOR"] = "nvim"
|
||||
ENV["JULIA_SHELL"] = "/usr/bin/bash"
|
||||
ENV["JULIA_EDITOR"] = "/usr/bin/vi"
|
||||
|
||||
using Pkg: Pkg
|
||||
Pkg.update()
|
||||
|
||||
project_path = Pkg.project().path
|
||||
project_dir = split(project_path, "/")[end-1]
|
||||
using OhMyREPL: OhMyREPL
|
||||
using BenchmarkTools: @btime, @benchmark
|
||||
using Revise: Revise, includet
|
||||
|
||||
if !(project_dir in ("nvim-lspconfig",))
|
||||
using OhMyREPL: OhMyREPL
|
||||
using BenchmarkTools: @btime, @benchmark
|
||||
using Revise: Revise, includet
|
||||
|
||||
if isfile("Project.toml")
|
||||
Pkg.activate(".")
|
||||
end
|
||||
if isfile("Project.toml")
|
||||
Pkg.activate(".")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue