Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kpango committed Feb 3, 2019
1 parent 3f6220d commit 501a127
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ RUN mkdir "/etc/ld.so.conf.d" \
&& gem install neovim -N \
&& npm config set user root \
&& npm install -g neovim resume-cli dockerfile-language-server-nodejs typescript typescript-language-server \
&& cd /tmp \
&& git clone https://github.com/soimort/translate-shell \
&& cd /tmp/translate-shell/ \
&& make TARGET=zsh -j -C /tmp/translate-shell \
&& make install -C /tmp/translate-shell \
&& rm -rf /tmp/translate-shell/ \
&& curl -Lo ngt.tar.gz https://github.com/yahoojapan/NGT/archive/v1.5.1.tar.gz \
&& tar zxf ngt.tar.gz -C /tmp \
&& rm -rf ngt.tar.gz \
Expand Down
3 changes: 3 additions & 0 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ call plug#begin(expand('$NVIM_HOME') . '/plugged')
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
" Plug 'natebosch/vim-lsc'
Plug 'echuraev/translate-shell.vim' ", { 'do': 'wget -O /usr/local/bin/trans git.io/trans && chmod a+x /usr/local/bin/trans' }
" ---- Vim Setting
Plug 'Shougo/neco-vim', {'for': 'vim'}
Plug 'Shougo/neco-syntax', {'for': 'vim'}
Expand Down Expand Up @@ -405,6 +406,8 @@ endif
" " deniteの起動位置をtopに変更
" "call denite#custom#option('default', 'direction', 'top')

let g:trans_bin = system('which trans')

" ------------------------------
" ---- Status line settings ----
" ------------------------------
Expand Down

0 comments on commit 501a127

Please sign in to comment.