[oni-csharp] Add compilation regular expression for devenv errors
This commit is contained in:
parent
f34308bf66
commit
df8ad7f733
1 changed files with 18 additions and 0 deletions
|
@ -181,6 +181,24 @@ _cs_: Solution
|
|||
(setq lsp-csharp-omnisharp-roslyn-server-dir
|
||||
(expand-file-name "~/scoop/apps/omnisharp/current"))))
|
||||
|
||||
(with-eval-after-load 'compile
|
||||
(add-to-list 'compilation-error-regexp-alist
|
||||
`(,(rx (minimal-match (one-or-more digit)) ">"
|
||||
(group (any alpha)
|
||||
":\\"
|
||||
(minimal-match (one-or-more (any alpha "\\" "."))))
|
||||
"("
|
||||
(group (minimal-match (one-or-more digit)))
|
||||
","
|
||||
(group (minimal-match (one-or-more digit)))
|
||||
","
|
||||
(group (minimal-match (one-or-more digit)))
|
||||
","
|
||||
(group (minimal-match (one-or-more digit)))
|
||||
"): "
|
||||
(group "error" (one-or-more any)))
|
||||
1 (2 . 4) (3 . 5) 2 6)))
|
||||
|
||||
(with-eval-after-load 'csharp-mode
|
||||
(with-eval-after-load 'yasnippet
|
||||
(oni-csharp-snippets-initialize)))
|
||||
|
|
Loading…
Reference in a new issue