summaryrefslogtreecommitdiff
path: root/nvim/lsp/msbuild_project_tools_server.lua
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2026-04-05 16:47:53 +0530
committeranand <anand.panchdhari@gmail.com>2026-04-05 16:47:53 +0530
commit76f6235bcd178cc5c28cc4fbf0d09fafb1f63a9b (patch)
tree8d248824df3cacdfef1789d3663175bce48d05b5 /nvim/lsp/msbuild_project_tools_server.lua
parent50525874363953113aa715ea519d179e9c87bbd0 (diff)
some changes
Diffstat (limited to 'nvim/lsp/msbuild_project_tools_server.lua')
-rwxr-xr-xnvim/lsp/msbuild_project_tools_server.lua46
1 files changed, 0 insertions, 46 deletions
diff --git a/nvim/lsp/msbuild_project_tools_server.lua b/nvim/lsp/msbuild_project_tools_server.lua
deleted file mode 100755
index bf2f2b4..0000000
--- a/nvim/lsp/msbuild_project_tools_server.lua
+++ /dev/null
@@ -1,46 +0,0 @@
----@brief
----
---- https://github.com/tintoy/msbuild-project-tools-server/
----
---- MSBuild Project Tools Server can be installed by following the README.MD on the above repository.
----
---- Example config:
---- ```lua
---- vim.lsp.config('msbuild_project_tools_server', {
---- cmd = {'dotnet', '/path/to/server/MSBuildProjectTools.LanguageServer.Host.dll'}
---- })
---- ```
----
---- There's no builtin filetypes for msbuild files, would require some filetype aliases:
----
---- ```lua
---- vim.filetype.add({
---- extension = {
---- props = 'msbuild',
---- tasks = 'msbuild',
---- targets = 'msbuild',
---- },
---- pattern = {
---- [ [[.*\..*proj]] ] = 'msbuild',
---- },
---- })
---- ```
----
---- Optionally tell treesitter to treat `msbuild` as `xml` so you can get syntax highlighting if you have the treesitter-xml-parser installed.
----
---- ```lua
---- vim.treesitter.language.register('xml', { 'msbuild' })
---- ```
-
-local host_dll_name = 'MSBuildProjectTools.LanguageServer.Host.dll'
-local util = require 'lspconfig.util'
-
-return {
- filetypes = { 'msbuild' },
- root_dir = function(bufnr, on_dir)
- local fname = vim.api.nvim_buf_get_name(bufnr)
- on_dir(util.root_pattern('*.sln', '*.slnx', '*.*proj', '.git')(fname))
- end,
- init_options = {},
- cmd = { 'dotnet', host_dll_name },
-}