dotfiles
lsp-docker
dotfiles | lsp-docker | |
---|---|---|
15 | 7 | |
49 | 235 | |
- | 0.0% | |
9.1 | 7.6 | |
9 days ago | 14 days ago | |
Nix | Emacs Lisp | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
What OS do you self-host on?
NixOS. If you still need Docker you can define and manage that via Nix too. I love it, both for this and managing development environments. Happy to answer any questions.
-
What would you consider to be a must for a modern 2022 dev stack?
With Nix we have a shell.nix in the root of our repo describing all of the project's system dependencies. It looks something like this. You can pin nixpkgs with Flakes (think lockfiles) or by hardcoding a specific revision. We do the latter because I didn't want to complicate the Nix install for everyone by requiring they enable experimetnal features.
-
What Plugins do you use to manage LSP ?
Nix, for example updating from rls to rust-analyzer.
-
Switching from pyenv, rbenv, goenv and nvm to asdf – yujinyuz
I agree that the documentation story could be better. I also think it's a great shame that the language isn't statically-typed, so to understand how to use something I have to inspect its source code.
I've found it to be quite flexible though. For example, here's a commit in which I apply a patch to a tool to solve a problem that the derivation hadn't taken into account (and absent a home-manager solution): https://github.com/samhh/dotfiles/commit/867dd3b4d4b3942a0aa...
- Xmobar vs Polybar
-
Good tech blog recommendations?
You may like to look at my newsboat config. It's biased towards FP and Linux.
-
Which WM do you use, and why?
Sure thing, I manage it in my dotfiles repo here.
-
Latest xmonad on NixOS
I wonder if you'd have better luck if you built your xmonad as a proper Haskell app and didn't use the built-in --recompile stuff. It's not Nix, but see here an example of how I'm doing that.
-
What values do you like in your git global config?
Here's my config: https://github.com/samhh/dotfiles/blob/master/home/.config/git/config
-
Quick & dirty project-wide fuzzy search in vim
This is possible for quickfix, see my dotfiles commit here.
lsp-docker
-
What don't dired buffers have a (buffer-file-name)?
I believe this has cost me a ton of time but I did learn a lot along the way. lsp-docker highest level function is lsp-docker-start. It calls lsp-workspace-root which calls buffer-file-name which, if starting from a dired buffer, returns nil so lsp-workspace-root returns nil and the LSP server is not started.
-
Emacs and Rails
I'm trying to figure that out right now. There is lsp-docker which is designed (I'm still half guessing) to have a separate container hold the language server. What I want is a pre-existing container to hold the server. There is partial code in that repo to do that but it appears not fully baked.
-
Emacs 29.1 is going to be released in 2023 spring with built-in LSP support (Eglot)
If you're on WSL, you may want to take a look at something like lsp-docker which bypass all quirk of Tramp and works directly with your files in WSL. I've never been able to make Tramp work reliably (too much hanging with or without lsp-mode) from Windows -> WSL so bypassing it provides a much better experience.
-
Switching from pyenv, rbenv, goenv and nvm to asdf – yujinyuz
This is a reasonable point, and something that is being worked on. I definitely think Docker can provide LSP servers as necessary, we're just not quite there. This is something that I'm interested in working on, though I'm not the only one: https://github.com/emacs-lsp/lsp-docker
- lsp-docker: Scripts and configurations to leverage lsp-mode in docker environment
-
Building an Intelligent Emacs with LSP
Yeah, I'm a NixOS user, and nix helps a lot with managing LSP servers on my system at the point that this is not a issue for me, but I agree a solution runing then in a docker or something would fit nice as well, we already have this conecpt: https://github.com/emacs-lsp/lsp-docker/
-
Using lsp-docker over TRAMP?
[0] https://github.com/emacs-lsp/lsp-docker#docker-over-tramp-tbd
What are some alternatives?
docker-mbsync - A Docker container which runs the mbsync tool automatically to synchronize your email
lsp-metals - lsp-mode :heart: metals
asdf-direnv - direnv plugin for the asdf version manager
eglot - A client for Language Server Protocol servers
ImapSync - Imapsync is an IMAP transfers tool. The purpose of imapsync is to migrate IMAP accounts or to backup IMAP accounts. IMAP is one of the three current standard protocols to access mailboxes, the two others are POP3 and HTTP with webmails, webmails are often tied to an IMAP server. Upstream website is
helm-lsp - lsp-mode :heart: helm
eclectica - ☀️ Cool and eclectic version manager for any language
wakib-emacs - Emacs Starter Kit based on Wakib keybindings
nixpkgs - Nix Packages collection & NixOS
dotfiles - Configuration files for XMonad, Emacs, NixOS, Taffybar and more.