3dyuval / 3dyuval/nvim

Refactor: Move lazyvim-config.lua content to lazy.lua or options.lua

Đang mở
#19 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.