Compare commits
2 commits
ca78c94e71
...
d104726b73
Author | SHA1 | Date | |
---|---|---|---|
d104726b73 | |||
6fb7a8f544 |
3 changed files with 19 additions and 6 deletions
23
README.md
23
README.md
|
@ -7,16 +7,18 @@ my dotfiles
|
|||
- AHK macro
|
||||
- wezterm
|
||||
- etc
|
||||
- Ubuntu 20.04 on WSL
|
||||
- fish
|
||||
- Arch/Manjaro
|
||||
- Arch
|
||||
- fish
|
||||
- tmux
|
||||
- neovim
|
||||
- keyboard config(xremap)
|
||||
- wezterm
|
||||
- Ubuntu 22.04 on WSL
|
||||
- fish
|
||||
- Termux
|
||||
|
||||
## extra
|
||||
- qpdfview
|
||||
- okular
|
||||
|
||||
# Installing
|
||||
|
@ -29,11 +31,20 @@ my dotfiles
|
|||
6. run `bin/install.ps1`
|
||||
|
||||
### note
|
||||
* manual install lean
|
||||
* manually install lean
|
||||
|
||||
## Linux
|
||||
1. install fish
|
||||
2. run install.sh
|
||||
1. run install.sh
|
||||
|
||||
# Neovim
|
||||
|
||||
## Julia
|
||||
### Initial setup
|
||||
- `./bin/neovim/setup_julials.jl` to set up environment with LanguageServer.jl
|
||||
<!-- - Edit `init.lua` not to use sysimage and edit some julia code -->
|
||||
- `./bin/neovim/update_julials.jl` to generate sysimage for faster startup time
|
||||
|
||||
Edit `init.lua` to change arguments for julials.
|
||||
|
||||
# TODO
|
||||
- Iron.nvim doesn't work for julia on Windows
|
||||
|
|
|
@ -4,6 +4,7 @@ if !ispath(project_path)
|
|||
try
|
||||
mkdir(project_path)
|
||||
@info "Created $(project_path)"
|
||||
touch(joinpath(project_path, "tracecompile.jl"))
|
||||
catch e
|
||||
@error e
|
||||
@error dump(e)
|
||||
|
|
|
@ -4,6 +4,7 @@ cd(project_path)
|
|||
@info "now at " pwd()
|
||||
run(`julia --project=. -e 'using Pkg; Pkg.update()'`)
|
||||
compile_traces = Iterators.filter(eachline("tracecompile.jl")) do line
|
||||
# Remove anonymous functions from compile trace
|
||||
!startswith(line, '#') && !occursin(r"\#\d+\#\d+", line)
|
||||
end |> join
|
||||
read("precompile_exec_head.jl", String) * compile_traces |> (b -> write("precompile_exec.jl", b))
|
||||
|
|
Loading…
Reference in a new issue