summaryrefslogtreecommitdiff
path: root/coc-settings.json
diff options
context:
space:
mode:
Diffstat (limited to 'coc-settings.json')
-rw-r--r--coc-settings.json76
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"
+ ]
+ }
+}