diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-08-28 23:43:10 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-12-30 01:44:24 -0500 |
| commit | 20e77c5d886af54d1f7b6844cffc11129f579ad9 (patch) | |
| tree | e7098a90f9333fa52ae98b0bdd9d0cc82830131f /runtime/ftplugin/python.vim | |
| parent | 03377b95523324a2a1657435f12c13a493ee5360 (diff) | |
| download | rneovim-20e77c5d886af54d1f7b6844cffc11129f579ad9.tar.gz rneovim-20e77c5d886af54d1f7b6844cffc11129f579ad9.tar.bz2 rneovim-20e77c5d886af54d1f7b6844cffc11129f579ad9.zip | |
build: ship "_core/*" as bytecode (built-into Nvim binary)
Problem:
We want to encourage implementing core features in Lua instead of C, but
it's clumsy because:
- Core Lua code (built into `nvim` so it is available even if VIMRUNTIME
is missing/invalid) requires manually updating CMakeLists.txt, or
stuffing it into `_editor.lua`.
- Core Lua modules are not organized similar to C modules, `_editor.lua`
is getting too big.
Solution:
- Introduce `_core/` where core Lua code can live. All Lua modules added
there will automatically be included as bytecode in the `nvim` binary.
- Move these core modules into `_core/*`:
```
_defaults.lua
_editor.lua
_options.lua
_system.lua
shared.lua
```
TODO:
- Move `_extui/ => _core/ui2/`
Diffstat (limited to 'runtime/ftplugin/python.vim')
0 files changed, 0 insertions, 0 deletions