Add zig support, closes #405

This commit is contained in:
Adam Stankiewicz
2019-06-08 13:34:40 +02:00
parent 9caa678708
commit ebf9ec9d62
9 changed files with 903 additions and 1 deletions

View File

@@ -1449,3 +1449,10 @@ autocmd BufNewFile,BufRead *.xdc setfiletype xdc
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
augroup filetypedetect
" zig, from zig.vim in ziglang/zig.vim
au BufRead,BufNewFile *.zig set filetype=zig
augroup end
endif