summaryrefslogtreecommitdiff
path: root/modules/prog-go.el
AgeCommit message (Collapse)Author
3 dayschore: Remove unused go-ts-mode-map forward declarationsCraig Jennings
Cleanup of already-fixed issue from commit 196b289. **Background:** - Bug was already fixed on Nov 2, 2025 (commit 196b289) - Original error: "void-variable go-ts-mode-map" - Fix moved keybindings from :bind clause to hook function - Keybindings now set after mode loads via cj/go-mode-keybindings **This Cleanup:** - Removed unused forward declarations (lines 34-35): - (defvar go-ts-mode-map) - (defvar go-mod-ts-mode-map) - These were artifacts from the original buggy implementation - No longer needed since keybindings use local-set-key in hook **Testing:** - ✓ File compiles cleanly without warnings - ✓ No references to these variables exist in codebase - ✓ Keybindings work correctly via hook function Updated todo.org to mark task as complete, documenting that it was already fixed and today's work was just cleanup. Serves Method 1: "Make Using Emacs Frictionless" - Quick win: ~2 minutes (just cleanup) - Reduces code clutter 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5 daysfix: Resolve void-variable and void-function errors on first launchCraig Jennings
Fixed two critical bugs preventing Emacs from launching after fresh clone: 1. prog-go.el: Moved go-ts-mode-map keybinding from :bind clause - The :bind macro tried to reference go-ts-mode-map before it was loaded - Moved "C-; f" gofmt binding into cj/go-mode-keybindings function - Function executes via hook after mode loads, ensuring keymap exists 2. org-config.el: Moved function definitions before use-package block - cj/org-general-settings, cj/org-appearance-settings, and cj/org-todo-settings were called in :config but defined after - Moved all three function definitions before (use-package org) - Functions now defined before :config section tries to call them Both fixes follow the pattern of ensuring dependencies exist before use. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20feat:programming: Enhance language-specific keybindings and setupCraig Jennings
Add language-specific keybindings and configurations for C, Go, Python, and shell scripting panels. Introduce system utility function declarations and improve keybinding consistency across languages. Implement keybindings for debug, format, and static analysis tools tailored to each programming language, enhancing the developer experience and workflow efficiency.
2025-10-20feat: prog-go: integrate LSP support for GoCraig Jennings
Add support for the Go language server (gopls) with LSP integration. Enable intelligent code completion, jump to definition, find references, and on-the-fly error checking in go-ts-mode and go-mod-ts-mode. Configure gopls path and related settings in lsp-mode. Update installation documentation for additional tools.
2025-10-20feat: prog-go: Enhance Go configuration with go-ts-modeCraig Jennings
Add go-ts-mode configuration using tree-sitter for Go programming. Introduce `go-bin-path` for managing Go tool binaries and implement `cj/go-staticcheck` for running static analysis. Update key bindings to use staticcheck instead of golint.
2025-10-12changing repositoriesCraig Jennings