dotfiles
lsp-zero.nvim
Our great sponsors
dotfiles | lsp-zero.nvim | |
---|---|---|
5 | 130 | |
8 | 3,502 | |
- | - | |
7.7 | 9.3 | |
about 1 month ago | 9 days ago | |
Shell | Lua | |
- | MIT License |
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
-
Working on Multiple Web Projects with Docker Compose and Traefik
You can set this up with even less customization. Here's my snippet for doing so [0]. In this way, the default rule for all containers that are part of compose projects gets assigned a subdomain (service.compose-stack.lvh.me).
However, even with my tweaks, the overall solution is still limited. Because it's not on "localhost", the browser considers it an "insecure context" unless you also set up local HTTPS.
[0] https://github.com/CGamesPlay/dotfiles/blob/13659d19ca899cea...
-
VSCodium – Libre Open Source Software Binaries of VS Code
I’ve started using Remote OSS [0] with some custom scripts to install and run the remote code host. Works great on remote servers and even with devcontainers on remote hosts. You can use a script like the one here to handle automatically installing and setting up the tunnel [1]. I’m working on a PR that adds a way to automatically run custom scripts to set up the tunnels as well [1].
[0] https://open-vsx.org/extension/xaberus/remote-oss
[1] https://github.com/CGamesPlay/dotfiles/blob/master/files/.lo...
[2] https://github.com/xaberus/vscode-remote-oss/pull/9
-
Antonmedv/walk: Terminal file manager
I built a "Control-P" feature for fish that would also be a good trigger for this tool. Basically, you activate the shortcut to run the program, then it will change the directory based on the selection, but restore your original command line after. So you can be halfway through a command before realizing you are in the wrong place. Also, can cd with one fewer keystroke. My version is at [0], but obviously modifiable for other tools like this one.
[0] https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
-
LazyVim
FWIW, I still use regular vim with ale [0] and it does everything I want. It formats files with Black and isort, shows ruff and pyright errors, supports jumping to definitions, and has variable information available on hover. I have collected my config over the past several years, but I pretty rarely encounter errors with it.
[0]: https://github.com/dense-analysis/ale [1] https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
-
Improving Shell Workflows with Fzf
I think the first example should have been done with direnv rather than having a manual step, but I supposed to each their own. The other examples are all pretty neat.
I recently set up fasd, which I recommend, but I tied it together with fzf, which makes it really nice.
fasd: https://github.com/clvv/fasd
tie it with fzf: https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
lsp-zero.nvim
-
jdtls debugging "Could not resolve java executable: Index 1 out of bounds for length 1"
I'm using lsp-zero and i followed this tutorial https://github.com/VonHeikemen/lsp-zero.nvim/blob/v2.x/doc/md/guides/setup-with-nvim-jdtls.md and i have essentially just copy pasted the code from there into ~/.config/nvim/lua/plugin/jdtls.lua
- Embracing Neovim: Navigating Configuration Challenges and Seeking Guidance
-
Using nvim-lint as a null-ls alternative for linters
Personally, i think nvim-lint is the best alternative currently, specially so because it has no dependencies on external binaries. This guide assumes you already have your LSP set up with nvim-lspconfig (or an alternative like lsp-zero). You should also have an way to install the linters you are gonna need, i highly recommend Mason with mason-lspconfig.
- LazyVim
-
As someone new to neovim, should I even bother with LSP?
For those new to neovim, the documentation in lsp-zero has a tutorial that shows a configuration from scratch. It shows how to get a plugin a manager, a colorscheme, and setup lsp-zero.
-
Is there a way to configure LSP to 'just work'?
Try https://github.com/VonHeikemen/lsp-zero.nvim, a great introduction and it is pretty usable without any further config
-
How to configure vim like an IDE
For neovim, you can still use the same extensions; however there's also a built-in LSP client. The downside of using the built-in is you'll need to have more extensions installed/configured to get all the features out of the box...BUT projects do exist to help simplify that, like lsp-zero.
-
Your favourite Neovim plugins?
lap-zero.nvim - default config for nvim-lspconfig, mason.nvim, nvim-cmp.
-
How to make nvim-jdtls work with lsp-zero?
In version v2.x the keybindings you set on the "global" on_attach of lsp-zero should work without any extra config. v2.x also has a tutorial on how to work with nvim-jdtls: setup with nvim-jdtls
-
Help me to get the best python Neovim environment
Creator of lsp-zero suggested a complete solution to use ray-x/lsp_signature in this issue: https://github.com/VonHeikemen/lsp-zero.nvim/issues/69.
What are some alternatives?
fzf-tab - Replace zsh's default completion selection menu with fzf!
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
fzf - :cherry_blossom: A command-line fuzzy finder
nvim-lspconfig - Quickstart configs for Nvim LSP
jql - Easy JSON Query Processor with a Lispy syntax in Go
lua-language-server - A language server that offers Lua language support - programmed in Lua
fzf-checkout.vim - Manage branches and tags with fzf
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
setup - My config, system settings, utilities, etc.
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
.vim - :v: My Vim config
nvim-cmp - A completion plugin for neovim coded in Lua.