Closed vazhnov closed 2 years ago
Setting g:syntastic_asm_generic
to 1 should have the same effect without patching the sources.
Also you might consider switching to ALE instead, it's actively maintained and it actually takes advantage of Vim 8 features. These days you should only use syntastic for backwards compatibility, if for whatever reasons you have to run Vim 7...
Hello!
I use vim-syntastic since 2015. Thank you very much for this project!
Before, I worked with Python and Shell scripts. Now, as a hobby, I'm trying to learn to program in Asm and C for RISC-V architecture.
I faced with a issue: when I open RISC-V asm file (for example, https://git.sr.ht/~matthias_t/hello-riscv/tree/master/item/src/hello.s), I receive:
I found I can change
syntastic_asm_gcc_exec
toriscv-nuclei-elf-gcc
, and it almost works, but:In https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1008 , I found RISC-V is not AT&T or Intel syntax, it has it's own syntax.
Of course, it is possible to patch
syntax_checkers/asm/gcc.vim
and remove this option, like this:But maybe there is some other way? Does anybody have recipes or ideas how to work with Assembly files with non-X86 architecture(s)?