Browse Source

Remove javascript syntax due to performance issues

coc
Schneider 7 years ago
parent
commit
2bb16ac78e
  1. 14
      install.sh
  2. 1
      vim/ftplugin/javascript.vim
  3. 4
      vimrc.symlink

14
install.sh

@ -21,3 +21,17 @@ for file in $linkables ; do
ln -s $file $target
fi
done
# Vim folders
echo -e "\eLinking vim folders"
linkables=$( find vim -mindepth 1 -type d -exec basename {} \; )
for folder in $linkables ; do
target="$HOME/.vim/$folder"
if [ -e $target ]; then
echo "~${target#$HOME/.vim} already exists... Skipping."
else
echo "Creating symlink for $folder"
ln -s $DOTFILES/vim/$folder $target
fi
done

1
vim/ftplugin/javascript.vim

@ -9,7 +9,6 @@ let g:syntastic_vue_eslint_exe = '$(npm bin)/eslint'
let g:syntastic_vue_eslint_args = ['--fix']
"autocmd bufwritepost *.js silent !standard --fix %
set autoread
set wildignore+=node_modules
set tabstop=2

4
vimrc.symlink

@ -44,8 +44,8 @@ Plug 'othree/html5.vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " html5
" JavaScript
Plug 'gavocanov/vim-js-indent', { 'for': [ 'javascript' ]} " JavaScript indent support
Plug 'moll/vim-node', { 'for': [ 'javascript', 'vue' ]} " node support
Plug 'othree/yajs.vim', { 'for': [ 'javascript', 'vue' ]} " JavaScript syntax plugin
Plug 'othree/es.next.syntax.vim', { 'for': [ 'javascript', 'vue' ]} " ES6 and beyond syntax
"Plug 'othree/yajs.vim', { 'for': [ 'javascript', 'vue' ]} " JavaScript syntax plugin
"Plug 'othree/es.next.syntax.vim', { 'for': [ 'javascript', 'vue' ]} " ES6 and beyond syntax
Plug 'ternjs/tern_for_vim', { 'for':[ 'javascript', 'vue' ], 'do': 'npm install' } " Ternjs for vim
Plug 'https://github.com/othree/jspc.vim', { 'for': [ 'javascript', 'vue' ]} " Function parameter completion
Plug 'heavenshell/vim-jsdoc', { 'for': [ 'javascript', 'vue' ]} " Generate JSDoc comments

Loading…
Cancel
Save