aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-12-29 15:27:01 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-12-29 16:15:00 +0100
commit493b6899ee898ec43217a8ae270b24bcc3b47281 (patch)
treeb75fa859ff802d48df9437da29c63120020ac752 /runtime/lua/vim
parent76abe6bab5bc6c876c3a9697ec7d8c847c20010e (diff)
downloadrneovim-493b6899ee898ec43217a8ae270b24bcc3b47281.tar.gz
rneovim-493b6899ee898ec43217a8ae270b24bcc3b47281.tar.bz2
rneovim-493b6899ee898ec43217a8ae270b24bcc3b47281.zip
vim-patch:9.1.0971: filetype: SLNX files are not recognized
Problem: filetype: SLNX files are not recognized Solution: detect '*.slnx' files as xml filetype (Gustav Eikaas) References: https://blog.ndepend.com/slnx-the-new-net-solution-xml-file-format/ https://blog.jetbrains.com/dotnet/2024/10/04/support-for-slnx-solution-files/ closes: vim/vim#16334 https://github.com/vim/vim/commit/3b3318b64043dcf29d6f06322739f695a5cc257e Co-authored-by: GustavEikaas <gustav.eikaas@gmail.com>
Diffstat (limited to 'runtime/lua/vim')
-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 d6a29ed84d..f267e5ef6f 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1337,6 +1337,7 @@ local extension = {
xlb = 'xml',
xlc = 'xml',
xba = 'xml',
+ slnx = 'xml',
xpm = detect_line1('XPM2', 'xpm2', 'xpm'),
xpm2 = 'xpm2',
xqy = 'xquery',