Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Seeing the Linting Functionality #492

Open
big-c-note opened this issue Jan 22, 2023 · 1 comment
Open

Not Seeing the Linting Functionality #492

big-c-note opened this issue Jan 22, 2023 · 1 comment

Comments

@big-c-note
Copy link

big-c-note commented Jan 22, 2023

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.

@big-c-note
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant