auto detect file for zig, and language server for zig (#604)

Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
This commit is contained in:
maxxnino 2021-07-03 14:41:32 +09:00 committed by GitHub
parent 27f662efa7
commit b6942d5025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 1 deletions

4
ftdetect/zig.lua Normal file
View file

@ -0,0 +1,4 @@
vim.cmd([[
au BufRead,BufNewFile *.zig set filetype=zig
au BufRead,BufNewFile *.zir set filetype=zir
]])