There is an option g:spirv_enable_autodisassemble, but it is only used to enable/disable highlighting of IDs and OpExtImport errors when opening a binary SPIR-V files. Autocommands for assembly/disassembly binary SPIR-V files are added uncoditionally:
This means that even if I set g:spirv_enable_autodisassemble = 0 I will still see the following error when opening a binary SPIR-V file:
spirv-dis failed
Error detected while processing BufRead Autocommands for "*.spv"..function spirv#disassemble:
line 13:
E484: Can't open file /tmp/vzQKVBI/1
I guess this is not an important issue, because with autodisassemble disabled I wouldn't open binary files anyway
Hi,
There is an option
g:spirv_enable_autodisassemble
, but it is only used to enable/disable highlighting of IDs andOpExtImport
errors when opening a binary SPIR-V files. Autocommands for assembly/disassembly binary SPIR-V files are added uncoditionally:https://github.com/kbenzie/vim-spirv/blob/9b005a0569fa5e18f71fcccbacda227c1cef7eaa/plugin/spirv.vim#L29-L39
This means that even if I set
g:spirv_enable_autodisassemble = 0
I will still see the following error when opening a binary SPIR-V file:I guess this is not an important issue, because with
autodisassemble
disabled I wouldn't open binary files anyway