Closed nixmaniack closed 4 years ago
Similar fix was applied at https://github.com/itchyny/dictionary.vim with commit https://github.com/itchyny/dictionary.vim/commit/4f95609166e91ea71fe613e5041670a5fcee7a6e.
Fixes #19.
Reasoning for using ... 2>/dev/null:
... 2>/dev/null
shell-command-to-string
shell-command
Similar fix was applied at https://github.com/itchyny/dictionary.vim with commit https://github.com/itchyny/dictionary.vim/commit/4f95609166e91ea71fe613e5041670a5fcee7a6e.
Fixes #19.
Reasoning for using
... 2>/dev/null
:shell-command-to-string
doesn't support separate stdout and stderr streamsshell-command
does support capturing separate streams but we anyway have to discard the stderr, so no point in capturing it