Skip to content

Commit

Permalink
add unity3d quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Wu committed Aug 20, 2013
1 parent 89133aa commit 4f9963e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -12,7 +12,7 @@
.vimfiles.*/
*.vimentry
quick_gen_project_*_autogen.*
vim73/
vim74/

#/////////////////////////////////////////////////////////////////////////////
# gen by python
Expand Down
4 changes: 4 additions & 0 deletions vimfiles/plugin/exQuickFix.vim
Expand Up @@ -380,6 +380,8 @@ function s:exQF_ChooseCompiler() " <<<
endif
elseif match(line, '^<<<<<< SWIG: ' ) != -1
let s:exQF_compiler = 'swig'
elseif match(line, 'UnityEngine.Debug' ) != -1
let s:exQF_compiler = 'unity3d'
endif
endfor

Expand Down Expand Up @@ -416,6 +418,8 @@ function s:exQF_ChooseCompiler() " <<<
silent set errorformat+=%f(%l\\,%c):\ %m " csharp error-format
elseif s:exQF_compiler == 'swig'
silent set errorformat+=%f(%l):\ %m
elseif s:exQF_compiler == 'unity3d'
silent set errorformat+=%m\ (at\ %f:%l)
elseif s:exQF_compiler == 'gcc'
" this is for exGlobaSearch result, some one may copy the global search result to exQuickFix
silent set errorformat+=%f:%l:%m
Expand Down

0 comments on commit 4f9963e

Please sign in to comment.