We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 711f277 commit 328ef85Copy full SHA for 328ef85
lua/orgmode/org/mappings.lua
@@ -698,11 +698,6 @@ function OrgMappings:meta_return(suffix)
698
end
699
700
if #text_edits > 0 then
701
- -- Fix sorting for same position edits
702
- -- See: https://github.com/neovim/neovim/commit/2ce4a4d91e4abee0aab8b98c47eea9fbd4849ba6
703
- if vim.fn.has('nvim-0.11') > 0 then
704
- text_edits = utils.reverse(text_edits)
705
- end
706
vim.lsp.util.apply_text_edits(text_edits, vim.api.nvim_get_current_buf(), constants.default_offset_encoding)
707
708
vim.fn.cursor(end_row + 1 + (add_empty_line and 1 or 0), 1) -- +1 for next line
0 commit comments