Not Seeing the Linting Functionality

Đang mở
#492 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
vim
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Vim Script
Star
4.2k
Fork
323
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rust-lang/rust.vim

Tất cả issue của rust-lang/rust.vim

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.