Javier Lopez
e6652821bd
refactor(checkhealth)!: rename to vim.health, move logic to Lua #18720
...
- Complete function:
There was lots of unnecessary C code for the complete function, therefore
moving it to Lua and use all the plumbing we have in place to retrieve the
results.
- Moving the module:
It's important we keep nvim lua modules name spaced, avoids conflict with
plugins, luarocks, etc.
2022-05-31 11:10:18 -07:00
bfredl
8a39032fdd
Merge pull request #18554 from kevinhwang91/perf-timerstart
...
perf(_editor): no need to stop inside vim.defer_fn
2022-05-17 18:59:48 +02:00
ii14
e501e4ed4b
feat(lua): add traceback to vim.deprecate #18575
2022-05-15 18:07:36 -07:00
kevinhwang91
a33caf9b45
perf(_editor): no need to stop inside vim.defer_fn
...
uv_run:
1. remove timer handle from heap
2. will start again if repeat is not 0
2022-05-13 14:16:47 +08:00
Famiu Haque
2bbd588e73
feat(lua): vim.cmd() with kwargs acts like nvim_cmd() #18523
2022-05-12 06:34:38 -07:00
Christian Clason
aefdc6783c
chore: format runtime with stylua
2022-05-09 16:31:55 +02:00
ii14
70e2c5d10d
feat(lsp): add logging level "OFF" ( #18379 )
2022-05-03 08:49:23 -06:00
dundargoc
73741e9486
feat(lua): vim.deprecate() #18320
...
This is primarily intended to act as documentation for the developer so
they know exactly when and what to remove. This will help prevent the
situation of deprecated code lingering for far too long as developers
don't have to worry if a function is safe to remove.
2022-05-03 06:42:41 -07:00
Eden Zhang
813ecdac79
fix(paste): ignore mappings in Cmdline mode ( #18114 )
2022-04-17 08:11:53 +08:00
zeertzjq
e263afc0e9
fix(paste): escape control characters in Cmdline mode
2022-03-15 18:15:18 +08:00
zeertzjq
a6eafc77ce
fix(paste): deal with trailing new line in chunk
2022-03-15 18:15:18 +08:00
zeertzjq
fcc6f66cf2
fix(paste): avoid edges cases caused by empty chunk
2022-03-15 18:15:18 +08:00
zeertzjq
21ba2d81a8
refactor(paste): do not print dots in cmdline mode
2022-03-15 18:15:18 +08:00
zeertzjq
bfb7754442
fix(paste): deal with eol and eof in Visual mode
2022-03-15 18:15:18 +08:00
zeertzjq
2601e0873f
fix(paste): don't move cursor past the end of pasted text in Normal mode
2022-03-15 18:15:18 +08:00
zeertzjq
9b1e1fbc9f
fix(paste): use getcmdtype() to determine whether in cmdline mode
2022-03-15 18:15:18 +08:00
Charlie Groves
1dbf8675c7
fix(remote): respect silent in error reporting
2022-03-11 11:16:46 -05:00
Charlie Groves
29c3632285
fix(remote): report on missing wait commands, typecheck lua results
...
Clean up lint errors, too
2022-03-11 11:16:46 -05:00
Charlie Groves
039e94f491
test(remote): add tests for --remote
...
This also fixes a fair number of issues found in running the tests
2022-03-11 11:16:46 -05:00
Charlie Groves
5862176764
feat(remote): add basic --remote support
...
This is starting from @geekodour's work at
https://github.com/neovim/neovim/pull/8326
2022-03-11 11:16:46 -05:00
bfredl
5ed60804fe
feat(lua): handle lazy submodules in :lua vim.
wildmenu completion
2022-03-09 15:25:06 +01:00
bfredl
f39a12d629
refactor(lua): make vim submodule lazy loading declarative
...
This will allow us to also use the same logic for lua threads and
processes, later.
2022-03-07 09:59:22 +01:00
zeertzjq
80e6f81862
docs(lua): reference runtime/lua/vim/_editor.lua
2022-03-06 22:32:22 +08:00
bfredl
186a559818
refactor(lua): move only runtime lua file in src/ to runtime/lua
...
reorganize so that initialization is done in lua
2022-03-04 19:07:42 +01:00