diff --git a/.config/.gitignore b/.config/.gitignore index 6ad825f..a73e416 100644 --- a/.config/.gitignore +++ b/.config/.gitignore @@ -25,6 +25,9 @@ # neovim !/nvim/ +# RA-Mux +!/ra-multiplex/ + # git !/git/ !/git-graph/ diff --git a/.config/ra-multiplex/config.toml b/.config/ra-multiplex/config.toml new file mode 100644 index 0000000..e790c50 --- /dev/null +++ b/.config/ra-multiplex/config.toml @@ -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 = [] diff --git a/.config/systemd/user/ra-multiplex.service b/.config/systemd/user/ra-multiplex.service index 3fb639e..d26c02d 100644 --- a/.config/systemd/user/ra-multiplex.service +++ b/.config/systemd/user/ra-multiplex.service @@ -3,7 +3,7 @@ Description=Multiplex Rust Analyzer Sessions, for a fast LSP experience [Service] 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] WantedBy=default.target