supermaven-inc / supermaven-nvim

The official Neovim plugin for Supermaven
https://supermaven.com/
MIT License
279 stars 16 forks source link

Pass array instead of raw string #34

Closed romeovs closed 1 month ago

romeovs commented 1 month ago

Solves https://github.com/supermaven-inc/supermaven-nvim/issues/19 by using the list-style invocation of vim.fn.system, which does not prefix the result with gabrage bytes for some reason.

For details see this comment

AlejandroSuero commented 1 month ago

@romeovs also on line 93 could be changed.

https://github.com/supermaven-inc/supermaven-nvim/blob/4621e779e69c2b09807a3c545ed43697d826ef83/lua/supermaven-nvim/binary/binary_fetcher.lua#L92-L94