Refactor: Move lazyvim-config.lua content to lazy.lua or options.lua
- Lingua principale
- Fennel
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Issue
The file `lua/plugins/lazyvim-config.lua` contains minimal configuration that could be better organized in more appropriate locations.
## Current Content
```lua
return {
{
"neovim/nvim-lspconfig",
init = function()
local keys = require("lazyvim.plugins.lsp.keymaps").get()
-- Disable the default cr code action binding
keys[#keys + 1] = { "cr", false }
end,
},
}
```
## Proposed Refactoring
This LSP keymap override could be moved to either:
1. **`lazy.lua`** - If it's a global plugin configuration override
2. **`options.lua`** - If it's a general editor setting/keymap configuration
3. **`lua/plugins/lsp.lua`** - Since it's LSP-specific configuration
## Benefits
- Reduces unnecessary plugin files
- Better organization of configuration
- Consolidates related settings
- Cleaner project structure
## Files Affected
- Remove: `lua/plugins/lazyvim-config.lua`
- Modify: Target file for the configuration
## Priority
Low - organizational improvement, no functional impact
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.