Summary Files Commits Branches @commit @diff @stats
path: root / lua / onfiletype.lua
diff options
context:
space:
mode:
1 files changed, 9 insertions, 0 deletions
-rw-r--r--lua/onfiletype.lua9
diff --git a/lua/onfiletype.lua b/lua/onfiletype.lua
index c814a3b..b88f41a 100644
--- a/lua/onfiletype.lua
+++ b/lua/onfiletype.lua
@@ -7,3 +7,12 @@ vim.api.nvim_create_autocmd({ "TermOpen", "BufEnter" }, {
vim.api.nvim_create_autocmd("TermClose", {
command = "quit!"
})
+
+--[=[ Noir file type ]=]--
+
+vim.filetype.add({
+ extension = {
+ nr = 'rust',
+ noir = 'rust',
+ },
+})