Class: Vim::Window
- Inherits:
-
Neovim::Window
- Object
- Neovim::RemoteObject
- Neovim::Window
- Vim::Window
- Defined in:
- lib/neovim/ruby_provider.rb
Constant Summary
Constants inherited from Neovim::Window
Constants inherited from Neovim::RemoteObject
Neovim::RemoteObject::TRANSFER
Instance Attribute Summary
Attributes inherited from Neovim::RemoteObject
Class Method Summary collapse
Methods inherited from Neovim::Window
#buffer, #cursor, #cursor=, #height, #height=, #line, #number, #save_cursor, #width, #width=
Methods inherited from Neovim::RemoteObject
#==, #call_api, #call_obj, from_mpdata, #initialize, #inspect, #method_missing, #methods, new, plain_new, #respond_to_missing?, #to_mpdata, type, #type
Methods included from Neovim::OptionAccess
#get_option, #option_params, #set_option
Constructor Details
This class inherits a constructor from Neovim::RemoteObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Neovim::RemoteObject
Class Method Details
.[](i) ⇒ Object
34 |
# File 'lib/neovim/ruby_provider.rb', line 34 def [] i ; $vim.get_current_tabpage.list_wins[ i] ; end |
.count ⇒ Object
33 |
# File 'lib/neovim/ruby_provider.rb', line 33 def count ; $vim.get_current_tabpage.list_wins.size ; end |
.current ⇒ Object
32 |
# File 'lib/neovim/ruby_provider.rb', line 32 def current ; $vim.get_current_win ; end |