[vim/vim] feat: msbuild filetypes Directory.Packages.props,Directory.Build.targets,Directory.Build.props (PR #16339)

8 views
Skip to first unread message

Gustav Eikaas

unread,
Dec 29, 2024, 10:57:38 AM12/29/24
to vim/vim, Subscribed

Problem:
Dotnet relies on a tool called MSBuild, maintained by microsoft. These have a set of configuration files. I added filetypes for the 3 standard ones. Most dotnet developers will open and edit atleast one of these files through the course of a project.

  • Directory.Packages.props
  • Directory.Build.targets
  • Directory.Build.props

When running dotnet new list. The command that lets you create new templates you will find these three entries

MSBuild Directory.Build.props file            buildprops                              MSBuild/props
MSBuild Directory.Build.targets file          buildtargets                            MSBuild/props
MSBuild Directory.Packages.props file         packagesprops                           MSBuild/packages/props/CPM

These files are xml

Solution: detect 'Directory.Packages.props,Directory.Build.targets,Directory.Build.props' files as xml filetype


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/16339

Commit Summary

  • c03520c feat: msbuild filetypes Directory.Packages.props,Directory.Build.targets,Directory.Build.props

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/16339@github.com>

Gustav Eikaas

unread,
Dec 29, 2024, 11:36:32 AM12/29/24
to vim/vim, Push

@GustavEikaas pushed 1 commit.

  • 8a395be fix: wrong casing in Directory.Packages.props


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/16339/before/c03520c6cc2a439c9ce19fb9810562a629324ace/after/8a395be35f52826c67e1854fd4dc24d24259a614@github.com>

Christian Brabandt

unread,
Dec 30, 2024, 3:59:51 AM12/30/24
to vim/vim, Subscribed

thanks!


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/16339/c2565201800@github.com>

Christian Brabandt

unread,
Dec 30, 2024, 4:03:57 AM12/30/24
to vim/vim, Subscribed

Closed #16339 via 32b7e3a.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/16339/issue_event/15782862518@github.com>

Reply all
Reply to author
Forward
0 new messages