tokorom / completor-shell

Add a complete function with shell command for completor.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

completor-shell

  • for completor.vim.
  • You can add some complete functions with shell command

Sample

" let g:completor_shell#shell_commands = {
" \   'swift': ["grep '^${token}' /foo/bar/dict/${filetype}.dict"],
" \ }

  • grep keywords from a dictionary file

Parameters

  • ${token}

    • The keyword being entered
    • \k\+$
    • with iskeyword
  • ${filetype}

    • The filetype of the current buffer
    • &filetype
    • filetype

About

Add a complete function with shell command for completor.vim


Languages

Language:Python 54.9%Language:Vim Script 45.1%