dotfiles
navigator.lua
dotfiles | navigator.lua | |
---|---|---|
15 | 37 | |
49 | 1,208 | |
- | - | |
9.1 | 7.9 | |
9 days ago | 2 months ago | |
Nix | 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
-
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.
navigator.lua
-
Using navigator.lua
I've been wondering what is codelens feature that astro has bindings for and found navigator.lua.
-
Does anyone have tailwindcss lsp working properly?
I use navgiator.lua to manage my lsp servers. You can find my lsp file here. I have the tailwindcss lsp server loaded, but I don't see any auto-completion. I even tried to manually load it with lspconfig like: lua require("lspconfig").tailwindcss.setup({}) and it still doesn't work. I then watched this video to see if I'm doing anything wrong, and it looks like I'm not. Can someone show their config with a working tailwindcss lsp server?
-
Help with C++, Cmake, lua config?
likely https://github.com/ray-x/navigator.lua which can help set up lsp for you
-
Multi-cursor in place renaming symbol with preview
navigator.lua used to override vim.ui.input with guihua.lua input window to provide a GUI prompet for renaming. Inspired by inc-rename plugin smjonas/inc-rename.nvim, now, user can preview rename in the current buffer will be displayed in runtime with navigator.lua.
-
Is there a plugin like navigator.lua without the full LSP package?
I really want to try the LSP refernces window in navigator.lua but I don't want it to "take over" my lsp setup. Is there an alternative plugin?
-
Let the IDE wars, uh, continue!
Depending on what you mean, either https://github.com/ray-x/navigator.lua or lsp (nvim/coc/ycm)
-
Is there a plugin similar to Visual Studio's object browser/class view?
https://github.com/ray-x/navigator.lua also provides treesitter/Lsp outline.
-
Looking for treesitter-based (but not LSP-based) plugins with commands like "hover documentation"
[ray-x/navigator.lua](https://github.com/ray-x/navigator.lua) requires LSP for lots of things, including go-to-definition (ABICT from [looking at the code](https://github.com/ray-x/navigator.lua/blob/4c5d0e67d0ca05dbbf6cdcc89b0546a5872bdbca/lua/navigator/definition.lua#L150-L162)). Even the docs seem to say that an LSP server is required.
-
What is the most impressive usage of Treesitter have you ever seen?
navigator.lua: use treesitter to analysis symbol scope/context, Also a treesitter based folding (a modified version of official ts folding) foldts it provides a vs-code style of folding. Document treesitter symbol outline etc.
- What are some of your favorite eye candy plugins?
What are some alternatives?
docker-mbsync - A Docker container which runs the mbsync tool automatically to synchronize your email
tagbar - Vim plugin that displays tags in a window, ordered by scope
asdf-direnv - direnv plugin for the asdf version manager
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
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
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
eclectica - ☀️ Cool and eclectic version manager for any language
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
nixpkgs - Nix Packages collection & NixOS
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
dotfiles - Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer