Gregory Anders

Results 251 comments of Gregory Anders

Signs and virtual text handlers should remain separate. They can be individually overridden by users. Someone may wish to replace the virtual text handler and suddenly find that signs no...

I ran into this myself a little while ago while working on a Fennel REPL plugin. Vim modified the behavior of `'modified'` to respect `buftype=prompt` in https://github.com/vim/vim/commit/4551c0a9fcdbdef52836d4852686d54b5e47fdaf, solely for the...

`vim.diagnostic.show_line_diagnostics` and `vim.diagnostic.show_position_diagnostics` are removed in favor of `vim.diagnostic.open_float`: https://github.com/neovim/neovim/pull/16057 `goto_next` and `goto_prev` now take a `"float"` key in their options table rather than `"enable_popup"` and `"popup_opts"`. Differences in API...

https://github.com/neovim/neovim/pull/16328: The `show_header` option of `vim.diagnostic.open_float` has been renamed to simply `header` and has different semantics (you can now specify a custom header string and highlights). A value of `false`...

https://github.com/neovim/neovim/pull/16098 removes the `LspDiagnosticsChanged` and `DiagnosticsChanged` user autocommands. Instead, use `DiagnosticChanged` (note the singular `Diagnostic`!) which is now a first-class autocommand. **Before:** ```vim autocmd User DiagnosticsChanged do_something ``` **After:** ```vim...

https://github.com/neovim/neovim/pull/16557: `vim.lsp.util.close_preview_autocmd()` has been removed

https://github.com/neovim/neovim/pull/16745: API functions that accept a number argument (e.g. `nvim_win_is_valid`, `nvim_buf_clear_namespace`) no longer implicitly convert `nil` or non-number values to `0`. The fact that it did this before was a...

https://github.com/neovim/neovim/pull/17040 changes the order that the `:filetype plugin indent on` command is run relative to the user's `init.vim` or `init.lua` file (or just "init file", for short). See that PR...

https://github.com/neovim/neovim/pull/17129 invalidates points 1 and 2 in the comment above. You can now once again put `did_load_filetypes` and `do_filetype_lua` in your init file. Filetype detection can also once again be...

Let’s go with `ignore` rather than `filter`, which is symmetric with the terminology used by e.g. `git`, `fd`, `rg`, etc. Let’s also make it accept a string or table of...