From f615055adbcbd638ad834c7e9650258cabe109eb Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Fri, 7 Apr 2023 22:58:07 +0200 Subject: [PATCH] Update JS & TS config --- .vim/coc-settings.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json index e5ce0bb..1c2ab94 100644 --- a/.vim/coc-settings.json +++ b/.vim/coc-settings.json @@ -131,13 +131,23 @@ "python": "autopep8" }, + /** + * Autocompletion, suggestions, snippets + */ + "suggest.autoTrigger": "trigger", + "suggest.snippetIndicator": "▸", + "signature.target": "float", + "snippets.userSnippetsDirectory": "~/.vim/snips/", + "coc.source.file.triggerCharacters": ["/"], + + // ECMAScript, TypeScript "emmet.includeLanguages": { "javascript": "javascriptreact" }, "javascript.suggestionActions.enabled": true, "typescript.suggestionActions.enabled": true, "svelte.plugin.typescript.diagnostics.enable": true, - "snippets.userSnippetsDirectory": "~/.vim/snips/", - "coc.source.file.triggerCharacters": ["/"] + "svelte.enable-ts-plugin": true, + // Add BibTex file for coc-bibtex autocompletion "list.source.bibtex.files": ["~/.wiki/references.bib", "./*.bib"], "bibtex.silent": true,