Add NuGet upgrade shortcut in neovim (#66)

This commit is contained in:
Patrick Stevens
2024-07-23 17:27:55 +01:00
committed by GitHub
parent 43c7842fac
commit 19e8024a13
7 changed files with 594 additions and 32 deletions

View File

@@ -288,9 +288,9 @@ whichkey.register({
},
}, { prefix = vim.api.nvim_get_var("mapleader") })
vim.api.nvim_create_autocmd({"BufRead","BufNewFile"}, {
pattern = {"Directory.Build.props", "*.fsproj", "*.csproj"},
callback = function()
vim.bo.filetype = "xml"
end,
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
pattern = { "Directory.Build.props", "*.fsproj", "*.csproj" },
callback = function()
vim.bo.filetype = "xml"
end,
})