Added coc

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2021-04-06 09:46:28 +02:00
parent 42dff7b8cd
commit 0e68efd9aa

View File

@ -31,11 +31,7 @@ Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'} Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'}
Plug 'fannheyward/coc-markdownlint', {'do': 'yarn install --frozen-lockfile; npm i -D markdownlint --save-dev'} Plug 'fannheyward/coc-markdownlint', {'do': 'yarn install --frozen-lockfile; npm i -D markdownlint --save-dev'}
Plug 'josa42/coc-sh', {'do': 'yarn install --frozen-lockfile; npm i -D bash-language-server'} Plug 'josa42/coc-sh', {'do': 'yarn install --frozen-lockfile; npm i -D bash-language-server'}
<<<<<<< HEAD
Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile'} Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile'}
=======
Plug 'prettier/vim-prettier', { 'do': 'yarn install; npm i -D prettier; npm i -D prettier-plugin-sh' }
>>>>>>> 69c5868c40159e79a4f438f446687f7445a3e160
Plug 'dracula/vim', { 'as': 'dracula'} Plug 'dracula/vim', { 'as': 'dracula'}
Plug 'jnurmine/Zenburn', { 'as': 'zenburn'} Plug 'jnurmine/Zenburn', { 'as': 'zenburn'}
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
@ -62,11 +58,6 @@ syntax on
filetype plugin indent on filetype plugin indent on
set encoding=utf-8 set encoding=utf-8
" Prettier
noremap <leader>p :PrettierAsync<CR>
let g:prettier#config#single_quote = 'true'
let g:prettier#config#trailing_comma = 'all'
" fzf " fzf
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0) command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0)
command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('<cword>')), 1, <bang>0) command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('<cword>')), 1, <bang>0)