Not Seeing the Linting Functionality

Offen
#492 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
vim
Bereich
tooling

Rechercherichtung

Start by reading the README installation guidance and the rust.vim options referenced in the issue, then check how the plugin integrates with syntastic and its Rust checkers. The report includes a sample .vimrc and says :RustFmt works while linting does not; determine whether the documented setup should enable linting and reproduce the reported behavior. Done means the cause is identified and the expected linting behavior is clarified or restored.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Hey, I'm not seeing the syntastic linting after following your README.md installation. I'm using vim-plug and, I'm assuming the latest version.

Thanks in advance for your time.

  • rust.vim version: Latest version using vim-plug

Steps to reproduce:

Example .vimrc.

call plug#begin('~/.vim/plugged')
Plug 'rust-lang/rust.vim'
call plug#end()

" [Ref] `plugged/rust.vim/` - configuration.
syntax enable
filetype plugin indent on

" [Ref] `plugged/rust.vim/` - enables running of `:RustFmt`.
let g:rustfmt_autosave = 1

" [Ref] `help rust` - `rust.vim` options.
let g:rust_fold = 1
let g:rust_recommended_style = 1
let g:loaded_syntastic_rust_cargo_checker = 1
let g:loaded_syntastic_rust_filetype = 1
let g:loaded_syntastic_rust_rustc_checker = 1

Then
:PlugInstall

Expected vs. actual behavior:

Expected linting as seen here. I see no linting, but I can see the fixer is running.

Vorherrschende Sprache
Vim Script
Sterne
4.2k
Forks
323
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rust-lang/rust.vim

Alle Issues in rust-lang/rust.vim

Ähnliche Issues

Weitere Issues zu DevTools

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.