Skip to content

Add a complete function with shell command for completor.vim

Notifications You must be signed in to change notification settings

tokorom/completor-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published