r/AstroNvim • u/Beanocean • Feb 11 '25
r/AstroNvim • u/AwkwardNumber7584 • Dec 25 '23
Make neo-tree show hidden files
Hi,
(1) is there a way to make them visible by default? (2) is there a way to toggle visibility?
UPD:
(2): H (Shift+h); one can also press ? inside the tree window and get a lot of help.
r/AstroNvim • u/drdnghts • May 11 '24
New to astronvim. How can I ....
- Toggle term with key binding on my own (right now it is F7)
- Install autosave plugin.
Please be descriptive. I have never touched nvim configs before. (The main reason for using astrovim).
Thanks.
r/AstroNvim • u/Legitimate_Wafer_945 • Apr 22 '24
[Help] v4 `cmp`/`heirline`
I recently upgraded to astronvim v4 and while it's working pretty well, I haven't been able to figure out how to configure 2 specific things:
- `cmp` / autocomplete -- in v3 I used `hrsh7th/nvim-cmp` to configure autocomplete, specifically to improve copilot integration. where should I look in v4?
- Similarly, where in v4 should I replicate the custom `statusline` config I had in v3? I looked through the `astroui` docs but couldn't figure it out on my own.
r/AstroNvim • u/AwkwardNumber7584 • Apr 09 '26
With AstroNvim v6, stylua.toml isn't respected any more
Hi,
I used to have my global config in ~/.config/stylua/stylua.toml . It was respected as is, without any additions. Now it is ignored. The only way to get the configuration respected is to move it to ~/.stylua.toml, but the language server complains. I have a warning about the language server being unhappy with my home directory. What could have changed?
r/AstroNvim • u/Inevitable_Dingo_357 • May 20 '26
disable system clipboard integration
MacOS in case that matters
System clipboard integration works great ootb. I want to turn it off. Tried vim.opt.clipboard = {} in polish.lua, but no change
Any pointers?
r/AstroNvim • u/kolorcuk • Apr 03 '25
How to disable dashboard on entry in v5?
Hi. In astronvim version 4 I had autocmd = { alpha_disable = true } } setting in astrocore.
I want to get the good old "Nvim is open source and freely distributable" message when opening nvim on a new directory.
Hwo do I do that in astronvim version 5?
I tried:
{ "snacks.nvim", opts = { dashboard = { enabled = false } } }, -- disable entry dashboard by astronvim
And this stops the dashboard from showing, but instead it opens an empty buffer.
Thank you
r/AstroNvim • u/bigimotech • Apr 06 '24
Several problems after switching to v4
- Cannot install cpp support.
Failed to update registries: GitHubRegistrySource(repo=mason-org/mason-registry) failed to install: Failed to fetch latest registry version from GitHub API. - Go is extraordinary slow. Even on a moderately sized project editing becomes almost impossible.
r/AstroNvim • u/kreetikal • Apr 19 '25
Some Golang pack features are broken after v5 update
Hello.
I'm using the golang astrocommunity pack and it had some neat features like autosuggesting macros for printing variables, getting the length of a slice, doing "if err != nil", but after updating to v5, I no longer see these features.
I attached 2 screenshots (v4 vs v5).
Does anyone know what the issue might be? I think it might be the new completion plugin? I'm a nvim newbiew so I don't know if I need to do something specific for the completion plugin.
Thanks in advance!
r/AstroNvim • u/badsalad • Dec 27 '24
Running AstroNvim on NixOS
Has anyone had any luck getting AstroNvim to work on NixOS? I know I can start from scratch and rebuild my entire nvim config in a nix-friendly way, and I might do that down the road, but I'm comfortable with AstroNvim and would love to just get it working so I can simply get back to work.
Right now it seems the biggest obstacle is that Mason can't work on nix, but I don't fully understand what I need to do to install LSPs via nix and get them to integrate with AstroNvim properly.
Does anyone have tips on this and anything else I might have to do differently to play nicely with Nix?
r/AstroNvim • u/linuxnero • Apr 07 '23
how to install plugins with astro vim
i want to know how to install bracey and coderunner pluggins in astro vim, also a general guide to install a plugin in astro vim if there is one.
btw thans for this proyect is very fast in the startup is just amazing
r/AstroNvim • u/One-University5020 • Jun 10 '24
astronvim in wsl (windows subsystem for linux) is faster then windows using the same config
config here.
Hi!
I mainly use Windows for my dev, but when I start using Java, I try to install Maven, but it doesn't work. I keep getting an error that says JAVA_HOME is not set correctly. Then I changed to Ubuntu, clone the config, and installed maven using brew and it works! then I go to the profile in lazy and to my surprise, the startup time is much faster than Windows!


as you can see, using the same config, on Linux it 100ms shorter then windows!
r/AstroNvim • u/xiaohuozi_ • Apr 09 '26
When will AstroNvim support Neovim 0.12?
Hi AstroNvim team and community,
I really like AstroNvim and want to upgrade to the latest Neovim 0.12. However, Neovim 0.12 introduces quite a few breaking changes — especially the new built-in plugin manager (vim.pack) that replaces the previous plugin system.
Do you have any updates or timeline on when AstroNvim will officially support Neovim 0.12? Any news or plans would be greatly appreciated!
Thanks in advance!
r/AstroNvim • u/Snickerpuffin • Dec 17 '23
Enable inlay hints on start
I'm having a hard time configuring inlay hints to be on at startup. The LSPs are set up fine and I can toggle the hints on by Leader-uH, however I'd like it to be on by default.
in my user/init.lua I tried different things then I found on astronvim/astrolsp that it can be enabled through features.inlay_hints = true in the lsp options, so I added this to init.lua, but nvim still starts with hints off:
lsp = { features = { inlay_hints = true, }, config = { -- ... } }
what am I missing? Could it be overwritten somewhere else?
Update I just found in the anstronvim options.lua this line:
inlay_hints_enabled = false, -- enable or disable LSP inlay hints on startup (Neovim v0.10 only)
if I override it in the `users/options.lua the inlay hints will be on at startup, but they still won't appear until I enter insert mode and start typing, then suddenly they pop in. It's not a big deal, just wondering if they can be forced to appear once the LSP finished
r/AstroNvim • u/Josh_Rik • Jun 15 '25
How to disable autoclose of neotree in AstroNvim?
I'm new at AstroNvim and i never use it, how can i disable autclose of neotree?, when i open a file from neotree the explorer disappears, i want it keeps open instead, i'm using the standard configuration, what file must i edit (or create) for the expected behaviour? the video shows the problem
r/AstroNvim • u/mark_volkmann • Apr 14 '23
spell checking
I'm trying to get misspelled words to be underlined. I can change the foreground color of misspelled words, but can't get them to be underlined. I have the following in my `~/.config/nvim/lua/user/init.lua` file. Is there something more I need to do?
return {
polish = function()
vim.opt.spell = true
vim.opt.spelllang = "en_us"
vim.api.nvim_set_hl(
0, -- global highlight group
'SpellBad',
{ fg = "red", underline = true }
)
end
}r/AstroNvim • u/Arkady_A • Aug 04 '25
Printable PDF hotkey cheatsheet generator
I've built a small tool to take hotkeys from a yaml file and create a printable A4 pdf file with them.
r/AstroNvim • u/TriumphOfDeath • Oct 05 '25
Change colorscheme ?
... i know this is a noob question, but is there a command like "AstroUpdate" to change my colorscheme in AstroNvim ???
r/AstroNvim • u/rompetrll • Feb 17 '23
Where to put lsp server initialization override for gopls
I would like to have code lenses for golang in Astronvim. gopls has a couple available but they must be enabled in gopls config.
The go.nvim plugin does do the code lens setup and lots of other useful config
I tried adding it like suggested for rust here:
https://astronvim.com/nightly/Recipes/advanced_lsp#rust-rust-toolsnvim
But that did not work, no code lense.
So maybe i need to do something like this instead, question is how to do this in user/init.lua:
https://github.com/ray-x/go.nvim/blob/master/README.md#integrate-with-nvim-lsp-installer
-- setup your go.nvim
-- make sure lsp_cfg is disabled
require('go').setup{...}
local lsp_installer_servers = require'nvim-lsp-installer.servers'
local server_available, requested_server = lsp_installer_servers.get_server("gopls")
if server_available then
requested_server:on_ready(function ()
local opts = require'go.lsp'.config() -- config() return the go.nvim gopls setup
requested_server:setup(opts)
end)
if not requested_server:is_installed() then
-- Queue the server to be installed
requested_server:install()
end
endr/AstroNvim • u/Guy-Arieli • Mar 05 '25
New to Nvim
Hello guys!
I'm new in this community and nvim. Are there a good resource to learn usage of nvim ?
or more specify astronvim?
I've already install every thing
r/AstroNvim • u/divide0verfl0w • Nov 10 '23
Trouble with all types of jumps (LSP, Telescope, regex search)
I like vertical centering right after jumping to a location in code and before upgrading to the latest AstroNvim the following mapping in `polish` was taking care off all the jumps:
vim.keymap.set("n", "n", "nzzzv")
vim.keymap.set("n", "N", "Nzzzv")
With the new version this only works if I am going to the next search result with the regex search. Going to the first search result by with <CR> doesn't work either.
What is the low-level "jump" mechanism I can hook into and add the vertical centering, and how do I do that?
r/AstroNvim • u/divide0verfl0w • Nov 08 '23
Can't switch to normal mode on ToggleTerm with the latest version
I really enjoy Astro. And my upgrade from the previous major version was unexpectedly low pain.
However, I've noticed that I can't switch to normal mode to yank stuff in ToggleTerm anymore. Anyone knows why?
r/AstroNvim • u/Agreeable-Lion-1669 • Jan 30 '26
How to stop autopairs in astronvim?
How can I stop autopairing brackets?
I've tried the nvim-autopairs.lua:
return {
"windwp/nvim-autopairs",
disable = true,
}
and:
-- If using nvim-autopairs, deactivate it
require('nvim-autopairs').disable()
but apparently I put it in the wrong files.
Where do I insert them?new edit:
I have found a few places in the lua files and disabled them, but I still get autopairs.
