Skip to content

Commit 1cebd73

Browse files
refactor: streamline documentation and improve project structure in Neovim configuration
Signed-off-by: juliano.barbosa <julianomb@gmail.com>
1 parent 299e063 commit 1cebd73

File tree

8 files changed

+294
-249
lines changed

8 files changed

+294
-249
lines changed

lua/custom/plugins/init.lua

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
1-
# MIT License
2-
#
3-
# Permission is hereby granted, free of charge, to any person obtaining a copy
4-
# of this software and associated documentation files (the "Software"), to deal
5-
# in the Software without restriction, including without limitation the rights
6-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7-
# copies of the Software, and to permit persons to whom the Software is
8-
# furnished to do so, subject to the following conditions:
9-
#
10-
# The above copyright notice and this permission notice shall be included in all
11-
# copies or substantial portions of the Software.
12-
#
13-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19-
# SOFTWARE.
20-
211
-- You can add your own plugins here or in other files in this directory!
222
-- I promise not to create any merge conflicts in this directory :)
233
--

lua/kickstart/plugins/autopairs.lua

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# MIT License
2-
#
3-
# Permission is hereby granted, free of charge, to any person obtaining a copy
4-
# of this software and associated documentation files (the "Software"), to deal
5-
# in the Software without restriction, including without limitation the rights
6-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7-
# copies of the Software, and to permit persons to whom the Software is
8-
# furnished to do so, subject to the following conditions:
9-
#
10-
# The above copyright notice and this permission notice shall be included in all
11-
# copies or substantial portions of the Software.
12-
#
13-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19-
# SOFTWARE.
1+
-- MIT License
2+
--
3+
-- Permission is hereby granted, free of charge, to any person obtaining a copy
4+
-- of this software and associated documentation files (the "Software"), to deal
5+
-- in the Software without restriction, including without limitation the rights
6+
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
-- copies of the Software, and to permit persons to whom the Software is
8+
-- furnished to do so, subject to the following conditions:
9+
--
10+
-- The above copyright notice and this permission notice shall be included in all
11+
-- copies or substantial portions of the Software.
12+
--
13+
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
-- SOFTWARE.
2020

2121
-- autopairs
2222
-- https://github.com/windwp/nvim-autopairs

memory-bank/activeContext.md

Lines changed: 45 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,55 @@
1-
# Neovim Configuration Active Context
1+
# Active Context
22

33
## Current Session Context
4-
[2024-02-22 13:00] Initial Memory Bank setup
4+
[2024-02-22 16:47]
5+
6+
Completed initial analysis of Neovim configuration based on kickstart framework.
57

68
## Recent Changes
79
- Created Memory Bank structure
8-
- Initialized core documentation files
9-
- Established project organization
10+
- Documented core configuration patterns
11+
- Analyzed plugin configurations:
12+
- LSP and completion setup
13+
- Debugging infrastructure
14+
- Linting framework
15+
- Auto-pairs integration
1016

11-
## Current Focus
12-
- Setting up base configuration structure
13-
- Documenting existing setup
14-
- Planning plugin organization
17+
## Current Goals
18+
1. Verify tool installation and compatibility:
19+
- LSP servers for configured languages
20+
- Debug adapters
21+
- Linting tools
1522

16-
## Active Decisions
17-
1. Using modular Lua configuration
18-
2. Implementing lazy plugin loading
19-
3. Organizing debug capabilities
23+
2. Review and optimize:
24+
- LSP configurations
25+
- Debug adapter configurations
26+
- Linting rules
27+
- Keymaps and shortcuts
2028

21-
## Next Steps
22-
1. Review existing plugin configurations
23-
2. Document current plugin setup
24-
3. Evaluate debug integration
25-
4. Plan performance optimizations
29+
3. Enhance documentation:
30+
- Plugin-specific configurations
31+
- Language-specific setups
32+
- Custom keybindings
2633

2734
## Open Questions
28-
1. Which plugins need custom configurations?
29-
2. Are there any performance bottlenecks?
30-
3. What debug adapters are required?
31-
4. How to optimize startup time?
32-
33-
## Implementation Notes
34-
- Need to document plugin dependencies
35-
- Consider startup performance
36-
- Review debug configuration needs
37-
- Plan LSP server setup
35+
1. Are all required language servers properly configured?
36+
2. Are there any performance bottlenecks in the current setup?
37+
3. Should additional language support be added?
38+
4. Are the current keymaps optimal for the workflow?
39+
5. Would any additional plugins benefit the setup?
40+
41+
## Focus Areas
42+
1. Plugin Configuration Optimization
43+
- Review lazy-loading strategies
44+
- Verify event triggers
45+
- Check dependency chains
46+
47+
2. Language Support
48+
- Validate LSP configurations
49+
- Test debugging setups
50+
- Verify linting rules
51+
52+
3. Performance Monitoring
53+
- Startup time
54+
- Memory usage
55+
- Plugin load times

memory-bank/productContext.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
# Neovim Configuration Product Context
22

33
## Purpose
4-
This Neovim configuration exists to provide a powerful, customizable development environment that enhances productivity through modern editor features and efficient workflow patterns.
4+
This Neovim configuration exists to provide a robust, efficient, and maintainable development environment using the kickstart framework as a foundation. It aims to enhance the editing experience while maintaining good performance and extensibility.
55

66
## Problems Solved
7-
1. Complex plugin management
8-
2. Development environment setup time
9-
3. Code navigation efficiency
10-
4. Debug workflow integration
11-
5. Configuration maintainability
7+
1. Complex plugin management and configuration
8+
2. Code debugging setup and integration
9+
3. Consistent code linting across projects
10+
4. Efficient text editing through auto-pairing
11+
5. Configuration organization and maintenance
1212

13-
## Intended Usage
14-
- Primary development environment for coding
15-
- Plugin management through Lua modules
16-
- Integrated debugging capabilities
17-
- Efficient code navigation and completion
18-
- Custom keybindings and commands
13+
## Expected Functionality
14+
1. Plugin Management
15+
- Organized plugin configurations in separate files
16+
- Clear dependency management
17+
- Easy plugin addition and removal
1918

20-
## User Experience Goals
21-
1. Fast and responsive editing
22-
2. Intuitive plugin management
23-
3. Clear error feedback
24-
4. Efficient code navigation
25-
5. Seamless debugging experience
26-
6. Easy configuration updates
19+
2. Development Tools
20+
- Integrated debugging capabilities
21+
- Code linting and static analysis
22+
- Automatic bracket/quote pairing
23+
24+
3. Configuration Structure
25+
- Modular organization
26+
- Clear separation of concerns
27+
- Easy maintenance and updates
2728

28-
## Design Principles
29-
1. Modularity: Separate concerns for easier maintenance
30-
2. Performance: Optimize for speed and responsiveness
31-
3. Clarity: Clear structure and documentation
32-
4. Extensibility: Easy to add new features
33-
5. Reliability: Stable and predictable behavior
29+
## User Experience Goals
30+
1. Fast and responsive editing experience
31+
2. Intuitive plugin functionality
32+
3. Consistent behavior across different file types
33+
4. Clear error and diagnostic feedback
34+
5. Smooth debugging experience

memory-bank/progress.md

Lines changed: 58 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,66 @@
1-
# Neovim Configuration Progress
1+
# Project Progress
2+
3+
## Work Done
4+
- [x] Initial Memory Bank setup
5+
- [x] Core documentation structure
6+
- [x] Analysis of main configuration (init.lua)
7+
- [x] Documentation of plugin configurations:
8+
- [x] Debug setup (nvim-dap)
9+
- [x] Linting framework (nvim-lint)
10+
- [x] Auto-pairs configuration
11+
- [x] LSP integration
212

313
## Current Status
4-
[2024-02-22 13:01] Memory Bank initialization
14+
The project has:
15+
1. Comprehensive LSP Configuration
16+
- Multiple language servers
17+
- Completion integration
18+
- Diagnostic support
519

6-
### What Works
7-
- Basic directory structure
8-
- Core documentation setup
9-
- Initial project organization
20+
2. Debug Infrastructure
21+
- DAP setup for multiple languages
22+
- Custom keymaps
23+
- Integrated debug UI
1024

11-
### In Progress
12-
1. Documentation of existing setup
13-
2. Plugin configuration review
14-
3. Debug capability assessment
25+
3. Code Quality Tools
26+
- File-type specific linters
27+
- Format-on-save capability
28+
- Treesitter integration
1529

16-
### Known Issues
17-
- Need to document current plugin dependencies
18-
- Debug configuration needs review
19-
- Performance optimization opportunities
20-
- LSP setup documentation needed
30+
4. Development Workflow
31+
- Fuzzy finding with Telescope
32+
- Git integration
33+
- Efficient navigation keymaps
2134

2235
## Next Steps
36+
1. Tool Verification
37+
- [ ] Test LSP server installations
38+
- [ ] Verify debug adapter functionality
39+
- [ ] Validate linter configurations
40+
41+
2. Configuration Optimization
42+
- [ ] Review lazy-loading strategies
43+
- [ ] Optimize startup time
44+
- [ ] Evaluate plugin dependencies
45+
46+
3. Documentation Enhancement
47+
- [ ] Add usage guides
48+
- [ ] Document custom keymaps
49+
- [ ] Create troubleshooting guide
50+
51+
4. Potential Improvements
52+
- [ ] Additional language support
53+
- [ ] Performance optimizations
54+
- [ ] Enhanced UI configurations
55+
56+
## Known Issues
57+
- Need to verify all LSP servers are properly configured
58+
- Debug adapter compatibility needs testing
59+
- Linter configurations need validation
60+
- Some keymaps may need refinement
2361

24-
### Short Term
25-
1. Review and document current plugin setup
26-
2. Assess debug integration status
27-
3. Document LSP configuration
28-
4. Map performance bottlenecks
29-
30-
### Medium Term
31-
1. Optimize plugin loading
32-
2. Enhance debug capabilities
33-
3. Improve LSP integration
34-
4. Add custom keybindings
35-
36-
### Long Term
37-
1. Create comprehensive documentation
38-
2. Implement performance improvements
39-
3. Extend debug functionality
40-
4. Enhance plugin ecosystem
41-
42-
## Completed Work
43-
[2024-02-22]
44-
- Created Memory Bank structure
45-
- Initialized core documentation
46-
- Established project organization
62+
## Upcoming Work
63+
1. Full system testing
64+
2. Performance benchmarking
65+
3. Documentation updates
66+
4. User workflow optimization

memory-bank/projectbrief.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
11
# Neovim Configuration Project Brief
22

33
## Project Overview
4-
Custom Neovim configuration project focused on creating an optimized, maintainable, and feature-rich development environment using Lua.
4+
A Neovim configuration setup based on the kickstart framework, aimed at creating an efficient and feature-rich development environment.
55

66
## Core Requirements
7-
1. Modular plugin management
8-
2. Efficient code navigation and editing
9-
3. Debugging capabilities
10-
4. Code completion and LSP support
11-
5. Clean and maintainable configuration structure
7+
1. Maintain a modular and organized plugin configuration
8+
2. Ensure efficient code editing capabilities
9+
3. Provide robust debugging support
10+
4. Implement code linting functionality
11+
5. Configure auto-pairing for brackets and quotes
1212

13-
## Project Goals
14-
- Create a well-organized Neovim configuration
15-
- Implement efficient plugin management
16-
- Establish consistent coding patterns
17-
- Enable debugging capabilities
18-
- Maintain documentation for future reference
13+
## Goals
14+
- Create a maintainable and extensible Neovim configuration
15+
- Optimize development workflow through carefully selected plugins
16+
- Ensure smooth integration between different plugin functionalities
17+
- Maintain clear documentation of configuration choices and patterns
1918

20-
## Success Criteria
21-
1. Working plugin system
22-
2. Functional debugging setup
23-
3. Clear configuration structure
24-
4. Documented setup and usage
25-
5. Maintainable codebase
19+
## Technical Stack
20+
- Neovim
21+
- Lua programming language
22+
- Kickstart framework
23+
- Various Neovim plugins (debug, lint, autopairs, etc.)
24+
25+
## Project Scope
26+
- Plugin configuration and management
27+
- Key mapping setup
28+
- Code editing enhancements
29+
- Development tool integration
30+
- Performance optimization

0 commit comments

Comments
 (0)