aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/options.vim2
-rw-r--r--conf/plugins.vim9
-rw-r--r--conf/spell/en.utf-8.add11
-rw-r--r--conf/spell/fr.utf-8.splbin571627 -> 0 bytes
-rw-r--r--conf/spell/fr.utf-8.sugbin2324315 -> 0 bytes
5 files changed, 8 insertions, 14 deletions
diff --git a/conf/options.vim b/conf/options.vim
index 5315c1f..8e84a25 100644
--- a/conf/options.vim
+++ b/conf/options.vim
@@ -9,6 +9,8 @@ syntax on " Show syntax color
set number " Show line number
colorscheme onedark " Set vim theme to onedark
set colorcolumn=80 " Add an indicator for 80 char limit
+set textwidth=80 " Set max text width
+autocmd BufNewFile,BufRead * setlocal formatoptions=cropt " Linebreak at 80 char
set relativenumber " Show relative line number
set cursorline " Select the current line
set showmatch " Show matching brackets when hovered
diff --git a/conf/plugins.vim b/conf/plugins.vim
index 7dd1f9a..682cbe7 100644
--- a/conf/plugins.vim
+++ b/conf/plugins.vim
@@ -2,8 +2,8 @@
" Plugins
""""""""""""""""""""""""""
" Install vim-plug if not found
-if empty(glob('~/.vim/autoload/plug.vim'))
- silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
+if empty(glob('~/.config/vim/autoload/plug.vim'))
+ silent !curl -fLo ~/.config/vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
@@ -12,7 +12,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | source $MYVIMRC
\| endif
-call plug#begin('~/.vim/plugged')
+call plug#begin('~/.config/vim/plugged')
" UI & Themes
Plug 'joshdick/onedark.vim' " Onedark themes for vim
@@ -35,6 +35,9 @@ filetype plugin indent on " Allow filetype detection, plugins, indentation
"""""""""""""""""""""""""
" Configuration
"""""""""""""""""""""""""
+" LSP
+let g:coc_global_extensions = ['coc-json', 'coc-markdownlint'] " You can add other coc extensions here
+
" Netrw (filetree built-in vim)
let g:netrw_keepdir = 0 " Reload buffer usefull when moving or removing file
let g:netrw_winsize = 10 " Size of filetree buffer
diff --git a/conf/spell/en.utf-8.add b/conf/spell/en.utf-8.add
deleted file mode 100644
index 283920b..0000000
--- a/conf/spell/en.utf-8.add
+++ /dev/null
@@ -1,11 +0,0 @@
-linters
-nerdtree
-GitGutter
-keybinds
-onedark
-LSP
-vscode
-autocompleter
-linter
-neovim
-untoggle
diff --git a/conf/spell/fr.utf-8.spl b/conf/spell/fr.utf-8.spl
deleted file mode 100644
index ff27132..0000000
--- a/conf/spell/fr.utf-8.spl
+++ /dev/null
Binary files differ
diff --git a/conf/spell/fr.utf-8.sug b/conf/spell/fr.utf-8.sug
deleted file mode 100644
index df555d2..0000000
--- a/conf/spell/fr.utf-8.sug
+++ /dev/null
Binary files differ
ArKa projects. All rights to me, and your next child right arm.