From 790522a33f5c90f5715e42c58adab1908f955bb2 Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Sat, 2 Nov 2019 16:52:29 +0100 Subject: [PATCH] vim: Update config --- config/nvim/init.vim | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 75414cc..6dfc20e 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -1,6 +1,7 @@ call plug#begin("~/.nvim/bundle") " Other +Plug 'bronson/vim-visual-star-search' Plug 'prabirshrestha/async.vim' " UI @@ -34,13 +35,14 @@ Plug 'tpope/vim-surround' " Language support "Plug 'ryanolsonx/vim-lsp-swift' +"Plug 'landaire/deoplete-swift' Plug 'artur-shaik/vim-javacomplete2' Plug 'cespare/vim-toml' +Plug 'coc-extensions/coc-svelte' Plug 'digitaltoad/vim-pug' +Plug 'evanleck/vim-svelte' Plug 'gryf/kickass-syntax-vim' Plug 'hsanson/vim-android' -Plug 'keith/swift.vim' -Plug 'landaire/deoplete-swift' Plug 'leafgarland/typescript-vim' Plug 'martinda/Jenkinsfile-vim-syntax' Plug 'mitsuhiko/vim-jinja' @@ -68,6 +70,7 @@ set wildmenu set wildmode=longest:full set splitright set splitbelow +set relativenumber let &colorcolumn="+".join(range(1, 255), ",+") let mapleader="," set termguicolors @@ -134,7 +137,8 @@ set list listchars=tab:\ \ ,trail:•,precedes:…,extends:… " Maximum line widths au FileType text,markdown setlocal textwidth=80 -au FileType python setlocal textwidth=79 +au FileType python setlocal textwidth=88 +au FileType swift setlocal textwidth=120 " Line numbering set number @@ -228,6 +232,8 @@ let g:clang_cpp_options = '-std=c++17' """ syntastic let g:syntastic_cpp_compiler = 'clang++' let g:syntastic_cpp_compiler_options = '-std=c++17 -Wall -Wextra -pedantic' +let g:syntastic_python_pylint_args = '-e max-line-length=88' +let g:syntastic_python_flake8_args = '--max-line-length=88' """ vim-lsc " C++/C @@ -255,5 +261,7 @@ autocmd FileType java setlocal omnifunc=javacomplete#Complete """ rust.vim let g:rustfmt_autosave = 1 -command! Workman set langmap=LO,OL,JN,NJ,KE,EK,HY,YH,lo,ol,jn,nj,ke,ek,hy,yh -command! Qwerty set langmap= +" command! Workman set langmap=LO,OL,JN,NJ,KE,EK,HY,YH,lo,ol,jn,nj,ke,ek,hy,yh +" command! Qwerty set langmap= + +set path=$PWD/**