diff options
author | listout <listout@protonmail.com> | 2021-04-13 21:47:37 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2021-04-13 21:47:37 +0530 |
commit | 502989c3cd4bf1e6cf2663a5a633645940b3f7b7 (patch) | |
tree | f776227268371a60bf9316f297835eea10a13b60 /coc-settings.json |
vim config
Diffstat (limited to 'coc-settings.json')
-rw-r--r-- | coc-settings.json | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/coc-settings.json b/coc-settings.json new file mode 100644 index 0000000..96eea99 --- /dev/null +++ b/coc-settings.json @@ -0,0 +1,76 @@ +{ + "hover.target": "float", + "coc.preferences.currentFunctionSymbolAutoUpdate": true, + "coc.source.word.filetypes": [ + "markdown", + "markdown.pandoc", + "latex", + "tex" + ], + "coc.source.dictionary.filetypes": [ + "markdown", + "markdown.pandoc", + "latex", + "tex" + ], + "coc.preferences.formatOnSaveFiletypes": [ + "java", + "c", + "cpp", + "jsonc", + "sql", + "python", + "html", + "php" + ], + "diagnostic.refreshOnInsertMode": true, + "diagnostic.messageTarget": "float", + "languageserver": { + "ccsl": { + "command": "/usr/bin/ccls", + "filetypes": [ + "c", + "cpp", + "objc", + "objcpp" + ], + "rootPatterns": [ + ".ccls", + "compile_commands.json", + ".git/", + ".hg" + ], + "initializationOptions": { + "cache": { + "directory": "/tmp/ccls" + }, + "highlight": { + "lsRanges": true + } + } + } + }, + "signature.target": "echo", + "session.directory": "~/.config/nvim/sessions", + "session.saveOnVimLeave": false, + "suggest.noselect": false, + "suggest.snippetIndicator": "►", + "suggest.floatEnable": false, + "suggest.autoTrigger": "always", + "suggest.echodocSupport": true, + "suggest.acceptSuggestionOnCommitCharacter": true, + "snippets.extends": { + "cpp": [ + "c" + ], + "html": [ + "php" + ], + "php": [ + "html" + ], + "markdown.pandoc": [ + "tex" + ] + } +} |