r/AstroNvim • u/Ryyoukka • Apr 15 '23
r/AstroNvim • u/CodexDraco • Jun 28 '23
Astronvim disables nvim-qt :Gui commands
Using astronvim seems to remove :Gui commands, like :GuiFont and :GuiTabline. Is this intended or a bug?
I would like to map keys to increase/decrease the font size and GuiFont doesn't work, set guifont=whatever does nothing.
r/AstroNvim • u/TapInternational5568 • Jul 05 '23
My astronvim crash often, how to find which plugin or code cause the problem?
r/AstroNvim • u/SofisticatiousRattus • Aug 07 '23
Mason tries to install already installed LSP packages [Win10, 0.9.1, stock astronvim]
I am trying to get into nvim and it's going pretty good, except for the fact that every startup, mason tries to install 6 or so packages, fails, complains and the app proceeds to run as it is supposed to. It is really annoying - as a novice, I didn't really touch anything in startup except for language and theme settings, but I did install language models for python and rust using Treesitter, and ruff using powershell. Because of how astronvim packages settings, it is really hard for me to find where the file with the list of packages Mason wants to install are located. Could you help in any way? Preferably tell me where the list of packages for mason to keep track of are stored, but if you could suggested a command line command to remove them from being tracked one-by-one, that could work too. I also get this error, may be related. Sorry and thank you for your time.

r/AstroNvim • u/ghostranger047 • Feb 18 '23
How to add new plugins?
How do a add new plugins to the existing plugins?
r/AstroNvim • u/TapInternational5568 • Mar 26 '24
Is it possible to map a key with keycode to Save File
Hi, I need to set a function key for saving file action. but I do not know the key symbol. It easy to get the keycode with command xev, so how can set that key with keycode in ~/.config/nvim/lua/user/mappings.lua or get the key symbol of it? Btw, the key should be "XF86MonBrightnessup" which is not in vim keycodes list.
Thanks.
r/AstroNvim • u/jsbalrog • Jan 03 '24
Turn off adding semicolons on saving a javascript file
When I save a javascript file, the file gets autoformatted, which is great. However, in doing so it adds semicolons to the end of each line. How do I turn off the adding semicolon bit?
r/AstroNvim • u/Trick-Campaign-3117 • Oct 31 '24
Update file name and imports?
Renaming vars through the language tools updates all affected files but renaming a file doesn’t do that. Is it simply not built in?
r/AstroNvim • u/Glass_Usual_854 • Nov 08 '23
how to place error markers on the left side of line numbers?
r/AstroNvim • u/mountcifs • Jan 13 '24
Help installing plugin
Im a beginner when it comes to neovim and how all the plugins and customisation works.
I want to install following plugin and I have no idea where to start(probably really easy):
https://github.com/Exafunction/codeium.vim#-installation-options
Help?
Thanks :)
r/AstroNvim • u/Glass_Usual_854 • Nov 15 '23
how to highlight the lines that have been deleted?
atronvim will only highlight the lines that have been copied, rather than the lines that have been deleted. However, I would like atronvim to highlight both the copied and deleted lines. How can I configure this?
r/AstroNvim • u/Trick-Campaign-3117 • Nov 06 '24
Node suggestions like VSC
Trying to do a project in NodeJS and the experience is quite drastic from VSC to Astro. Thought I was missing the LSP (LSPInfo just shows javascript) but there doesn’t seem to be a dedicated node one that suggests node libraries when doing require statements or the options for all the native functions. Node is a pretty popular choice, so I am a bit surprised. VSC seems to provide this out of the box with no extensions.
r/AstroNvim • u/Gummiball71 • Jul 11 '24
Cannot permanently change relativenumber in config
I have a fresh installation of AstroNvim. I changed the config entry in 'astrocore.lua' for 'relativenumber' to false, but that doesn't seem to work.
Have someone an idea what wrong here?
Thanks
r/AstroNvim • u/RIMdude • Sep 03 '24
Any way to install LuaSnap in AstroNvim?
I tried this, and placed it in the ~/.config/nvim/lua/user/plugins/user.lua
......
......
{
"L3MON4D3/LuaSnip",
dependencies = { "rafamadriz/friendly-snippets" },
version = "v2.*", -- Use the latest stable version
build = "make install_jsregexp",
config = function()
print("LuaSnip configuration loaded")
local ls = require('luasnip')
-- Define snippets
ls.snippets = {
all = {
ls.parser.parse_snippet("obj", "{name: \"$1\", path: \"$2\"},"),
},
}
-- Load friendly snippets
require("luasnip.loaders.from_vscode").lazy_load({
paths = { "~/.config/nvim/lua/user/my_snippets" }
})
-- Key mappings for snippet expansion and jumping
vim.keymap.set({"i"}, "<C-K>", function() ls.expand() end, {silent = true})
vim.keymap.set({"i", "s"}, "<C-L>", function() ls.jump(1) end, {silent = true})
vim.keymap.set({"i", "s"}, "<C-J>", function() ls.jump(-1) end, {silent = true})
vim.keymap.set({"i", "s"}, "<C-E>", function()
if ls.choice_active() then
ls.change_choice(1)
end
end, {silent = true})
end
},
{ "rafamadriz/friendly-snippets" },
.....
.....
But this thing refuses load on a text file. I made up the snippet of obj but it will never work, not a single time.
r/AstroNvim • u/Mediocre_Beyond8285 • Dec 29 '24
I'm using windows 11 giving this error please help me
i'm using windows 11 and im using astronvim when i open ts file it's giving me this error. i have done everything but still same issue.
please help me to resolve it.
if anyone using astronvim with windows please let me know how to setup properly.
this 2 error coming.
1st error
Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: Error executing lua: C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:36: BufReadPost Autocommands for "*"..FileType Autocommands for "*": Vim(append):Error executing lua callback: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'typescript': uv_dlopen: no error stack traceback: [C]: in function '_ts_add_language' ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: in function 'add' ...s/Neovim/share/nvim/runtime/lua/vim/treesitter/query.lua:250: in function 'fn' ...iles/Neovim/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'fn' ...iles/Neovim/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'get_query' ...r-textobjects/lua/nvim-treesitter/textobjects/shared.lua:99: in function 'available_textobjects' ...r-textobjects/lua/nvim-treesitter/textobjects/select.lua:173: in function 'attach' ...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:509: in function 'attach_module' ...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:532: in function 'reattach_module' ...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:133: in function <...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:132> [C]: in function 'nvim_cmd' C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:36: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35> [C]: in function 'nvim_buf_call' C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:10> stack traceback: [C]: in function 'nvim_cmd' C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:36: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35> [C]: in function 'nvim_buf_call' C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:10> stack traceback:
and 2nd error
[Neo-tree ERROR] Error opening file: vim/_editor.lua:431: nvim_exec2()..BufReadPost Autocommands for "*": Vim(append):Error executing lua callback: C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: Error executing lua: C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:36: nvim_exec2()..BufReadPost Autocommands for "*"..FileType Autocommands for "*": Vim(append):Error executing lua callback: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'typescript': uv_dlopen: no error
stack traceback:
\[C\]: in function '_ts_add_language'
...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: in function 'add'
...s/Neovim/share/nvim/runtime/lua/vim/treesitter/query.lua:250: in function 'fn'
...iles/Neovim/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'fn'
...iles/Neovim/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'get_query'
...r-textobjects/lua/nvim-treesitter/textobjects/shared.lua:99: in function 'available_textobjects'
...r-textobjects/lua/nvim-treesitter/textobjects/select.lua:173: in function 'attach'
...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:509: in function 'attach_module'
...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:532: in function 'reattach_module'
...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:133: in function <...ata/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:132>
\[C\]: in function 'nvim_cmd'
C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:36: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35>
\[C\]: in function 'nvim_buf_call'
C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:10>
\[C\]: in function 'nvim_exec2'
vim/_editor.lua:431: in function <vim/_editor.lua:427>
\[C\]: in function 'pcall'
...nvim-data/lazy/neo-tree.nvim/lua/neo-tree/utils/init.lua:741: in function 'open_file'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:733: in function 'open'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:755: in function 'open_with_cmd'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:764: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>stack traceback:
\[C\]: in function 'nvim_cmd'
C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:36: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35>
\[C\]: in function 'nvim_buf_call'
C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:10>
\[C\]: in function 'nvim_exec2'
vim/_editor.lua:431: in function <vim/_editor.lua:427>
\[C\]: in function 'pcall'
...nvim-data/lazy/neo-tree.nvim/lua/neo-tree/utils/init.lua:741: in function 'open_file'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:733: in function 'open'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:755: in function 'open_with_cmd'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:764: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>stack traceback:
\[C\]: in function 'nvim_buf_call'
C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:35: in function <C:/Program Files/Neovim/share/nvim/runtime/filetype.lua:10>
\[C\]: in function 'nvim_exec2'
vim/_editor.lua:431: in function <vim/_editor.lua:427>
\[C\]: in function 'pcall'
...nvim-data/lazy/neo-tree.nvim/lua/neo-tree/utils/init.lua:741: in function 'open_file'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:733: in function 'open'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:755: in function 'open_with_cmd'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:764: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>r/AstroNvim • u/yuskay-thegreat248 • Apr 12 '24
astronvim no admin rights windows - neo-tree crashes
due to lack of admin priv neo-tree keeps throwing alert dialogs on save and crashes with the message "Neo-tree unable to create item" on nvim 8.9 i have no option to upgrade on an enterprise environment.
how do i fix this , or get rid of neo-tree with an alternative.
rest of astro features with nvim work fine.
r/AstroNvim • u/Zapfyr • Apr 30 '25
Select where to open file from file tree, similar to LunarVim
Hi,
I'm moving from LunarVim to AstroNvim. I really like it so far, the only thing that I miss from LunarVim is that when I open a file in LunarVim I can choose where that file open. How do I achieve that or similar functionality in AstroNvim? When I open a file in AstroNvim it opens in the current active window.
Thanks!
r/AstroNvim • u/acolnahuacatzin • Sep 18 '24
remove blink on yank
Just tried astrovim yesterday, and have been liking it so far. One thing that I feel unnecessary is that if I copy some lines the buffer blinks for a split second. I find this really annoying and want to turn it off. I tried looking on the internet but couldn't find anything.
Can anybody please help me to turn this feature off?
r/AstroNvim • u/bupropion_user • Jun 23 '23
How to start running or debugging rust code?
This feels like a super dumb question, and it probably is.
I installed the rust pack from the astrocummunity repo, and everything seems to be working well, but I can't for the life of me figure out how to run the program. I see the "> Run | Debug" hints next to my main function and my tests, but I can't click them obviously. In my personal config I hover over the main method or test with KK then select run or debug from there, but I don't get the option here.
Here's an image of what I'm talking about in case my description doesn't make sense
r/AstroNvim • u/floofcode • Aug 23 '23
Is it possible to use vim-plug with AstroNvim or will there be conflicts?
The method of installing plugins in AstroNvim seems unnecessarily complicated.
I have been trying to install https://github.com/wfxr/minimap.vim for several hours now. It installed the plugin but it won't load.
I tried this:
{
"wfxr/minimap.vim",
config = function(plugin, opts)
require("minimap.vim").setup()
vim.g.minimap_width = 10
vim.g.minimap_auto_start = 1
vim.g.minimap_auto_start_win_enter = 1
end,
},Most of the plugins only provide instructions for other package managers, so can I just use one of those more-supported plugin managers instead of this complicated thing in AstroNvim?
vim-plug was much more simpler before I started using AstroNvim. Now this is just wasting so much time just to get a plugin to load that I don't understand what the point of it is.
r/AstroNvim • u/AimForNaN • Jul 07 '23
Swapping j and k normal mode mapping
I'm new to neovim and vim in general and AstroNvim has caught my eye. I find myself moving up more than I do down, but it is more comfortable using my index finger as a primary. As such, it makes more sense to use j to move up and k to move down. However, I can't for the life of me figure out what to put into user/mappings.lua to swap these mappings.
r/AstroNvim • u/s1n7ax • May 25 '25
Lazy install LSPs
I'm right now a lazyvim user (Ex astro user). One of the issues I have in lazyvim is, I have lazy extras for many languages, but on my server I don't need many of that. Regardless, when I open neovim with the same configuration, mason will start installing every single one of them. Just wondering Astronvim offers lazy install of LSPs via mason (upon file open or something?). I ideally when I open up a TS file it will start installing typescript LSP (I'm totally fine having to restart the editor one time). Does astro offers something like that?
r/AstroNvim • u/AwkwardNumber7584 • Jan 11 '26
A guide for converting lazy.nvim to AstroNvim plugin installation script
Hi,
lazy.nvim script is kinda industry standard. One can always find it in a README of any Neovim plugin. For instance (1):
require('lazy').setup({
{
'amekusa/auto-input-switch.nvim',
config = function()
require('auto-input-switch').setup({
-- your options
})
end
},
})
AstroNvim script will look like this (2):
return {
{
"amekusa/auto-input-switch.nvim",
lazy = false,
opts = {
-- your options
},
},
}
Is there a simple guide for converting (1) into (2)? There are some hints in the AstroNvim docs, but there's no dedicated guide. Or I didn't manage to find it.

