Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 08 22:28
    seandewar edited #15604
  • Sep 08 22:27
    seandewar synchronize #15604
  • Sep 08 22:04
    bfredl synchronize #15566
  • Sep 08 21:59
    seandewar labeled #15604
  • Sep 08 21:58
    seandewar opened #15604
  • Sep 08 21:50
    justinmk edited #15535
  • Sep 08 21:49
    justinmk edited #15535
  • Sep 08 21:27
    justinmk edited #15602
  • Sep 08 21:21
    justinmk closed #15603
  • Sep 08 21:01
    seandewar edited #15603
  • Sep 08 20:56
    seandewar labeled #15603
  • Sep 08 20:56
    seandewar opened #15603
  • Sep 08 20:37
    clason review_requested #15602
  • Sep 08 20:37
    clason review_requested #15602
  • Sep 08 20:36
    clason unlabeled #15602
  • Sep 08 20:36
    clason labeled #15602
  • Sep 08 20:36
    github-actions[bot] labeled #15602
  • Sep 08 20:36
    github-actions[bot] labeled #15602
  • Sep 08 20:36
    github-actions[bot] labeled #15602
  • Sep 08 20:36
    clason opened #15602
Justin M. Keyes
@justinmk
I am strongly anti-entropy. But I'm also strongly pro-utility. So that's why I work on an old codebase and try to make it better, instead of starting from zero. This is the "legacy paradox". I tried to explain this in my Vimconf keynote...
Ashkan Kiani
@norcalli
I hope my wrist makes it to his age
Justin M. Keyes
@justinmk
he's dead
Ashkan Kiani
@norcalli
Well yeah, but he's temporarily alive in this talk
Justin M. Keyes
@justinmk
life is short... why are we programming
Ashkan Kiani
@norcalli
I had a motorcycle accident about a year an a half ago
my major life revelation was not that I shouldn't be programming, but that I wasn't programming enough of the right stuff
I like it
Quit your job. Move to japan.
etc.
Justin M. Keyes
@justinmk
very true :)
Ashkan Kiani
@norcalli
Whenever I need a reality check, I try to remember the sound of my helmet and ribs cracking
But eventually they'll be too far of a memory and I'll need to almost die again just to maintain perspective
Justin M. Keyes
@justinmk
haha
in fact, that's much of why i moved to germany 3 years ago...
without the motorcycle part
Ashkan Kiani
@norcalli
It is technically optional
matrixbot
@matrixbot
oso on Freenode Hey, I'm cleaning up my vimrc (it's that time again) and asking the same question I always come to ask here on this occasion: What is the current recommendation for languageserver integration in neovim? Is coc the way to go? nvim-lsp?
Justin M. Keyes
@justinmk
coc is more mature. nvim-lsp was merged a few days ago. It's working pretty well though, but it needs feedback from early adopters.
matrixbot
@matrixbot
im0nde on Freenode Justin M. Keyes (Gitter): merged in the sense that it's build in now?
im0nde on Freenode Native support for LSP? That would be nice
Justin M. Keyes
@justinmk
vim.lsp is a Lua module built into Nvim 0.5. https://github.com/neovim/nvim-lsp is a plugin that leverages vim.lsp builtin Lua module.
matrixbot
@matrixbot
im0nde on Freenode I'm a bit overwhelmed by the choices: nvim-lsp, coc, vim-lsc, LanguageClient-neovim
Justin M. Keyes
@justinmk
there's only really 2 choices: coc or Nvim builtin stuff
I wouldn't bother with the others
matrixbot
@matrixbot
im0nde on Freenode ok, that's a start.
im0nde on Freenode Justin M. Keyes (Gitter): Is nvim-lsp easier to configurate than coc? I tried to setup coc once but it was a hassle and the docs where not that good (might be better now)
Justin M. Keyes
@justinmk
config for nvim-lsp is more comfortable because it's Lua-based instead of JSON. "easier" depends on whether your environment magically likes what we have so far
https://github.com/neovim/nvim-lsp has a few configs written, but if you are using a language that isn't there, someone needs to contribute it. (see the readme)
matrixbot
@matrixbot
im0nde on Freenode Justin M. Keyes (Gitter): Ok, I think I'll give it a try. Do I still need a seperate syntax checker with it? I'm currently running ALE
im0nde on Freenode not sure if nvim-lsp "replaces" that
Justin M. Keyes
@justinmk
diagnostics are shown inline
no idea what ALE does, i assume it has bazillion features
matrixbot
@matrixbot
im0nde on Freenode Ale: "Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support"
im0nde on Freenode Guess that's to be replaced then. No need for two language servers
matrixbot
@matrixbot
im0nde on Freenode Damn, nvim-lsp requires neovim v0.5, archlinux has v0.4.x only in the package repos
Justin M. Keyes
@justinmk
i thought archlinux had a HEAD Nvim package though
matrixbot
@matrixbot
im0nde on Freenode Justin M. Keyes (Gitter): Hm.. I might be able to to install a newer package but I'm a bit concerned about other systems I have to work on (mostly ubuntu)
Justin M. Keyes
@justinmk
the appimage from https://github.com/neovim/neovim/releases works in ubuntu,redhat,debian,archlinux,gentoo,...
Björn Linse
@bfredl
Ideally a plugin like ALE would hook into the vim.lsp module on Nvim 0.5
Dominik Lohmann
@dominiklohmann
image.png
:call lsp#text_document_hover()<CR> followed by :call lsp#text_document_definition()<CR> leaves a floating window stuck on screen for me.
Other than that this is working surprisingly well for me considering how early of a state this is in.
Björn Linse
@bfredl
The problem with a specific plugin (that is supposed to only do linting, only completion etc) implementing a LSP client is that it will easily grow in scope to a full LSP client, since it already pays the cost of server connection.
while with Nvim 0.5, it could reuse the "global" server instance, and focus only the requests it wants to.
Justin M. Keyes
@justinmk
pretty sure ALE already jumped that shark awhile ago--it does completion IIRC
Björn Linse
@bfredl
yeah but I mean for future plugins "like ALE"
those we already have have already scope creeped beyond return :]