Comments (7)
@hbak should be fixed now.
from nvim-ide.
Oh interesting! This is the first time ive seen newlines in the LSP response for symbols.
By any chance so you know how vscode handles this?
It will def break nvim-ide, we probably want to filter them out and replace with a space or something similar
from nvim-ide.
Yeah, it felt like a weird case. Sorry, I have no idea how vscode handles it.
Me, being impulsive, just did this:
for i, line in ipairs(self.buffer_lines) do
self.buffer_lines[i] = [line](line:gsub('\n%s*', ''))
end
(notice "vim.lsp.diagnostic")
from nvim-ide.
What language sever is this? And can you link me to that block of code if its public?
Kinda curious if thats a lsp bug, its basically spitting out the new lines in the code, huh?
from nvim-ide.
lol! I've just discovered it's code that I've taken from a Reddit comment posted by... you!
https://www.reddit.com/r/neovim/comments/og1cdv/comment/h4gzvvv/
LSP is sumneko_lua.
from nvim-ide.
lol. But how does that bit of code have to do with the outline component?
P.s. i use this now: https://github.com/ldelossa/dotfiles/blob/5f149b92de9ed1c5a6a8759069dbc20f43aa17ff/config/nvim/plugs.vim#L60 lol
from nvim-ide.
And can you link me to that block of code if its public?
But how does that bit of code have to do with the outline component?
Oh sorry, your Reddit comment I posted is the block of code that caused the multi-line LSP node with Sumneko. Was that not what you meant?
local diags = vim
.lsp
.diagnostic
.get_line_diagnostics(...)
from nvim-ide.
Related Issues (20)
- Explorer holds on to cwd when tab was created HOT 6
- Error when starting more than one terminal from terminal browser HOT 5
- Explorer: When you create a file, if cursor is over a non-expanded directory, it should create the file in the parent directory HOT 4
- More questions than problems HOT 1
- Panel size changes when terminal is created HOT 5
- Can you provide a docker image?
- Error on neovim exit HOT 7
- Option to prevent terminal browser auto open on start HOT 2
- Cannot leave terminal in VI mode HOT 1
- Error while calling lua chunk: attempt to index a boolean value in nvim-ide plugin HOT 1
- "Unknown function: rand" Error while loading nvim-ide HOT 2
- When there are other panels (dap-ui), opening a diff would messed up the layout
- `:Workspace RightPanelToggle` from a keymap doesn't work the first time, unless you do a keymap for `:Workspace LeftPanelToggle` first HOT 2
- Attempt to concatenate field 'name' (a nil value) HOT 9
- Expected lua string HOT 6
- error on focus of hidden component
- Warning at launch HOT 2
- Fail to expand file Explorer HOT 4
- `:Workspace` command does not work, panels do not load. HOT 1
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 nvim-ide.