Comments (7)
Thank you. @alcolmenar
It seems that was my mistake.
As far as I know, neovim has a policy of complying with the LSP specifications, but TextEdit is implemented based on the behavior of VSCode.
from neovim.
The changes should be applied as given by the language server. You shouldn’t reorder them
from neovim.
If possible, I'd like to take this issue on if the team decides that it should be fixed.
from neovim.
If possible, I'd like to take this issue on if the team decides that it should be fixed.
Sounds like a bug so yes, a PR with a fix and a test case would be great
from neovim.
Hi there, I'm the author of an LS for elixir, and I'm actually wondering why you're sorting the edits at all, since the spec declares that the order of the edits can be important. Sorting the text edits seems incorrect to me, since language servers are putting them in the order they send them for a reason.
from neovim.
@mfussenegger Can you please explain the thinking behind reordering the list of changes the language servers send you?
from neovim.
📝 This change causes the line positions in the formatting results by efm-langserver to be swapped.
It needs to research where is a bug...
from neovim.
Related Issues (20)
- Issue with treesitter + neovim + markdown. HOT 1
- Updating nvim to latest version breaks theme and fonts. HOT 2
- vim.system zombie process HOT 1
- Undo leads to markdown highlight failure. HOT 1
- Crash when adding extmark in decor provider
- Update the Danish spellfile HOT 1
- Perl syntax highlighting very slow in 0.10
- Make the command run in `vim.ui.open` configurable
- Support Neovim plugins natively with Wasm HOT 1
- Cannot Use Help, constant `treesitter/highlighter.win` error messages HOT 11
- [spam]
- Windows: E303 swap error paths starting with `\\?\`
- Add support for Nerd Fonts (doublewidth icons) HOT 4
- can not change cursor color in st(suckless simple terminal) HOT 1
- Detect FAT filesystem explicitly in `time_differs`
- Nvim lsp code action send doesn't respect encoding HOT 2
- Have terminal buffer lines not split with new lines HOT 1
- In ssh session, neovim doesn't set osc52 provider even though all conditions are true HOT 4
- Document the 0.10 behavior regarding termguicolors HOT 4
- Unexpected active the treesitter parser HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim.