From 709a1bdda69a60db6bc8d11b0cc49f18fd785f85 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Tue, 9 Sep 2025 13:09:23 -0400 Subject: [PATCH] Changing Completion Engines --- CLAUDE.md | 3 ++- coc-settings.json | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 coc-settings.json diff --git a/CLAUDE.md b/CLAUDE.md index 1a1c7b6..8dfdcba 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -101,4 +101,5 @@ The configuration automatically detects TTY environments and disables icons/comp ### AI Integration - **Claude Code**: Primary AI assistant with keymaps under `a` for chat, diff management, and file operations - **Avante**: Secondary AI integration (currently configured for Copilot provider) -- **GitHub Copilot**: Code completion integration via copilot.vim \ No newline at end of file +- **GitHub Copilot**: Code completion integration via copilot.vim +- Were no longer using nvim_cmp having switched to coc \ No newline at end of file diff --git a/coc-settings.json b/coc-settings.json new file mode 100644 index 0000000..93221ed --- /dev/null +++ b/coc-settings.json @@ -0,0 +1,39 @@ +{ + "coc.preferences.timeout": 300, + "suggest.enablePreview": true, + "suggest.floatEnable": true, + "suggest.detailField": "preview", + "suggest.maxPreviewWidth": 80, + "signature.enable": true, + "signature.target": "float", + "extensions": [ + "coc-json", + "coc-html", + "coc-css", + "coc-python", + "coc-clangd", + "coc-rust-analyzer", + "coc-yaml", + "coc-tsserver", + "coc-lua", + "coc-sh", + "coc-go" + ], + "languageserver": { + "zig": { + "command": "zls", + "filetypes": ["zig"], + "rootPatterns": ["build.zig"] + }, + "nim": { + "command": "nim_langserver", + "filetypes": ["nim"], + "rootPatterns": ["*.nimble", "*.nim"] + }, + "vlang": { + "command": "vls", + "filetypes": ["v"], + "rootPatterns": ["v.mod"] + } + } +}