ii14
ii14
I haven't published it yet, but I was working on a library with high level lua bindings some time ago: ```lua local nv = require('nv') -- get a buffer handle...
Related issue: #19832
Profiling plugins run neovim with `--startuptime` few times and then take the average, they need to quit neovim after the log file was generated. I think just `+q` from the...
Yes, it quits too soon. "Ready for user input" might not be the best way to describe it, it's when neovim first enters the "idle state".
When you hit a key during startup, it will just be included in the profiling. This is already how it works right now, you can put `call getchar()` in init.vim...
Yup, `nvim --startuptime nvim.log +'set ut=0 | au CursorHold * q!'` works. Alternatively, we could leave `--- NVIM STARTED ---` message where it is now, and add something like maybe...
The profilers that want to include the measurement will have to use `CursorHold`, and the profilers that don't will just do what they were already doing and quit earlier, before...
I think it should be hooked up to already existing interfaces, `:file` and `nvim_buf_set_name`. `BufFilePost` event might work for that? `_typescript.applyRenameFile` looks like some non standard thing. LSP defines `workspace/willRenameFiles`...
@justinmk looks like `require("lspconfig").available_servers` is now `require("lspconfig.util").available_servers`.
If this is a problem, it could just be added back: ```diff diff --git a/lua/lspconfig.lua b/lua/lspconfig.lua index 1178202..7838f53 100644 --- a/lua/lspconfig.lua +++ b/lua/lspconfig.lua @@ -4,6 +4,11 @@ local M =...