summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-02-05 14:30:03 +0100
committerTobias Klauser <tklauser@distanz.ch>2013-02-05 14:30:03 +0100
commit4686141ba18734b748a42b7132b4fe470eebd880 (patch)
tree14c08756e7ffb77bfcb1096441795b93814cec29
parenta13d8f8643552050e396d37b5a6c2f0a05158c4f (diff)
Hook up dts syntax highlighting
-rw-r--r--.vim/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/filetype.vim b/.vim/filetype.vim
index ee3a3d8..9a53b1a 100644
--- a/.vim/filetype.vim
+++ b/.vim/filetype.vim
@@ -612,6 +612,9 @@ au BufNewFile,BufRead *.dsl setf dsl
" DTD (Document Type Definition for XML)
au BufNewFile,BufRead *.dtd setf dtd
+" DTS/DTSI (device tree files)
+au BufNewFile,BufRead *.dts,*.dtsi setf dts
+
" EDIF (*.edf,*.edif,*.edn,*.edo)
au BufNewFile,BufRead *.ed\(f\|if\|n\|o\) setf edif