diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-10-31 09:50:10 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-10-31 10:24:37 +0100 |
commit | 82e5066a7f8606dc677271049ead4829eb57935a (patch) | |
tree | bb640d1e130f610c1fe2181a1dcb6d92372ead8e /runtime/lua | |
parent | 295920845ebd78b2bad210eba51824369de44b19 (diff) | |
download | rneovim-82e5066a7f8606dc677271049ead4829eb57935a.tar.gz rneovim-82e5066a7f8606dc677271049ead4829eb57935a.tar.bz2 rneovim-82e5066a7f8606dc677271049ead4829eb57935a.zip |
vim-patch:9.1.0823: filetype: Zephyr overlay files not recognized
Problem: filetype: Zephyr overlay files not recognized
Solution: detect '*.overlay' files as dts filetype,
include syntax tests for DTS files
(Xudong Zheng)
Reference:
https://docs.zephyrproject.org/latest/build/dts/howtos.html
closes: vim/vim#15963
https://github.com/vim/vim/commit/a68bd6f089239a51ba90026b18109707e601b107
Co-authored-by: Xudong Zheng <7pkvm5aw@slicealias.com>
Diffstat (limited to 'runtime/lua')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index aa74a67968..f6928c6428 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -402,6 +402,7 @@ local extension = { dtso = 'dts', its = 'dts', keymap = 'dts', + overlay = 'dts', dylan = 'dylan', intr = 'dylanintr', lid = 'dylanlid', |