neovim/runtime/lua/vim
Mathias Fußenegger e99de3f12f
fix(lsp): send didOpen if name changes on write (#19583)
`:saveas newName` changes the name of an existing buffer.
Due to the buffer re-use it skips the lsp attach phase and immediately
sends a `didSave` notification to the server.
Servers get confused about this, because they expect a `didOpen`
notification first.

Closes https://github.com/neovim/neovim/issues/18688
2022-08-01 22:32:53 +02:00
..
filetype vim-patch:9.0.0088: pattern for detecting bitbake files is not sufficient (#19547) 2022-07-27 10:06:09 -06:00
lsp docs(lsp): use direct link to formattingOptions in format docs (#19558) 2022-07-28 19:41:30 +02:00
treesitter fix(treesitter): don't error when node argument of predicate is nil (#19355) 2022-07-14 12:18:03 +02:00
_editor.lua feat(lua): allow vim.cmd to be indexed (#19238) 2022-07-20 12:29:24 +01:00
_init_packages.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
_meta.lua refactor(lua): reformat with stylua 0.14.0 (#19264) 2022-07-07 18:27:18 +02:00
compat.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
diagnostic.lua docs: fix typos (#19024) 2022-07-31 16:46:38 +08:00
F.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
filetype.lua Use Strings instead of Tables in vim.filetype.matchregex Doc (#19604) 2022-08-01 06:45:43 -06:00
fs.lua refactor(lua): reformat with stylua 0.14.0 (#19264) 2022-07-07 18:27:18 +02:00
health.lua fix(checkhealth): skip vim.health #18816 2022-06-01 07:10:10 -07:00
highlight.lua refactor(lua): replace vim.cmd use with API calls (#19283) 2022-07-09 18:40:32 +02:00
inspect.lua refactor(lua): reformat with stylua 0.14.0 (#19264) 2022-07-07 18:27:18 +02:00
keymap.lua feat(api): add replace_keycodes to nvim_set_keymap (#19598) 2022-08-01 21:35:08 +08:00
lsp.lua fix(lsp): send didOpen if name changes on write (#19583) 2022-08-01 22:32:53 +02:00
shared.lua refactor(lua): reformat with stylua 0.14.0 (#19264) 2022-07-07 18:27:18 +02:00
treesitter.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00
ui.lua fix(vim.ui.input): accept nil or empty "opts" #19109 2022-06-28 02:53:15 -07:00
uri.lua chore: format runtime with stylua 2022-05-09 16:31:55 +02:00