mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-05 22:48:39 +00:00
Add .NET project filetypes in nvim (#61)
This commit is contained in:
@@ -287,3 +287,10 @@ whichkey.register({
|
||||
"Find files by name",
|
||||
},
|
||||
}, { 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,
|
||||
})
|
||||
|
Reference in New Issue
Block a user