関西Vim勉強会#7 lingr.vimとその中身

  • 3,498 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,498
On Slideshare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
5
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n

Transcript

  • 1. let s:hoge = "s:hoge"function Hoge(hoge) let hoge = "l:hoge" python <<EOM# coding=utf-8import vimprint vim.eval(s:hoge) # s:hogeprint vim.eval(a:hoge) # a:hogeprint vim.eval(hoge) # l:hogevim.command(let s:hoge = "s:fuga")vim.command(let hoge = "l:fuga")EOM return hogeendfunctionecho Hoge(a:hoge) " l:fugaecho s:hoge " s:fuga
  • 2. python <<EOMimport vimutil@vimutil.vimfunc(Hoge)def vimutil_hoge(args): print “,”.join(args)EOMcall Hoge(‘a’, ‘b’, ‘c’) “ a,b,c