3dyuval / 3dyuval/nvim

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

Offen
#19 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Fennel
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.