File: ruby_interface.rb

package info (click to toggle)
ruby-neovim 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 480 kB
  • sloc: ruby: 3,392; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
expect(Vim).to eq(VIM)
expect(Vim.strwidth("hi")).to eq(2)

expect($curbuf).to be_a(Neovim::Buffer)
expect(Vim::Buffer.current).to eq($curbuf)

expect($curwin).to be_a(Neovim::Window)
expect(Vim::Window.current).to eq($curwin)