spell: add grammalecte plugin
* Adds grammalecte to get grammar check in French with the command `:GrammalecteCheck`. Co-Authored-by: Igor Milhit <igor@milhit.ch>server
parent
14484cc982
commit
e5d9cec66f
|
@ -16,6 +16,7 @@ I'm using the [nord color scheme][5].
|
||||||
1. `nodejs`, `yarn`
|
1. `nodejs`, `yarn`
|
||||||
1. [ripgrep][2]
|
1. [ripgrep][2]
|
||||||
1. [The Silver Searcher (`ag`)][3]
|
1. [The Silver Searcher (`ag`)][3]
|
||||||
|
1. `grammalecte`, the python standalone program.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
6
init.vim
6
init.vim
|
@ -6,6 +6,7 @@ Plug 'tpope/vim-sensible' " default settings
|
||||||
Plug 'vim-pandoc/vim-pandoc' " pandoc support
|
Plug 'vim-pandoc/vim-pandoc' " pandoc support
|
||||||
Plug 'vim-pandoc/vim-pandoc-syntax' " markdown syntax support
|
Plug 'vim-pandoc/vim-pandoc-syntax' " markdown syntax support
|
||||||
Plug 'arcticicestudio/nord-vim' " Nord color scheme
|
Plug 'arcticicestudio/nord-vim' " Nord color scheme
|
||||||
|
Plug 'dpelle/vim-Grammalecte' " French ortho/grammar spelling
|
||||||
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' } " distraction free
|
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' } " distraction free
|
||||||
Plug 'dhruvasagar/vim-table-mode', { 'on': 'TableModeEnable' }
|
Plug 'dhruvasagar/vim-table-mode', { 'on': 'TableModeEnable' }
|
||||||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' }
|
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' }
|
||||||
|
@ -75,11 +76,14 @@ au TermOpen * setlocal listchars= nonumber norelativenumber
|
||||||
set cursorline
|
set cursorline
|
||||||
set modeline
|
set modeline
|
||||||
|
|
||||||
|
" Spelling activated, by default for French and English
|
||||||
set spell
|
set spell
|
||||||
set spelllang=fr,en
|
set spelllang=fr,en
|
||||||
|
" Specific spelling configuration for git commit messages
|
||||||
autocmd FileType gitcommit setlocal spell
|
autocmd FileType gitcommit setlocal spell
|
||||||
autocmd FileType gitcommit setlocal spelllang=en
|
autocmd FileType gitcommit setlocal spelllang=en
|
||||||
|
" Path for grammalecte-cli to get grammar check in French
|
||||||
|
let g:grammalecte_cli_py='/usr/bin/grammalecte-cli'
|
||||||
|
|
||||||
" Consider `.jsonld` as JSON
|
" Consider `.jsonld` as JSON
|
||||||
autocmd BufNewFile,BufRead *.jsonld set filetype=json
|
autocmd BufNewFile,BufRead *.jsonld set filetype=json
|
||||||
|
|
Loading…
Reference in New Issue