From b295ef1c9e7be3c3cb984b1ecbc2ad9b72fbc1e8 Mon Sep 17 00:00:00 2001 From: "kujiu (@havelock.kujiu.org)" Date: Sun, 29 Jan 2017 14:42:54 +0100 Subject: [PATCH] LanguageTool in vim --- arch-packages | 2 ++ common/.vimrc | 1 + update-home.sh | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/arch-packages b/arch-packages index fccf1f1..9c4fcef 100644 --- a/arch-packages +++ b/arch-packages @@ -295,3 +295,5 @@ vlc-plugin-fluidsynth wacom-utility wego-git yaourt +python-language-check +languagetool diff --git a/common/.vimrc b/common/.vimrc index dbdcb95..208bd7d 100644 --- a/common/.vimrc +++ b/common/.vimrc @@ -77,6 +77,7 @@ set foldcolumn=0 " colonne de replis(fold colding) let g:notes_directories=['~/ドキュメント/vim-notes'] let python_highlight_all=1 +let g:languagetool_jar="/usr/lib/python3.5/site-packages/language_check/LanguageTool-2.2/languagetool-commandline.jar" """""""""""""""""""""""""""""""""""""""""""""""""" "Repositionner le curseur a l'emplacement de la dernière édition diff --git a/update-home.sh b/update-home.sh index c2a12bd..2ed8987 100755 --- a/update-home.sh +++ b/update-home.sh @@ -170,3 +170,7 @@ git clone https://github.com/vim-utils/vim-alt-mappings.git ~/.vim/bundle/vim-al # Install typescript for vim rm -rf ~/.vim/bundle/typescript-vim git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/bundle/typescript-vim + +# Install languagetool for vim +rm -rf ~/.vim/bundle/languagetool +git clone https://github.com/vim-scripts/LanguageTool.git ~/.vim/bundle/languagetool