<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          neovim-python-clientNeovim 的 Python 客戶端。

          聯(lián)合創(chuàng)作 · 2023-09-30 15:10

          Neovim 的 Python 客戶端。

          示例代碼:

          >>> from neovim import attach
          # Create a python API session attached to unix domain socket created above:
          >>> nvim = attach('socket', path='/tmp/nvim')
          # Now do some work. 
          >>> buffer = nvim.buffers[0] # Get the first buffer
          >>> buffer[0] = 'replace first line'
          >>> buffer[:] = ['replace whole buffer']
          >>> nvim.command('vsplit')
          >>> nvim.windows[1].width = 10
          >>> nvim.vars['global_var'] = [1, 2, 3]
          >>> nvim.eval('g:global_var')
          [1, 2, 3]
          瀏覽 17
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  午夜日逼片 | 狼友视频主页 | 亚洲1234区 | 人人摸摸人人 | 免费观看欧美成人网站 |