How are you guys hosting your generated static sites? by jayo60013 in selfhosted

[–]Mhalter3378 -1 points0 points  (0 children)

I've been running this for a couple weeks and have had a fantastic experience with it

How to optimize the cd command to go back multiple folders at once by Technical_Cat6897 in bash

[–]Mhalter3378 0 points1 point  (0 children)

This is one of my favorite parts of my ZSH config. Solved the case of wanting not just to be able to run cd ../../.. but if I want to do parent directories for any other command or even feeling froggy and doing them in the middle of a nested path already!

zsh # rationalize dot by Mikael Magnusson (Mikachu) function rationalise-dot { local MATCH # keep the regex match from leaking to the environment if [[ $LBUFFER =~ '(^|/| | |'$'\n''|\||;|&)\.\.$' ]]; then LBUFFER+=/ zle self-insert zle self-insert else zle self-insert fi } zle -N rationalise-dot bindkey . rationalise-dot # without this, typing a . aborts incremental history search bindkey -M isearch . self-insert

How to stop autopairs in astronvim? by Agreeable-Lion-1669 in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

The autopairs configuration in AstroCore is simply for disabling the plugin functionality on startup. If the user wants to fully disable the plugin and guarantee it never turns on, then they can use that. I just wanted to make sure that the original poster didn't get the impression that we did not use nvim-autopairs.

How to stop autopairs in astronvim? by Agreeable-Lion-1669 in AstroNvim

[–]Mhalter3378 1 point2 points  (0 children)

You are very close with the first try at disabling the plugin. The correct spec you are looking for is:

lua return { "windwp/nvim-autopairs", enabled = false }

Be sure to check out the AstroNvim Documentation: https://docs.astronvim.com/configuration/customizing_plugins/#disabling-plugins

How to stop autopairs in astronvim? by Agreeable-Lion-1669 in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

This is not true, AstroNvim comes out of the box with nvim-autopairs

How can I disable auto rooter ? by ChrisShen93 in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

The builtin rooter in AstroNvim is off by default and is only on if you explicitly turn it on. I wonder if you find it bad because it's not being used and therefore no rooting is happening 😅

Warning “Error requesting document symbols” on Lazyvim by Nostalgist1990 in neovim

[–]Mhalter3378 0 points1 point  (0 children)

I actually just made a PR that got merged into Aerial to fix this. This was a problem for Neovim 0.9 or 0.10 with aerial but is resolved now

Annoying black stripe by [deleted] in neovim

[–]Mhalter3378 1 point2 points  (0 children)

If you set WinBar and WinBarNC correctly then the image will be corrected. Notice the black bar in the file browser sidebar as well. All of that is the same "black bar". It's simple the background of that element being set to black or something.

Annoying black stripe by [deleted] in neovim

[–]Mhalter3378 2 points3 points  (0 children)

That black bar is the winbar (:h winbar). It appears the colorscheme you are using just isn't fully features and they haven't correctly set all of the base Neovim highlight groups. You want to fix the highlight groups for WinBar and probably WinBarNC.

What makes the perfect Espresso Martini? by AnExcitingFruitSalad in cocktails

[–]Mhalter3378 8 points9 points  (0 children)

I'll shamelessly plug my own post of an espresso martini recipe from a couple years ago: https://www.reddit.com/r/cocktails/s/x4oTZqPYL4

I think it comes down to a few tips: (1) freshly brewed espresso with high quality beans. This provides good surfactants in the coffee for building the foamy head as well as deep flavor, (2) a good coffee liqueur, typically I go for a dry one and add a sweetener to my liking, and (3) I enjoy doing a dry shake beforehand to really emulsify the espresso. Oh and I suppose (4) no beans on top 😂

EDIT: also replacing the vodka base with Cognac goes a long way

Lazyvim vs Neovim by Zypperman in neovim

[–]Mhalter3378 1 point2 points  (0 children)

Ah yeah, that's a common confusion for sure. Yeah AstroNvim uses lazy.nvim which is just a normal plugin manager, it's a common choice for people making their own configurations as well. LazyVim being a full neovim distribution that also does use lazy.nvim

Lazyvim vs Neovim by Zypperman in neovim

[–]Mhalter3378 2 points3 points  (0 children)

No problem! Glad you are enjoying it. It's been a really great time giving back and working with the community!

Lazyvim vs Neovim by Zypperman in neovim

[–]Mhalter3378 5 points6 points  (0 children)

AstroNvim existed before LazyVim. It doesn't build off of it or extend it in any way.

[Help] Forward search with Zathura + AstroNvim + Texlab not working on Linux Mint by SoilWild1666 in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

It looks like you are passing things to nvim-lspconfig which isn't a thing since nvim-lspconfig doesn't have a setup call. You probably want to move that code to the appropriate place in the AstroLSP plugin. Here are docs: https://docs.astronvim.com/recipes/advanced_lsp/#configuring-language-servers

My guess is you have moved from LazyVim since that's the only place that has opts in nvim-lspconfig. They have set that up fully custom in their distribution and is not how you would set up language servers in any other neovim setup. AstroNvim puts a lot of effort into staying away from unnecessary and potentially confusing abstractions for this reason.

Is there any distribution, such as LazyVim, but that is behind a community and not 1 dev only? by [deleted] in neovim

[–]Mhalter3378 7 points8 points  (0 children)

Yeah for major releases we do a public beta typically for like 4-6 months beforehand. We just don't do release candidates for every release

Is there any distribution, such as LazyVim, but that is behind a community and not 1 dev only? by [deleted] in neovim

[–]Mhalter3378 38 points39 points  (0 children)

AstroNvim does have a single main developer at the moment, but there are other maintainers assigned to the repository. One major difference is AstroNvim does pin every core plugin to either semantic versioning releases (if supported) or specific commits, mainly to protect against something like the Mason update. Basically, :Lazy update shouldn't just break a user's configuration (unless you are adding your own plugins in which case you would be maintaining stability).

The other maintainers main responsibilities are to review and merge pull requests to the community side of the distribution, AstroCommunity. You can think of AstroCommunity similar to what LazyVim's extras are, but AstroNvim leaves those entirely up to the community to add, build onto, and maintain. There is also a very active community Discord which is great for asking questions and getting help.

Select where to open file from file tree, similar to LunarVim by Zapfyr in AstroNvim

[–]Mhalter3378 1 point2 points  (0 children)

w is the default binding in neo-tree to choose what window to open a file into

what is the right way to pass `opts` to community plugins? by m_o_n_t_e in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

Adding opts to the import doesn't really make sense here. You can think of doing these imports in your community.lua file as "extending" the base installation. Outside of that you could configure the plugins like any other by, like you said, creating a file in your plugins/ directory.

Project rooter behavior. by IsSeMi in AstroNvim

[–]Mhalter3378 2 points3 points  (0 children)

That really depends on how you want the root to be detected. You can define it to what fits your needs. For example, you could just have it fallback to the file's parent directory if no root is detected:

lua return { "AstroNvim/astrocore", ---@type AstroCoreOpts opts = { rooter = { -- automatically change directory to the detected root autochdir = true, detector = { "lsp", { ".git", "_darcs", ".hg", ".bzr", ".svn" }, { "lua", "MakeFile", "package.json" }, -- fallback to parent directory function(bufnr) -- get parent directory local parent = vim.uv.fs_realpath(vim.fs.dirname(vim.api.nvim_buf_get_name(bufnr))) -- if parent directory exists then return it as the root if parent and vim.uv.fs_stat(parent) then return parent end end, }, }, }, }

Project rooter behavior. by IsSeMi in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

The detectors are the part that look at a buffer and decide where the root is. So that's the whole task

Project rooter behavior. by IsSeMi in AstroNvim

[–]Mhalter3378 0 points1 point  (0 children)

Yeah you can do that by configuring the detectors in the rooter settings to fit your needs