Skip to content

Instantly share code, notes, and snippets.

@uitk23009
Created December 24, 2017 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uitk23009/670baf305d5cd3e5f5047979adcd6dc2 to your computer and use it in GitHub Desktop.
Save uitk23009/670baf305d5cd3e5f5047979adcd6dc2 to your computer and use it in GitHub Desktop.
Using set command in for loop
for fpath in split(globpath(dict, '*.dic'), '\n')
exe 'set dictionary+='.fpath
endfor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment