updates...
This commit is contained in:
parent
e853d10ffd
commit
160f28ffb9
4 changed files with 68 additions and 11 deletions
|
|
@ -1,5 +1,17 @@
|
|||
{
|
||||
"coc.preferences.formatOnSaveFiletypes": ["css", "markdown", "javascript", "typescript", "typescriptreact", "go"],
|
||||
"eslint.autoFixOnSave": true,
|
||||
"diagnostic.checkCurrentLine": true
|
||||
"coc.preferences.formatOnSaveFiletypes": [
|
||||
"css",
|
||||
"markdown",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"go",
|
||||
"ruby"
|
||||
],
|
||||
"eslint.autoFixOnSave": true,
|
||||
"diagnostic.checkCurrentLine": true,
|
||||
"solargraph.autoformat": true,
|
||||
"solargraph.formatting": true,
|
||||
"solargraph.hover": true,
|
||||
"solargraph.diagnostics": true,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ Plug 'junegunn/fzf.vim'
|
|||
Plug 'leafgarland/typescript-vim'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'github/copilot.vim'
|
||||
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
|
|
|||
|
|
@ -94,3 +94,19 @@ if has('nvim-0.4.0') || has('patch-8.2.0750')
|
|||
vnoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
|
||||
vnoremap <silent><nowait><expr> <C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
|
||||
endif
|
||||
|
||||
let g:coc_global_extensions = [
|
||||
\'coc-tsserver',
|
||||
\'coc-css',
|
||||
\'coc-eslint',
|
||||
\'coc-highlight',
|
||||
\'coc-html',
|
||||
\'coc-prettier',
|
||||
\'coc-solargraph',
|
||||
\'coc-vimlsp',
|
||||
\'coc-actions',
|
||||
\'coc-go',
|
||||
\'coc-explorer',
|
||||
\'coc-json',
|
||||
\'coc-git'
|
||||
\]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue