Vim/zh: Difference between revisions

Ardenet (talk | contribs)
Created page with "# 可通过调用 `:packadd $plugin-name` 手动加载"
Ardenet (talk | contribs)
Created page with "# 要在打开文件类型时自动加载插件,请添加如下 vimrc 行:"
Line 237: Line 237:
     # 可通过调用 `:packadd $plugin-name` 手动加载
     # 可通过调用 `:packadd $plugin-name` 手动加载
     opt = [ phpCompletion elm-vim ];
     opt = [ phpCompletion elm-vim ];
     <div lang="en" dir="ltr" class="mw-content-ltr">
     # 要在打开文件类型时自动加载插件,请添加如下 vimrc 行:
# To automatically load a plugin when opening a filetype, add vimrc lines like:
</div>
     # autocmd FileType php :packadd phpCompletion
     # autocmd FileType php :packadd phpCompletion
   }
   }