RA-Mux Config
This commit is contained in:
parent
aac8bb74d2
commit
a40ab52509
3 changed files with 10 additions and 1 deletions
3
.config/.gitignore
vendored
3
.config/.gitignore
vendored
|
@ -25,6 +25,9 @@
|
||||||
# neovim
|
# neovim
|
||||||
!/nvim/
|
!/nvim/
|
||||||
|
|
||||||
|
# RA-Mux
|
||||||
|
!/ra-multiplex/
|
||||||
|
|
||||||
# git
|
# git
|
||||||
!/git/
|
!/git/
|
||||||
!/git-graph/
|
!/git-graph/
|
||||||
|
|
6
.config/ra-multiplex/config.toml
Normal file
6
.config/ra-multiplex/config.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
instance_timeout = 600 # after 10 minutes
|
||||||
|
gc_interval = 10 # every 10 seconds
|
||||||
|
listen = ["127.0.0.1", 27631] # localhost & some random unprivileged port
|
||||||
|
connect = ["127.0.0.1", 27631] # same as `listen`
|
||||||
|
log_filters = "info"
|
||||||
|
pass_environment = []
|
|
@ -3,7 +3,7 @@ Description=Multiplex Rust Analyzer Sessions, for a fast LSP experience
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ ra-multiplex server
|
ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ %h/.local/share/cargo/bin/ra-multiplex server
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in a new issue