Refactor: Move lazyvim-config.lua content to lazy.lua or options.lua
- Ngôn ngữ chính
- Fennel
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.