summaryrefslogtreecommitdiff
path: root/mut/neovim/compiler/rust.lua
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2023-12-11 09:22:24 +0100
committerMike Vink <ivi@vinkies.net>2023-12-11 09:22:24 +0100
commitabdd6ee860234e23f3c2d4b733ba067bbb4a4876 (patch)
tree6ca64bb3dab9326fb85f2c09813db45eebfbc66e /mut/neovim/compiler/rust.lua
parent74e54773a7e183b528efa1c49439031e70977f59 (diff)
add rust compiler format
Diffstat (limited to 'mut/neovim/compiler/rust.lua')
-rw-r--r--mut/neovim/compiler/rust.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/mut/neovim/compiler/rust.lua b/mut/neovim/compiler/rust.lua
new file mode 100644
index 0000000..272ae18
--- /dev/null
+++ b/mut/neovim/compiler/rust.lua
@@ -0,0 +1 @@
+vim.opt.errorformat=[[%-G,%-Gerror: aborting %.%#,%-Gerror: Could not compile %.%#,%Eerror: %m,%Eerror[E%n]: %m,%Wwarning: %m,%Inote: %m,%C %#--> %f:%l:%c,%E left:%m,%C right:%m %f:%l:%c,%Z]]