ruff/crates/ruff_server/docs/setup
Jane Lewis c8ff89c73c
ruff server: Support the usage of tildes and environment variables in logFile (#11945)
## Summary

Fixes #11911.

`shellexpand` is now used on `logFile` to expand the file path, allowing
the usage of `~` and environment variables.

## Test Plan

1. Set `logFile` in either Neovim or Helix to a file path that needs
expansion, like `~/.config/helix/ruff_logs.txt`.
2. Ensure that `RUFF_TRACE` is set to `messages` or `verbose`
3. Open a Python file in Neovim/Helix
4. Confirm that a file at the path specified was created, with the
expected logs.
2024-06-20 18:51:46 +00:00
..
assets Write ruff server setup guide for Helix (#11183) 2024-04-30 10:15:29 -07:00
HELIX.md ruff server: Support the usage of tildes and environment variables in logFile (#11945) 2024-06-20 18:51:46 +00:00
KATE.md Add Vim and Kate setup guide for ruff server (#11615) 2024-05-31 19:06:55 +00:00
NEOVIM.md ruff server: Support the usage of tildes and environment variables in logFile (#11945) 2024-06-20 18:51:46 +00:00
VIM.md Add Vim and Kate setup guide for ruff server (#11615) 2024-05-31 19:06:55 +00:00