summaryrefslogtreecommitdiff
path: root/plug-config
diff options
context:
space:
mode:
Diffstat (limited to 'plug-config')
-rw-r--r--plug-config/coc/coc-extensions.vim33
-rw-r--r--plug-config/coc/coc.vim (renamed from plug-config/coc.vim)37
2 files changed, 33 insertions, 37 deletions
diff --git a/plug-config/coc/coc-extensions.vim b/plug-config/coc/coc-extensions.vim
new file mode 100644
index 00000000..1466aafc
--- /dev/null
+++ b/plug-config/coc/coc-extensions.vim
@@ -0,0 +1,33 @@
+let g:coc_global_extensions = [
+ \ 'coc-snippets',
+ \ 'coc-actions',
+ \ 'coc-sh',
+ \ 'coc-java-debug',
+ \ 'coc-java',
+ \ 'coc-lists',
+ \ 'coc-emmet',
+ \ 'coc-tasks',
+ \ 'coc-pairs',
+ \ 'coc-tsserver',
+ \ 'coc-floaterm',
+ \ 'coc-html',
+ \ 'coc-css',
+ \ 'coc-cssmodules',
+ \ 'coc-stylelintplus',
+ \ 'coc-emoji',
+ \ 'coc-bookmark',
+ \ 'coc-yaml',
+ \ 'coc-python',
+ \ 'coc-pyright',
+ \ 'coc-explorer',
+ \ 'coc-svg',
+ \ 'coc-prettier',
+ \ 'coc-vimlsp',
+ \ 'coc-xml',
+ \ 'coc-yank',
+ \ 'coc-json',
+ \ 'coc-marketplace',
+ \ ]
+ " \ 'coc-tabnine',
+ " \ 'coc-highlight',
+
diff --git a/plug-config/coc.vim b/plug-config/coc/coc.vim
index 82f9723b..597d39d9 100644
--- a/plug-config/coc.vim
+++ b/plug-config/coc/coc.vim
@@ -1,34 +1,3 @@
- let g:coc_global_extensions = [
- \ 'coc-snippets',
- \ 'coc-actions',
- \ 'coc-sh',
- \ 'coc-java-debug',
- \ 'coc-java',
- \ 'coc-lists',
- \ 'coc-emmet',
- \ 'coc-tasks',
- \ 'coc-pairs',
- \ 'coc-tsserver',
- \ 'coc-floaterm',
- \ 'coc-html',
- \ 'coc-css',
- \ 'coc-emoji',
- \ 'coc-cssmodules',
- \ 'coc-yaml',
- \ 'coc-python',
- \ 'coc-pyright',
- \ 'coc-explorer',
- \ 'coc-svg',
- \ 'coc-prettier',
- \ 'coc-vimlsp',
- \ 'coc-xml',
- \ 'coc-yank',
- \ 'coc-json',
- \ 'coc-marketplace',
- \ ]
- " \ 'coc-tabnine',
- " \ 'coc-highlight',
-
" Use tab for trigger completion with characters ahead and navigate.
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
@@ -100,12 +69,6 @@ xmap af <Plug>(coc-funcobj-a)
omap if <Plug>(coc-funcobj-i)
omap af <Plug>(coc-funcobj-a)
-" Use <TAB> for selections ranges.
-" NOTE: Requires 'textDocument/selectionRange' support from the language server.
-" coc-tsserver, coc-python are the examples of servers that support it.
-" nmap <silent> <TAB> <Plug>(coc-range-select)
-" xmap <silent> <TAB> <Plug>(coc-range-select)
-
" Add `:Format` command to format current buffer.
command! -nargs=0 Format :call CocAction('format')