ElmCast / elm-vim

Elm plugin for Vim
BSD 3-Clause "New" or "Revised" License
573 stars 102 forks source link

Added the option to enable to use elm-tool binaries at local node_modules #151

Closed mtwtkman closed 1 year ago

mtwtkman commented 6 years ago

Hi, I love this plugin so much. 😍

I try to add g:elm_local_bin to enable to use local binaries. I mean local is elm-xxx is installed to node_modules which is at project root.

soywod commented 6 years ago

I'm interested also in this feature :+1: it's not possible to just check if node_modules/.bin/<exe> exists instead of adding a variable ? I mean, to do it by default ? First check global exec, then node_modules exec. Like in Ale plugin https://github.com/w0rp/ale/blob/5323f000aa638689cf8d131ad6535fb2f8f699b0/autoload/ale/fixers/elm_format.vim#L8-L11