Skip to content

Not Seeing the Linting Functionality #492

Open

Description

@big-c-note

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.

Activity

  1. big-c-note commented on Jan 22, 2023

    @big-c-note
    Author

    I was able to get it moving through Ale which is what I'm typically using anyway for linting and fixing. I had to build rust-analyzer from source.

    https://github.com/dense-analysis/ale/blob/master/doc/ale-rust.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions