simple vim syntax highlighting
This commit is contained in:
parent
505317a12f
commit
afac1a0123
1
doc/vim/ftdetect/zig.vim
Normal file
1
doc/vim/ftdetect/zig.vim
Normal file
|
@ -0,0 +1 @@
|
|||
au BufRead,BufNewFile *.zig set filetype=zig
|
14
doc/vim/syntax/zig.vim
Normal file
14
doc/vim/syntax/zig.vim
Normal file
|
@ -0,0 +1,14 @@
|
|||
" Vim syntax file
|
||||
" Language: Zig
|
||||
" Maintainer: Andrew Kelley
|
||||
" Latest Revision: 24 November 2015
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn keyword zigKeyword fn return mut const extern unreachable
|
||||
|
||||
let b:current_syntax = "zig"
|
||||
|
||||
hi def link zigKeyword Keyword
|
Loading…
Reference in New Issue
Block a user