Skip to content

Instantly share code, notes, and snippets.

@j138
Last active August 16, 2019 06:11
Show Gist options
  • Save j138/1bdd4dbe8bb1fef9101bda487210f63b to your computer and use it in GitHub Desktop.
Save j138/1bdd4dbe8bb1fef9101bda487210f63b to your computer and use it in GitHub Desktop.
neovimでreactを書くための開発環境 ref: https://qiita.com/Jey/items/38650ebb26e3fb9c7e85
[[plugins]]
repo = 'pangloss/vim-javascript'
on_ft = ['javascript', 'javascript.jsx']
[[plugins]]
repo = 'maxmellon/vim-jsx-pretty'
on_ft = ['javascript', 'javascript.jsx']
[[plugins]]
repo = 'alampros/vim-styled-jsx'
on_ft = ['javascript', 'javascript.jsx']
[[plugins]]
repo = 'moll/vim-node'
on_ft = ['javascript']
[[plugins]]
repo = 'w0rp/ale.git'
on_source = ['lightline.vim']
hook_add = '''
let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '']
let g:ale_echo_msg_format = '[%linter%] %s'
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment