Error while loading plugin
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- neovim, vim
- Domaine
- tooling
Piste de recherche
The report includes startup errors from rust.vim and Syntastic under NeoVim 0.6.1, along with :RustInfo output. Start by checking the plugin loading errors against the reported versions and startup setup. Done means identifying whether the failure is in rust.vim or its interaction with Syntastic and providing a reproducible fix or guidance; the issue has no maintainer comments and is over four years old.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I believe this is an issue with my setup and not the plugin itself, so just hoping for some guidance about how to get it working. I'm not sure if the issue is with Syntastic or Rust.vim, etiher.
When starting NeoVim 0.6.1 I receive the error
Cannot source a directory: "/home/me/.config/nvim/plugin/repos/github.com/rust-lang/rust.vim"
Error detected while processing /home/me/.config/nvim/plugin/repos/github.com/rust-lang/rust.vim/ftplugin/rust.vim:
line 19:
E174: Command already exists: add ! to replace it: CompilerSet setlocal <args>
Error detected while processing /home/me/.config/nvim/plugin/repos/github.com/rust-lang/rust.vim/syntax_checkers/rust/cargo.vim:
line 86:
E121: Undefined variable: g:SyntasticRegistry
Error detected while processing /home/me/.config/nvim/plugin/repos/github.com/rust-lang/rust.vim/syntax_checkers/rust/rustc.vim:
line 45:
E121: Undefined variable: g:SyntasticRegistry
Error detected while processing /home/me/.config/nvim/plugin/repos/github.com/vim-syntastic/syntastic/syntax_checkers/perl6/perl6.vim:
line 13:
E488: Trailing characters: # Perl 6 is dead, long live Raku!
- rust.vim version:
Installed usingdein.
Unsure of therust.vimversion, but it has been downloaded in the last week, so is likely the most current version.
Steps to reproduce:
Occurs on NeoVim startup.
?
Paste debugging info from the Rust Vim plugin via one of the following
commands: :RustInfo, :RustInfoToClipboard, or :RustInfoToFile <filename>.
RustInfo
rust.vim Global Variables:
let g:ftplugin_rust_source_path = v:null
let g:loaded_syntastic_rust_cargo_checker = 1
let g:loaded_syntastic_rust_filetype = v:null
let g:loaded_syntastic_rust_rustc_checker = 1
let g:rust_bang_comment_leader = v:null
let g:rust_cargo_avoid_whole_workspace = v:null
let g:rust_clip_command = v:null
let g:rust_conceal = v:null
let g:rust_conceal_mod_path = v:null
let g:rust_conceal_pub = v:null
let g:rust_fold = v:null
let g:rust_last_args = v:null
let b:rust_last_args = []
let g:rust_last_rustc_args = v:null
let b:rust_last_rustc_args = []
let g:rust_original_delimitMate_excluded_regions = v:null
let g:rust_playpen_url = v:null
let g:rust_prev_delimitMate_quotes = v:null
let g:rust_recent_nearest_cargo_tol = v:null
let g:rust_prev_delimitMate_quotes = v:null
let g:rust_recent_nearest_cargo_tol = v:null
let g:rust_recent_root_cargo_toml = v:null
let g:rust_recommended_style = v:null
let g:rust_set_conceallevel = v:null
let g:rust_set_conceallevel=1 = v:null
let g:rust_set_foldmethod = v:null
let g:rust_set_foldmethod=1 = v:null
let g:rust_shortener_url = v:null
let g:rustc_makeprg_no_percent = v:null
let g:rustc_path = v:null
let g:rustfmt_autosave = 1
let g:rustfmt_autosave_if_config_present = v:null
let g:rustfmt_command = 'rustfmt'
let g:rustfmt_emit_files = 1
let g:rustfmt_fail_silently = 0
let g:rustfmt_options = ''
let g:syntastic_extra_filetypes = ['rust']
let g:syntastic_rust_cargo_fname = ''
rustfmt 1.4.38-stable (9d1b210 2022-02-23)
rustc 1.59.0 (9d1b2106e 2022-02-23)
cargo 1.59.0 (49d8809dc 2022-02-10)
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
----
Info from Syntastic:
Syntastic version: 3.10.0-32 (Vim 800, Neovim, Linux)
Info for filetype:
Global mode: active
Filetype is active
The current file will be checked automatically
Available checkers: -
Currently enabled checkers: -
The current file will not be checked (file not readable / not local)
?
- Langage dominant
- Vim Script
- Étoiles
- 4.2k
- Forks
- 323
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de rust-lang/rust.vim
-
Difficulté 1/5 1-3 heures Accessibilité débutants 76/100
-
It's Dead, Jim!Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
-
Remove hard coded edition fallbackPeut-être pris @alerque l’a pris il y a 231 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 35/100
-
README.md syntastic to aleOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 55/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
Toutes les issues de rust-lang/rust.vim
Issues similaires
-
good first issue help wanted python up-for-grabs
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
andrewsiah/agentswarm-data-tasks#121 ·
Les mainteneurs répondent en général sous 1 jour
-
agent:either area:adapters priority:p3 type:chore
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
jojo-stand36/Tacet#251 ·
Les mainteneurs répondent en général sous 1 jour
-
environments
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
calkit/calkit#2056 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug needs-triage P1 tier:1-mechanical
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
krakenhavoc/cmd_and_ctrl#5434 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 95/100