diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-12-11 09:22:24 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-12-11 09:22:24 +0100 |
| commit | abdd6ee860234e23f3c2d4b733ba067bbb4a4876 (patch) | |
| tree | 6ca64bb3dab9326fb85f2c09813db45eebfbc66e /mut/neovim | |
| parent | 74e54773a7e183b528efa1c49439031e70977f59 (diff) | |
add rust compiler format
Diffstat (limited to 'mut/neovim')
| -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]] |
