Not Seeing the Linting Functionality

Aperta
#492 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
vim
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Vim Script
Stelle
4.2k
Fork
323
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/rust.vim

Tutte le issue di rust-lang/rust.vim

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.