diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2025-04-19 19:30:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 19:30:47 +0000 |
| commit | 8955c6c6eee2083eaf108cd4c844f8bdda18a776 (patch) | |
| tree | a9b604109b4a877bd5731a28d1b2ce0bb1100689 /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | 92adbd323aa99c78341555ffcdbbffd009e1611d (diff) | |
| parent | d1e82ba37c3dd1998808665971bbee4e1ae028b8 (diff) | |
| download | rust-8955c6c6eee2083eaf108cd4c844f8bdda18a776.tar.gz rust-8955c6c6eee2083eaf108cd4c844f8bdda18a776.zip | |
Rollup merge of #139843 - thaliaarchi:editor-file-associations, r=Mark-Simulacrum
Setup editor file associations for non-rs extensions .gitattributes lists `*.fixed`, `*.pp`, and `*.mir` as file extensions which should be treated as Rust source code. Do the same for VS Code and Zed. This only does syntax highlighting, which is appropriate, as MIR isn't really Rust code. At the same time, consistently order `rust-analyzer.linkedProjects` between editors. For some reason, Eglot didn't include `library/Cargo.toml`. I have tested this with VS Code and Zed. I have not implemented it for Emacs/Eglot or Helix.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
