From 408009f8a4886efa3fa8919d2a8f64da41c3c754 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Tue, 17 Jun 2025 17:40:16 -0400 Subject: modules/neovim: sync --- modules/neovim/notes.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 modules/neovim/notes.md (limited to 'modules/neovim/notes.md') diff --git a/modules/neovim/notes.md b/modules/neovim/notes.md new file mode 100644 index 0000000..6157f3a --- /dev/null +++ b/modules/neovim/notes.md @@ -0,0 +1,28 @@ +usage +===== + +- `van` `vin` lsp incremental selection now native via lsp (textDocument/selectionRange) +- `vim.lpeg` looks cool +- `:help diagnostic-signs` +- vim.ui_attach callbacks for ui-messages msg_show + +config +====== + +- new `pummaxwidth` +- `complete` was updated a bit +- `nvim_echo` +- `vim.diagnostic.setqflist` (and setloclist) + - check out `vim.lsp.listOpts` `on_list` option. (or just the loclist opt) +- `CommandLeavePre` +- `ui-messages` `msg_show` `append` param +- `vim.lsp.ClientConfig` + +to disable hover highlights: +```lua +vim.api.nvim_create_autocmd('ColorScheme', { + callback = function() + vim.api.nvim_set_hl(0, 'LspReferenceTarget', {}) + end, +}) +``` -- cgit v1.2.3