diff options
Diffstat (limited to 'mut')
| -rw-r--r-- | mut/neovim/compiler/nix.lua | 2 | ||||
| -rw-r--r-- | mut/neovim/compiler/rust.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mut/neovim/compiler/nix.lua b/mut/neovim/compiler/nix.lua index 8c4ab2b..d012641 100644 --- a/mut/neovim/compiler/nix.lua +++ b/mut/neovim/compiler/nix.lua @@ -1 +1 @@ -vim.opt.errorformat = "%.%#at %f:%l:%c%.%#,%mat %f:%l:%c,%.%#error:%.%#'%f': %m," +vim.opt.errorformat = [[%.%#at %f:%l:%c%.%#,%mat %f:%l:%c,%.%#error:%.%#'%f': %m,]] 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]] |
