vim: Update config
This commit is contained in:
parent
f1b5e8de16
commit
790522a33f
1 changed files with 13 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
call plug#begin("~/.nvim/bundle")
|
call plug#begin("~/.nvim/bundle")
|
||||||
|
|
||||||
" Other
|
" Other
|
||||||
|
Plug 'bronson/vim-visual-star-search'
|
||||||
Plug 'prabirshrestha/async.vim'
|
Plug 'prabirshrestha/async.vim'
|
||||||
|
|
||||||
" UI
|
" UI
|
||||||
|
@ -34,13 +35,14 @@ Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
" Language support
|
" Language support
|
||||||
"Plug 'ryanolsonx/vim-lsp-swift'
|
"Plug 'ryanolsonx/vim-lsp-swift'
|
||||||
|
"Plug 'landaire/deoplete-swift'
|
||||||
Plug 'artur-shaik/vim-javacomplete2'
|
Plug 'artur-shaik/vim-javacomplete2'
|
||||||
Plug 'cespare/vim-toml'
|
Plug 'cespare/vim-toml'
|
||||||
|
Plug 'coc-extensions/coc-svelte'
|
||||||
Plug 'digitaltoad/vim-pug'
|
Plug 'digitaltoad/vim-pug'
|
||||||
|
Plug 'evanleck/vim-svelte'
|
||||||
Plug 'gryf/kickass-syntax-vim'
|
Plug 'gryf/kickass-syntax-vim'
|
||||||
Plug 'hsanson/vim-android'
|
Plug 'hsanson/vim-android'
|
||||||
Plug 'keith/swift.vim'
|
|
||||||
Plug 'landaire/deoplete-swift'
|
|
||||||
Plug 'leafgarland/typescript-vim'
|
Plug 'leafgarland/typescript-vim'
|
||||||
Plug 'martinda/Jenkinsfile-vim-syntax'
|
Plug 'martinda/Jenkinsfile-vim-syntax'
|
||||||
Plug 'mitsuhiko/vim-jinja'
|
Plug 'mitsuhiko/vim-jinja'
|
||||||
|
@ -68,6 +70,7 @@ set wildmenu
|
||||||
set wildmode=longest:full
|
set wildmode=longest:full
|
||||||
set splitright
|
set splitright
|
||||||
set splitbelow
|
set splitbelow
|
||||||
|
set relativenumber
|
||||||
let &colorcolumn="+".join(range(1, 255), ",+")
|
let &colorcolumn="+".join(range(1, 255), ",+")
|
||||||
let mapleader=","
|
let mapleader=","
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
@ -134,7 +137,8 @@ set list listchars=tab:\ \ ,trail:•,precedes:…,extends:…
|
||||||
|
|
||||||
" Maximum line widths
|
" Maximum line widths
|
||||||
au FileType text,markdown setlocal textwidth=80
|
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
|
" Line numbering
|
||||||
set number
|
set number
|
||||||
|
@ -228,6 +232,8 @@ let g:clang_cpp_options = '-std=c++17'
|
||||||
""" syntastic
|
""" syntastic
|
||||||
let g:syntastic_cpp_compiler = 'clang++'
|
let g:syntastic_cpp_compiler = 'clang++'
|
||||||
let g:syntastic_cpp_compiler_options = '-std=c++17 -Wall -Wextra -pedantic'
|
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
|
""" vim-lsc
|
||||||
" C++/C
|
" C++/C
|
||||||
|
@ -255,5 +261,7 @@ autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
||||||
""" rust.vim
|
""" rust.vim
|
||||||
let g:rustfmt_autosave = 1
|
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! Workman set langmap=LO,OL,JN,NJ,KE,EK,HY,YH,lo,ol,jn,nj,ke,ek,hy,yh
|
||||||
command! Qwerty set langmap=
|
" command! Qwerty set langmap=
|
||||||
|
|
||||||
|
set path=$PWD/**
|
||||||
|
|
Loading…
Reference in a new issue