aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-02-15 00:09:00 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-02-15 10:01:16 +0100
commit4f07ad77869b30ecf7b7b7ed9b53ffcda908c94b (patch)
tree9a04379512c9e856d2744947ef4de181c26de2ac /runtime/lua
parent989312ed8435075947fcb5f1c6899b43519c37f6 (diff)
downloadrneovim-4f07ad77869b30ecf7b7b7ed9b53ffcda908c94b.tar.gz
rneovim-4f07ad77869b30ecf7b7b7ed9b53ffcda908c94b.tar.bz2
rneovim-4f07ad77869b30ecf7b7b7ed9b53ffcda908c94b.zip
vim-patch:9.1.0108: filetype: no support for dtso files
Problem: filetype: no support for dtso files Solution: Add detection for *.dtso files as dts file type (Markus Schneider-Pargmann) *.dtso files are devicetree overlay files which have the same syntax as dts or dtsi files. closes: vim/vim#14026 https://github.com/vim/vim/commit/b1700fb33fe02838d679b9215e501455cf4c1156 Co-authored-by: Markus Schneider-Pargmann <msp@baylibre.com>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 7fa92d1664..e73d139d02 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -364,6 +364,7 @@ local extension = {
d = detect.dtrace,
dts = 'dts',
dtsi = 'dts',
+ dtso = 'dts',
dylan = 'dylan',
intr = 'dylanintr',
lid = 'dylanlid',