summaryrefslogtreecommitdiffstats
path: root/doc/ft-ruby-plugin.txt
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-19 02:55:37 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-19 02:55:37 +0200
commit5e2607d93f98e0394d1d68b1d6592b2d0a11f52f (patch)
tree6002f0061b13d1876685aea1469e850cf4aa4ba1 /doc/ft-ruby-plugin.txt
parent3d80a66e7be229a014989b798fc4fad8e579946d (diff)
downloadvim-polyglot-5e2607d93f98e0394d1d68b1d6592b2d0a11f52f.tar.gz
vim-polyglot-5e2607d93f98e0394d1d68b1d6592b2d0a11f52f.zip
Remove docs so docs of installed plugins are up to date
Diffstat (limited to 'doc/ft-ruby-plugin.txt')
-rw-r--r--doc/ft-ruby-plugin.txt85
1 files changed, 0 insertions, 85 deletions
diff --git a/doc/ft-ruby-plugin.txt b/doc/ft-ruby-plugin.txt
deleted file mode 100644
index 2380240d..00000000
--- a/doc/ft-ruby-plugin.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
-
-RUBY *ft-ruby-plugin*
- *vim-ruby-plugin*
-
-
- Ruby: Recommended settings |ruby-recommended|
- Ruby: Motion commands |ruby-motion|
- Ruby: Text objects |ruby-text-objects|
-
- *ruby-recommended*
- *g:ruby_recommended_style*
- Ruby: Recommended settings ~
-
-The `g:ruby_recommended_style` variable activates indentation settings
-according to the most common ruby convention: two spaces for indentation. It's
-turned on by default to ensure an unsurprising default experience for most
-ruby developers.
-
-If you'd like to enforce your own style, it's possible to apply your own
-preferences in your own configuration in `after/ftplugin/ruby.vim`. You can
-also disable the setting by setting the variable to 0:
->
- let g:ruby_recommended_style = 0
-<
-
- *ruby-motion*
- Ruby: Motion commands ~
-
-Vim provides motions such as |[m| and |]m| for jumping to the start or end of
-a method definition. Out of the box, these work for curly-bracket languages,
-but not for Ruby. The vim-ruby plugin enhances these motions, by making them
-also work on Ruby files.
-
- *ruby-]m*
-]m Go to start of next method definition.
-
- *ruby-]M*
-]M Go to end of next method definition.
-
- *ruby-[m*
-[m Go to start of previous method definition.
-
- *ruby-[M*
-[M Go to end of previous method definition.
-
- *ruby-]]*
-]] Go to start of next module or class definition.
-
- *ruby-][*
-][ Go to end of next module or class definition.
-
- *ruby-[[*
-[[ Go to start of previous module or class definition.
-
- *ruby-[]*
-[] Go to end of previous module or class definition.
-
- *ruby-text-objects*
- Ruby: Text objects ~
-
-Vim's |text-objects| can be used to select or operate upon regions of text
-that are defined by structure. The vim-ruby plugin adds text objects for
-operating on methods and classes.
-
- *ruby-v_am* *ruby-am*
-am "a method", select from "def" until matching "end"
- keyword.
-
- *ruby-v_im* *ruby-im*
-im "inner method", select contents of "def"/"end" block,
- excluding the "def" and "end" themselves.
-
- *ruby-v_aM* *ruby-aM*
-aM "a class", select from "class" until matching "end"
- keyword.
-
- *ruby-v_iM* *ruby-iM*
-iM "inner class", select contents of "class"/"end"
- block, excluding the "class" and "end" themselves.
-
-
- vim:tw=78:sw=4:ts=8:ft=help:norl:
-
-endif