diff --git a/files/dotfiles/nvim/coc-settings.json b/files/dotfiles/nvim/coc-settings.json new file mode 100644 index 0000000..4202505 --- /dev/null +++ b/files/dotfiles/nvim/coc-settings.json @@ -0,0 +1,11 @@ +{ + "coc.preferences.formatOnSaveFiletypes": [ + "rst", + "javascript", + "python", + "json", + "yaml" + ], + "python.jediEnabled": false, + "python.formatting.provider": "black" +} diff --git a/files/dotfiles/nvim/general/mappings.vim b/files/dotfiles/nvim/general/mappings.vim index 2dd42de..c760fb1 100644 --- a/files/dotfiles/nvim/general/mappings.vim +++ b/files/dotfiles/nvim/general/mappings.vim @@ -8,3 +8,5 @@ vmap < >gv +" Automatically spell check last error in insert mode +inoremap u[s1z=`]au diff --git a/files/dotfiles/nvim/general/settings.vim b/files/dotfiles/nvim/general/settings.vim index f18fe46..256036a 100644 --- a/files/dotfiles/nvim/general/settings.vim +++ b/files/dotfiles/nvim/general/settings.vim @@ -49,7 +49,7 @@ set smartcase " Override ignorecase if search patern c set wildmenu " Enable wildmenu set spell " Enable spell checking -set spelllang=fr +set spelllang=fr,en "set autochdir " Your working directory will always be the same as your working directory diff --git a/files/dotfiles/nvim/plug-config/vimtex.vim b/files/dotfiles/nvim/plug-config/vimtex.vim index eabf8fe..210236f 100644 --- a/files/dotfiles/nvim/plug-config/vimtex.vim +++ b/files/dotfiles/nvim/plug-config/vimtex.vim @@ -1,6 +1,7 @@ let maplocalleader = "\" let g:tex_conceal = "" +set conceallevel=0 let g:vimtex_compiler_latexmk = { \ 'backend' : 'nvim',