summaryrefslogtreecommitdiff
path: root/uvim/runtime/compiler/ruby.mnv
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-03 22:21:25 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 00:23:03 +0300
commit2eae5db069dc171f74cd863487655f6a88e5384d (patch)
tree2d9d05e09978a2a44acbfbb8d651f240df3ca052 /uvim/runtime/compiler/ruby.mnv
parent473d922faed49241a5d29d9e37dc4819cd512006 (diff)
downloadProject-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.tar.gz
Project-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.zip
NOISSUE rebrand vim to MNV's not Vim
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'uvim/runtime/compiler/ruby.mnv')
-rw-r--r--uvim/runtime/compiler/ruby.mnv41
1 files changed, 41 insertions, 0 deletions
diff --git a/uvim/runtime/compiler/ruby.mnv b/uvim/runtime/compiler/ruby.mnv
new file mode 100644
index 0000000000..1576588984
--- /dev/null
+++ b/uvim/runtime/compiler/ruby.mnv
@@ -0,0 +1,41 @@
+" MNV compiler file
+" Language: Ruby
+" Function: Syntax check and/or error reporting
+" Maintainer: Tim Pope <mnvNOSPAM@tpope.org>
+" URL: https://github.com/mnv-ruby/mnv-ruby
+" Last Change: 2019 Jan 06
+" 2024 Apr 03 by The MNV Project (removed :CompilerSet definition)
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "ruby"
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+" default settings runs script normally
+" add '-c' switch to run syntax check only:
+"
+" CompilerSet makeprg=ruby\ -c
+"
+" or add '-c' at :make command line:
+"
+" :make -c %<CR>
+"
+CompilerSet makeprg=ruby
+
+CompilerSet errorformat=
+ \%+E%f:%l:\ parse\ error,
+ \%W%f:%l:\ warning:\ %m,
+ \%E%f:%l:in\ %*[^:]:\ %m,
+ \%E%f:%l:\ %m,
+ \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
+ \%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
+ \%-Z%p^,
+ \%-G%.%#
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+" mnv: nowrap sw=2 sts=2 ts=8: