Comments (7)
I've also noticed the panic
problem and created #113 to hopefully fix it 🙂
EDIT: #113 is merged 🙂 Let me know if it fixed the problems for you
from efm-langserver.
@lucax88x I believe you can upgrade the version you have locally with
go get -u github.com/mattn/efm-langserver
from efm-langserver.
hm, this seems to have introduced a new issue:
[ ERROR ] 2021-04-09T10:35:42+0200 ] ...e/tools/nvim/head/share/nvim/runtime/lua/vim/lsp/rpc.lua:457 ] "rpc" "efm-langserver" "stderr" "panic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x55f2ca]\n\ngoroutine 19 [running]:\n"
[ ERROR ] 2021-04-09T10:35:42+0200 ] ...e/tools/nvim/head/share/nvim/runtime/lua/vim/lsp/rpc.lua:457 ] "rpc" "efm-langserver" "stderr" "time.(*Timer).Stop(...)\n\ttime/sleep.go:78\ngithub.com/mattn/efm-langserver/langserver.(*langHandler).handleShutdown(0xc0001ee160, 0x5efcd0, 0xc000196000, 0xc0001e2120, 0xc0001800a0, 0x58ff60, 0xc00018d1e0, 0xc0001f7d60, 0x5455d4)\n\tgithub.com/mattn/efm-langserver/langserver/handle_shutdown.go:10 +0x2a\ngithub.com/mattn/efm-langserver/langserver.(*langHandler).handle(0xc0001ee160, 0x5efcd0, 0xc000196000, 0xc0001e2120, 0xc0001800a0, 0x0, 0x0, 0x0, 0x0)\n\tgithub.com/mattn/efm-langserver/langserver/handler.go:559 +0x19c\ngithub.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc00018c770, 0x5efcd0, 0xc000196000, 0xc0001e2120, 0xc0001800a0)\n\tgithub.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x72\ngithub.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0xc0001e2120, 0x5efcd0, 0xc000196000)\n\tgithub.com/sourcegraph/[email protected]/jsonrpc2.go:522 +0x57e\ncreated by github.com/sourcegraph/jsonrpc2.NewConn\n\tgithub.com/sourcegraph/[email protected]/jsonrpc2.go:334 +0x1d5\n"
from efm-langserver.
Ah, so I'm not the only one, I'm having this error and eslint suddenly stop working, is this the cause?
from efm-langserver.
Probably.
@mattn can you reopen this issue or do I need to create a new one?
from efm-langserver.
Do @mattn need to create a new release in order to download a new version and test it?
from efm-langserver.
On my other PC the go get -u
command did not upgrade the binary and the problem was not solved. What helped in this case was:
go get github.com/mattn/efm-langserver@master
from efm-langserver.
Related Issues (20)
- Filetypes empty with "nim" files and formatting doesn't work
- Unexpected newline at the end of file when formatting it HOT 8
- Latest release 0.0.45 does not have binary assets HOT 1
- There's no way to actually use the default value of `InitializationOptions` (inferred from the config file) since the zero value is false (that is, you must manually specify all the specs of the `InitializeOptions` in the lsp client) HOT 1
- [Question] How to inject combination of variables in flag? HOT 2
- Language with .(dot) in the name for neovim lsp HOT 2
- skip lint request if rootMarker not found HOT 1
- feature request - add way to filter by filename is in root path
- use intermediate / temporary file HOT 5
- Don't create a force creating an `~/.config/efm-langserver` folder HOT 2
- `json` config isn't working HOT 2
- How to configure codeactions? HOT 5
- Cannot work in termux (workaround is to build `efm` with `GOOS=android`)
- Prettier in efm-langserver seems to be ignoring my tsx files HOT 3
- New --line-ranges optin for black HOT 1
- PHP issue
- feature: support %-G HOT 2
- Need more clear errors instead of "format for LanguageID not supported" HOT 1
- Will not work properly if the path contains brackets
- When "lint-on-save", also lint when document is first opened 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 efm-langserver.