3dyuval / 3dyuval/nvim

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

未关闭
#19 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Fennel
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

## 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。