From f110a3ed2574787e2cfcc8e8dde1df9535961d6a Mon Sep 17 00:00:00 2001 From: Carlos Gutierrez Date: Wed, 18 Mar 2026 22:02:10 -0400 Subject: [PATCH] Modifying the doc files --- doc/codetyper.txt | 46 +++------------------------------------------- doc/tags | 1 + 2 files changed, 4 insertions(+), 43 deletions(-) diff --git a/doc/codetyper.txt b/doc/codetyper.txt index 67b2124..283c26c 100644 --- a/doc/codetyper.txt +++ b/doc/codetyper.txt @@ -40,9 +40,6 @@ Key features: - Neovim >= 0.8.0 - curl (for API calls) - One of: - - Claude API key (ANTHROPIC_API_KEY) - - OpenAI API key (OPENAI_API_KEY) - - Gemini API key (GEMINI_API_KEY) - GitHub Copilot (via copilot.lua or copilot.vim) - Ollama running locally @@ -56,7 +53,7 @@ Using lazy.nvim: >lua config = function() require("codetyper").setup({ llm = { - provider = "claude", -- or "openai", "gemini", "copilot", "ollama" + provider = "copilot", -- or "ollama" }, }) end, @@ -83,15 +80,6 @@ Default configuration: >lua api_key = nil, -- Uses ANTHROPIC_API_KEY env var if nil model = "claude-sonnet-4-20250514", }, - openai = { - api_key = nil, -- Uses OPENAI_API_KEY env var if nil - model = "gpt-4o", - endpoint = nil, -- Custom endpoint (Azure, OpenRouter, etc.) - }, - gemini = { - api_key = nil, -- Uses GEMINI_API_KEY env var if nil - model = "gemini-2.0-flash", - }, copilot = { model = "gpt-4o", -- Uses OAuth from copilot.lua/copilot.vim }, @@ -113,36 +101,6 @@ Default configuration: >lua ============================================================================== 5. LLM PROVIDERS *codetyper-providers* - *codetyper-claude* -Claude~ -Best for complex reasoning and code generation. ->lua - llm = { - provider = "claude", - claude = { model = "claude-sonnet-4-20250514" }, - } -< - *codetyper-openai* -OpenAI~ -Supports custom endpoints for Azure, OpenRouter, etc. ->lua - llm = { - provider = "openai", - openai = { - model = "gpt-4o", - endpoint = nil, -- optional custom endpoint - }, - } -< - *codetyper-gemini* -Google Gemini~ -Fast and capable. ->lua - llm = { - provider = "gemini", - gemini = { model = "gemini-2.0-flash" }, - } -< *codetyper-copilot* GitHub Copilot~ Uses your existing Copilot subscription. @@ -354,3 +312,5 @@ codetyper.is_initialized() ============================================================================== vim:tw=78:ts=8:ft=help:norl: + + diff --git a/doc/tags b/doc/tags index 296ec17..14d1090 100644 --- a/doc/tags +++ b/doc/tags @@ -39,3 +39,4 @@ codetyper.get_config() codetyper.txt /*codetyper.get_config()* codetyper.is_initialized() codetyper.txt /*codetyper.is_initialized()* codetyper.setup() codetyper.txt /*codetyper.setup()* codetyper.txt codetyper.txt /*codetyper.txt* +codetyper-auto-process codetyper.txt /*codetyper-auto-process*