Commit a0214ea
authored
fix neotest latest (#15)
* Upgrade neotest Go adapter to fredrikaverpil/neotest-golang with version specification
This revolutionary upgrade to our Neovim testing infrastructure represents a quantum leap forward in Go language testing capabilities within our editor environment. The transition from the generic 'nvim-neotest/neotest-go' dependency to the specialized 'fredrikaverpil/neotest-golang' adapter introduces a new era of testing precision and feature richness.
Key enhancements include:
- Migration from basic neotest-go to the more advanced fredrikaverpil/neotest-golang adapter
- Introduction of explicit version specification with 'version = "*"' for optimal release tracking
- Preservation of existing adapter ecosystem including neotest-rust and commented zig/bun adapters
- Maintenance of dependency structure while upgrading core Go testing functionality
The implementation occurs at lines 4-7 of the neotest-plugin.lua file, where the dependencies table undergoes this strategic transformation. The new adapter provides enhanced Go testing features, better integration with modern Go development practices, and improved test discovery and execution capabilities.
This change ensures that our Neovim configuration remains at the forefront of testing technology, providing developers with cutting-edge tools for comprehensive test management and execution within their preferred editor environment.
* Uncomment the neotest-zig dependency in the neotest plugin configuration
This commit meticulously removes the comment markers from the line specifying the 'lawrence-laz/neotest-zig' dependency within the dependencies table of the neotest plugin setup. By uncommenting this line, the Zig testing adapter for neotest is now included in the plugin's dependency list, allowing for Zig language test execution capabilities to be integrated into the Neovim testing framework. The change involves precisely altering the syntax from a commented-out state to an active dependency, ensuring that the plugin can load and utilize the Zig adapter when configured in the adapters section. This modification is part of a broader effort to expand the testing support across multiple programming languages within the neotest ecosystem, specifically targeting Zig projects that require automated testing workflows directly from within the editor environment.
* Introduce build function to install gotestsum for enhanced Go testing capabilities
This commit introduces a build function within the neotest plugin configuration that automates the installation of gotestsum, a Go test runner that provides improved output formatting and test result aggregation. The build function utilizes vim.system to execute the 'go install' command for 'gotest.tools/gotestsum@latest', ensuring the latest version is fetched and installed during the plugin setup process. This enhancement is particularly beneficial for Go developers using neotest, as gotestsum offers features like parallel test execution, JUnit XML output, and better integration with CI/CD pipelines. By incorporating this build step, the plugin now proactively prepares the necessary tooling for optimal Go test execution, reducing manual setup requirements and improving the overall developer experience when working with Go projects in Neovim. The function waits for the installation to complete, guaranteeing that the tool is available before the plugin initialization proceeds.
* Activate neotest-bun dependency for Bun runtime testing support
This commit removes the comment prefix from the 'arthur944/neotest-bun' dependency entry in the neotest plugin dependencies list, thereby enabling support for testing JavaScript and TypeScript code using the Bun runtime within the neotest framework. Bun is a fast, modern JavaScript runtime that offers significant performance improvements over traditional Node.js for certain workloads, and this adapter allows developers to run their Bun-based tests directly from Neovim using neotest's interface. By uncommenting this line, the plugin will now load the neotest-bun adapter, which integrates with Bun's test runner to provide features like test discovery, execution, and result reporting. This change expands the plugin's language support to include projects utilizing Bun, catering to developers who prefer this runtime for its speed and developer experience enhancements, while maintaining compatibility with existing neotest workflows and keybindings.
* Enable neotest-playwright adapter for end-to-end testing with Playwright
This commit uncomments the 'thenbe/neotest-playwright' dependency, integrating Playwright support into the neotest testing framework for comprehensive end-to-end testing capabilities. Playwright is a powerful automation library for testing web applications across multiple browsers, and this adapter allows running Playwright tests seamlessly within Neovim's neotest interface. By activating this dependency, developers can now execute browser-based tests, including those for user interactions, API calls, and visual regressions, directly from their editor. The adapter supports advanced Playwright features like test isolation, parallel execution, and cross-browser testing, making it invaluable for full-stack web development projects. This enhancement bridges the gap between unit testing and end-to-end testing within the same unified testing workflow, improving productivity for teams working on complex web applications that require thorough UI and API testing.
* Uncomment and activate Zig, Playwright, and Bun adapters in neotest configuration
This commit removes the comment markers from the adapter configurations for neotest-zig, neotest-playwright, and neotest-bun within the opts.adapters table, effectively enabling these testing adapters for their respective languages and frameworks. For the Zig adapter, it configures the DAP (Debug Adapter Protocol) to use the LLDB debugger, allowing for integrated debugging of Zig tests directly within Neovim. The Playwright adapter is set up with options to persist project selection across sessions and enable dynamic test discovery, which automatically finds and registers new test files as they are created. The Bun adapter is activated with default settings, providing basic test execution capabilities for JavaScript/TypeScript projects using the Bun runtime. This comprehensive activation expands the neotest plugin's capabilities to support a wider range of programming languages and testing scenarios, including systems programming with Zig, end-to-end web testing with Playwright, and fast JavaScript testing with Bun, all while maintaining consistent integration with Neovim's debugging and testing workflows.
* Migrate from neotest-go to neotest-golang adapter with gotestsum runner
This commit performs a significant update to the Go testing adapter configuration by replacing the deprecated 'neotest-go' adapter with the newer 'fredrikaverpil/neotest-golang' adapter, which offers improved compatibility and features for modern Go development. The adapter key is changed from 'neotest-go' to 'neotest-golang' to match the updated plugin naming convention. The runner is switched from the basic 'go test' command to 'gotestsum', which provides enhanced test output formatting, parallel execution capabilities, and better integration with CI/CD systems through features like JUnit XML output and test result summarization. The previous experimental test_table configuration and custom args for test count, timeout, and verbosity are removed in favor of gotestsum's default, more robust handling of these aspects. This migration ensures that Go tests run with improved performance, better error reporting, and more reliable execution, particularly beneficial for large Go codebases and projects requiring comprehensive test reporting.
* added blink-dictionary
* latest
* latest
* latest
* Update neovim configuration for neotest fixes
- Modify dictionary/markdown-claude.dict
- Update lua/plugins/lspconfig-plugin.lua
- Add new lua/plugins/tiny-code-action-plugin.lua
* latest
* Configure tailwindcss LSP for templ filetype support
Add configuration to tailwindcss LSP server to support the 'templ' filetype
by mapping it to 'html' language. This enables proper Tailwind CSS IntelliSense,
autocomplete, and syntax highlighting when working with .templ files in
Neovim, improving the development experience for projects using the templ
template engine with Tailwind CSS styling.1 parent 1e6bcea commit a0214ea
File tree
12 files changed
+722
-66
lines changed- .claude/commands/spectr
- dictionary
- lua/plugins
- spectr
12 files changed
+722
-66
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
| |||
187 | 197 | | |
188 | 198 | | |
189 | 199 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
196 | 209 | | |
197 | 210 | | |
198 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
| |||
115 | 112 | | |
116 | 113 | | |
117 | 114 | | |
118 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
0 commit comments