Code Monkey home page Code Monkey logo

astronvim's People

Contributors

aryevang avatar astronvimbot avatar datamonsterr avatar hacksore avatar hunger avatar jackyhevey avatar jamsmendez avatar jay-babu avatar julianschuler avatar kabinspace avatar kunzaatko avatar logan271 avatar luxus avatar maxbrunet avatar mehalter avatar osamuaoki avatar owittek avatar pre-commit-ci[bot] avatar rayjameson avatar ryan4yin avatar shans10 avatar sitiom avatar subjective avatar thieung avatar tilley avatar vossmalte avatar wroyca avatar yehorb avatar ypli0629 avatar zbroniszewski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

astronvim's Issues

Terminal toggles not working

None of the terminal toggles, i.e. lazygit, python, node, htop are working getting the following error:

Error executing lua [string ":lua"]:1: attempt to call field '_HTOP_TOGGLE' (a nil value)

Can I disable the tab bar somehow?

I hate tabs in editors with a vengeance, so can I disable that somehow?

The relevant plugin seems to be bufferline, but I can not find a flag for that in the settings.lua.

lua/user/settings.lua plugins not loading

Hello!

Thanks for this awesome setup, it's amazing how pretty you've made everything! I'm struggling with adding new plugins via the user/settings.lua file. I can't seem to make packer sync my additional plugins, if I add them to lua/core/defaults.lua everything works and installs.

P.S Fresh install here

AstroVim: This extension doesn't exist or is not installed: fzf

Hello there!

I'm currently using AstroVim on Ubuntu 20.04 running in WSL2. When I launch AstroVim everything is fine (i.e., it starts without problems). However, when I try to 'Find File' (Space + F + F), for example, I get the error given in the title since some Telescope plugin files are apparently not recognizing 'fzf' extension. This does not break Neovim itself; I can keep using it. But there are some troubles trying to navigate through directories.

To be more specific, this is the exact error:
packer.nvim: Error running config for telescope.nvim: ...er/opt/telescope.nvim/lua/telescope/_extensions/init.lua:10: This extension doesn't exist or is not installed: fzf

This same issue/bug has been reported in LunarVim (which is like AstroVim's cousin): [Bug] This extension doesn't exist or is not installed: fzf #1804

Apparently, the best way to fix this problem is given by this reply (best rated one).

Quoting, it says:

Again, this has nothing to do with having the fzf binary installed or not, it's about https://github.com/nvim-telescope/telescope-fzf-native.nvim
Try this please:
:! make -C $LUNARVIM_RUNTIME_DIR/site/pack/packer/start/telescope-fzf-native.nvim
You can also do make clean just to be sure
:! cd $LUNARVIM_RUNTIME_DIR/site/pack/packer/start/telescope-fzf-native.nvim && make clean && make

Is there a similar (or different) solution for this issue/bug for AstroVim? Since this issue has appeared a lot in LunarVim and is also present in AstroVim a 'patch' or a solution would be great to improve this Neovim config.

Cheers!

Fresh install sync fail

Hi, I tried installing astrovim but end up with
image
There are multiple "not found" error before this but I didn't screenshot them.
I tried running PackerSync again
image

I follow the instructions, did I miss anything?

module 'cmp' not found

After installation, I just try to type some words in.

处理 InsertEnter 自动命令 "*" 时发生错误: E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/lo ad.lua:165: Vim(echomsg):E114: 缺少引号: "Error in packer_compiled: ...m/site/pa ck/packer/start/packer.nvim/lua/packer/load.lua:110: Vim(lua):E5108: Error execu ting lua ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: module 'cmp' not found: stack traceback: [C]: in function 'cmd' ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in func tion <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161> [string ":lua"]:1: in main chunk

os: macOS Big Sur
nvim: 0.6.1

Overwrite default plugin configs

Is there a way to overwrite default plugin settings properly?
I wanted to change a color scheme and found out that lualine colors are hardcoded. So to change those settings I need to either edit /configs/lualine.lua or add my custom config file in user folder and then change the line on L88 in /core/plugins.lua.
What am I missing?

Not an editor command: PackerSync

Long time emacs user (not about the editor wars) but I have used a fair bit of vim over the years. Caught wind of this from reddit and thought it would be a great first step to my ZorinOS rice.

After creating the nvim folder in .config, cloning it, and running nvim I essentially have a vanilla instance running. The only present clues that I have is not having packer installed (clued by PackerSync not working,) but I have had no luck setting it up. Any ideas?

Changing colorscheme in user settings not working

Changing the colorscheme value in lua/user/settings.lua does not work. Adding plugins within that file does work, so I think the file is being picked up, just the colorscheme command isn't.

Changing the colorscheme manually works, so the colorscheme is installed. It will also work if I update the value in lua/core/defaults.lua

lazygit not work

i have lazygit installed on my mac, but when i run + g + g, got below error

E5108: Error executing lua [string ":lua"]:1: attempt to call global '_LAZYGIT_TOGGLE' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk

Error executing lua

I am getting this error when I try to run :NvimTreeToggle or when I use Space+e .
But this error show only first time.

E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim
/lua/packer/load.lua:83: Vim(lua):E5108: Error executing lua ...vim/site/pack/packer/opt/nvim-tree.lua/lua/nvim-tree.lua:128: attempt to index field 'Tree' (a nil value)
stack traceback:
        [C]: in function 'cmd'
        ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
        [string ":lua"]:1: in main chunk

Screenshot from 2022-02-07 18-43-19

Can't get it to work on Windows

I have AstroVim on my arch install and love using it, was wondering if I could use on my windows machine as well.
If so, could you please walk me through it ?

Thanks!!

(Windows) E492: Not an editor command: PackerSync

Trying to install AstroVim on Windows with NeoVim 0.6.1 and it appears packer is not installed. I saw a previous issue where the problem was an old NeoVim version in the Debian repos, but this is using the most recent stable version. I'm pretty sure I understand the install process because it worked for me on Debian.

loop or previous error loading module luasnip.config

Starting nvim and I get the following error:

Error detected while processing /home/ahanna/.local/share/nvim/site/pack/packer/start/LuaSnip/plugin/luasnip.vim:                                                      
line   44:
E5108: Error executing lua [string ":lua"]:1: loop or previous error loading module 'luasnip.config'
stack traceback:
[C]: in function 'require' [string ":lua"]:1: in main chunk

Unable to add keybinds to nvim-tree with user/settings.lua

I have added this to the user/settings.lua
`
overrides = {

nvim_tree = {
  hijack_cursor = true,
  hijack_directories = {
    enable = true,
    auto_open = true,
  },
  view = {
    mappings = {
      custom_only = false,
      list = {
        { key = { "l", "<CR>", "o" }, cb = tree_cb "edit" },
        { key = "h", cb = tree_cb "close_node" },
        { key = "v", cb = tree_cb "vsplit" },
      },
    },
  },
},

},
`

and this added at the top
local tree_cb = require'nvim-tree.config'.nvim_tree_callback

the keybinds don't get used though, even after a :PackerCompile
it gets used if I do the same in lua/configs/nvim-tree.lua

Some default keymaps not working

Just cloned and everything is working fine except some of the default keymaps, specifically gd, gD, gi etc.

running :nmap doesn't seem to show any of those mapping.

n  "           * <Cmd>lua require("which-key").show("\"", {mode = "n", auto = true})<CR>
n  %             <Plug>(MatchitNormalForward)
n  '           * <Cmd>lua require("which-key").show("'", {mode = "n", auto = true})<CR>
n  @Þ          * <Nop>
n  @           * <Cmd>lua require("which-key").show("@", {mode = "n", auto = true})<CR>
n  H           * <Cmd>bprevious<CR>
n  K           * <Cmd>Lspsaga hover_doc<CR>
n  L           * <Cmd>bnext<CR>
n  Q           * <Nop>
n  Y           * y$
n  [Þ          * <Nop>
n  [           * <Cmd>lua require("which-key").show("[", {mode = "n", auto = true})<CR>
n  [%            <Plug>(MatchitNormalMultiBackward)
n  ]Þ          * <Nop>
n  ]           * <Cmd>lua require("which-key").show("]", {mode = "n", auto = true})<CR>
n  ]%            <Plug>(MatchitNormalMultiForward)
n  `           * <Cmd>lua require("which-key").show("`", {mode = "n", auto = true})<CR>
n  cÞ          * <Nop>
n  c           * <Cmd>lua require("which-key").show("c", {mode = "n", auto = true})<CR>
n  ca          * <Cmd>Lspsaga code_action<CR>
n  gÞ          * <Nop>
n  g           * <Cmd>lua require("which-key").show("g", {mode = "n", auto = true})<CR>
n  gcA         * <Cmd>lua require("Comment.api").locked.insert_linewise_eol()<CR>
n  gcO         * <Cmd>lua require("Comment.api").locked.insert_linewise_above()<CR>
n  gco         * <Cmd>lua require("Comment.api").locked.insert_linewise_below()<CR>
n  gb          * <Cmd>lua require("Comment.api").call("toggle_blockwise_op")<CR>g@
n  gc          * <Cmd>lua require("Comment.api").call("toggle_linewise_op")<CR>g@
n  gbc         * v:count == 0 ? '<Cmd>lua require("Comment.api").call("toggle_current_blockwise_op")<CR>g@$' : '<Cmd>lua require("Comment.api").locked.toggle_blockwise_count()<CR>'
n  gcc         * v:count == 0 ? '<Cmd>lua require("Comment.api").call("toggle_current_linewise_op")<CR>g@$' : '<Cmd>lua require("Comment.api").locked.toggle_linewise_count()<CR>'
n  g%            <Plug>(MatchitNormalBackward)
n  gk          * <Cmd>Lspsaga diagnostic_jump_prev<CR>
n  gj          * <Cmd>Lspsaga diagnostic_jump_next<CR>
n  gl          * <Cmd>Lspsaga show_line_diagnostics<CR>
n  rÞ          * <Nop>
n  r           * <Cmd>lua require("which-key").show("r", {mode = "n", auto = true})<CR>
n  rn          * <Cmd>Lspsaga rename<CR>
n  zz          * <Cmd>lua require('neoscroll').zz(250)<CR>
n  zb          * <Cmd>lua require('neoscroll').zb(250)<CR>
n  zt          * <Cmd>lua require('neoscroll').zt(250)<CR>
n  zÞ          * <Nop>
n  z           * <Cmd>lua require("which-key").show("z", {mode = "n", auto = true})<CR>

Error with Telescope after fresh installation

I have just done a fresh installation of AstroVim and Telescope is not working. The error is as follows:-

Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:83: Vim:E492: Not an editor command: Telescope find_files
Please check your config for correctness

packer.nvim: Error running config for telescope.nvim: ...er/opt/telescope.nvim/lua/telescope/_extensions/init.lua:10: This extension doesn't exist or is not installed: fzf
...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:148: module 'telescope._extensions.fzf' not found:
^Ino field package.preload['telescope._extensions.fzf']No cache entry
^Ino file '/home/chaz/.local/share/lua/5.1/telescope/_extensions/fzf.lua'
^Ino file './telescope/_extensions/fzf.lua'
^Ino file '/usr/share/luajit-2.0.4/telescope/_extensions/fzf.lua'
^Ino file '/usr/local/share/lua/5.1/telescope/_extensions/fzf.lua'
^Ino file '/usr/local/share/lua/5.1/telescope/_extensions/fzf/init.lua'
^Ino file '/usr/share/lua/5.1/telescope/_extensions/fzf.lua'
^Ino file '/usr/share/lua/5.1/telescope/_extensions/fzf/init.lua'
^Ino file '/home/chaz/.luarocks/share/lua/5.1/telescope/_extensions/fzf.lua'
^Ino file '/home/chaz/.luarocks/share/lua/5.1/telescope/_extensions/fzf/init.lua'
^Ino file '/home/chaz/.local/share/lua/5.1/telescope/_extensions/fzf/init.lua'
^Ino file '/home/chaz/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/telescope/_extensions/fzf.lua'
^Ino file '/home/chaz/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/telescope/_extensions/fzf/init.lua'
^Ino file '/home/chaz/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/telescope/_extensions/fzf.lua'
^Ino file '/home/chaz/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/telescope/_extensions/fzf/init.lua'
^Ino file './telescope/_extensions/fzf.so'
^Ino file '/usr/local/lib/lua/5.1/telescope/_extensions/fzf.so'
^Ino file '/usr/lib64/lua/5.1/telescope/_extensions/fzf.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
^Ino file '/home/chaz/.luarocks/lib/lua/5.1/telescope/_extensions/fzf.so'
^Ino file '/home/chaz/.local/lib/lua/5.1/telescope/_extensions/fzf.so'
^Ino file '/home/chaz/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/telescope/_extensions/fzf.so'
^Ino file './telescope.so'
^Ino file '/usr/local/lib/lua/5.1/telescope.so'
^Ino file '/usr/lib64/lua/5.1/telescope.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
^Ino file '/home/chaz/.luarocks/lib/lua/5.1/telescope.so'
^Ino file '/home/chaz/.local/lib/lua/5.1/telescope.so'
^Ino file '/home/chaz/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/telescope.so'

Neo-Tree Highlights

Based on the current highlighting for Neo-Tree (https://github.com/nvim-neo-tree/neo-tree.nvim), I think these would be good highlight groups to be added to onedark/others.lua:

  -- Neo-Tree
  NeoTreeDirectoryIcon = { fg = C.blue },
  NeoTreeFileNameOpened = { fg = C.green },
  NeoTreeGitAdded = { fg = C.green },
  NeoTreeGitConflict = { fg = C.red },
  NeoTreeGitModified = { fg = C.orange },
  NeoTreeGitUntracked = { fg = C.yellow },
  NeoTreeNormal = { bg = C.blue_2 },
  NeoTreeNormalNC = { bg = C.blue_2 },
  NeoTreeRootName = { fg = C.bg },
  NeoTreeSymbolicLinkTarget = { fg = C.cyan },

ii jj and ij exit Insert mode

When typing ii, jj or ij in Insert mode, Insert mode is exited.
Does not happen when typing slowly, so I presume it's a timer somewhere

Verified on two installs , 1 clean Manjaro with new Nvim 0.6 and Astrovim plus only requirements

Found that disabling utils.compiled() in init.lua stops this from happening

Not sure where to go from here in order to 'fix' this
Probably related to one of the plugins, not a 'astrovim' keybinding
In fact: :verbose map i , j , imap i , j etc shows no mappings active.

Which font(s)?

I see that there is a requirement for nerdfonts to be installed, but when I went to the website it had multiple fonts available. Do I need to install all fonts provided on the website or is there a particular font?

ccls configuration

Hello,
thanks a lot for this very cool project. Congrats.

I'm trying to setup ccls and configure it without much success I must say. Usually I was doing something like in my lsp.lua config file:

local lspconfig = require('lspconfig')

lspconfig.ccls.setup {
    root_dir = lspconfig.util.root_pattern("CMakeLists.txt", "build", "compile_commands.json", ".ccls", "compile_flags.txt");
    init_options = {
      compilationDatabaseDirectory = "build";
      index = {
        threads = 0;
      };
  }
}

Now I don't exactly know where to put these.

Thanks in advance.

Edit: forgot a "}" in my original post.

[FR] Integrate Vista for ctags usage

Love the config. Love the integrated explorer, the ease to use, etc.... One thing I was surprised by was the lack of a ctags plugin. Would be great to see something like Vista integrated.

Errors running AstroUpdate

When running a :AstroUpdate I am seeing the following error

update failed! table: 0x0105758518

image

I have some setting changes in my ~/.config/nvim dir but I am not sure why they would prevent an update. Is there something special that needs to be done when making changes to the configuration so that it does not conflict with updates?

Wrong indentation for next line when editing Go files

When I press o to get to insert mode in next line the indentation is not correct.

image

I pretty much have the default config, I think the only modification is the colorscheme and disabling bufferline

local opts = { noremap = true, silent = true }
local map = vim.api.nvim_set_keymap
local set = vim.opt

local config = {

  -- Set colorscheme
  colorscheme = "monokai_pro",

  -- Add plugins
  plugins = {
    { 
      "tanvirtin/monokai.nvim",
      config = function() 
        require('monokai').setup { 
          palette = require('monokai').ristretto 
        }
      end
    },
    -- { "andweeb/presence.nvim" },
    -- {
    -- "ray-x/lsp_signature.nvim",
    -- event = "BufRead",
    -- config = function()
    -- require("lsp_signature").setup()
    -- end,
    -- },
  },

  -- On/off virtual diagnostics text
  virtual_text = true,

  -- Disable default plugins
  enabled = {
    bufferline = false,
    nvim_tree = true,
    lualine = true,
    lspsaga = true,
    gitsigns = true,
    colorizer = true,
    toggle_term = true,
    comment = true,
    symbols_outline = true,
    indent_blankline = true,
    dashboard = true,
    which_key = true,
    neoscroll = true,
    ts_rainbow = true,
    ts_autotag = true,
  },
}

-- Set options
set.relativenumber = true


-- Set key bindings
map("n", "<C-s>", ":w!<CR>", opts)

-- Set autocommands
vim.cmd [[
augroup packer_conf
autocmd!
autocmd bufwritepost plugins.lua source <afile> | PackerSync
augroup end
]]

return config

checkhealt on clean installation go with WhichKey warnings

Qucik way to reproduce with docker:

docker run --rm -it anatolelucet/neovim:0.6.1-ubuntu /bin/bash
apt update && apt install -y git
git clone https://github.com/kabinspace/AstroVim ~/.config/nvim
nvim +PackerSync
:checkhealt

The warnings:

which_key: health#which_key#check
========================================================================
## WhichKey: checking conflicting keymaps
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"<C-W>"**
  - INFO: rhs: `<Cmd>w!<CR>`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **" d"**
  - INFO: rhs: `<Cmd>Dashboard<CR>`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **" s"**
  - INFO: rhs: `<Cmd>SymbolsOutline<CR>`
  - WARNING: buffer-local keymap overriding global for mode **"n"**, buf: 0, lhs: **" "**
  - INFO: old rhs: `<Nop>`
  - INFO: new rhs: `<cmd>lua require("which-key").show(" ", {mode = "n", auto = true})<cr>`
  - WARNING: buffer-local keymap overriding global for mode **"n"**, buf: 0, lhs: **"r"**
  - INFO: old rhs: `<cmd>lua require"packer.display".prompt_revert()<cr>`
  - INFO: new rhs: `<cmd>lua require("which-key").show("r", {mode = "n", auto = true})<cr>`
  - WARNING: buffer-local keymap overriding global for mode **"x"**, buf: 0, lhs: **" "**
  - INFO: old rhs: `<Nop>`
  - INFO: new rhs: `<cmd>lua require("which-key").show(" ", {mode = "v", auto = true})<cr>`
  - WARNING: buffer-local keymap overriding global for mode **"n"**, buf: 0, lhs: **"<leader>e"**
  - INFO: old rhs: `<cmd>NvimTreeToggle<CR>`
  - INFO: new rhs: `<cmd>NvimTreeToggle<cr>`
  - WARNING: buffer-local keymap overriding global for mode **"n"**, buf: 0, lhs: **"<leader>/"**
  - INFO: old rhs: `<cmd>lua require('Comment.api').toggle_current_linewise()<CR>`
  - INFO: new rhs: `<cmd>lua require('Comment.api').toggle_current_linewise()<cr>`
  - WARNING: buffer-local keymap overriding global for mode **"n"**, buf: 0, lhs: **"<leader>gc"**
  - INFO: old rhs: `<cmd>Telescope git_commits<CR>`
  - INFO: new rhs: `<cmd>Telescope git_commits<cr>`

Lightspeed Highlights

Based on the highlighting guide for the Lightspeed plugin (https://github.com/ggandor/lightspeed.nvim/blob/main/COLORSCHEMES.md) I think this is a pretty good plugin highlight group set up (to go in onedark/others.lua

  -- Lightspeed
  LightspeedLabel = { fg = C.red_3, style = "underline" },
  LightspeedLabelOverlapped = { fg = C.blue, style = "underline" },
  LightspeedLabelDistant = { fg = C.red_1, style = "underline" },
  LightspeedLabelDistantOverlapped = { fg = C.blue_1, style = "underline" },
  LightspeedShortcut = { fg = C.black, bg = C.red_3, style = "bold,underline" },
  LightspeedShortcutOverlapped = { fg = C.black, bg = C.blue, style = "bold,underline" },
  LightspeedMaskedChar = { fg = C.green_1 },
  LightspeedGreyWash = { fg = C.grey_2, bg = C.none },
  LightspeedUnlabeledMatch = { fg = C.white, style = "bold" },
  LightspeedOneCharMatch = { fg = C.green, bg = C.red_3, style = "bold" },
  LightspeedUniqueChar = { fg = C.white, style = "bold" },
  LightspeedPendingOpArea = { fg = C.yellow },

Add beginner tutorial

Thank you very much for making such a neovim beginner friendly bundle!
Although I used vim before for smaller tasks, I never dove into neovim, all its plugins and the possibility to use it as an IDE (mostly because it was too much of a pain).
Because of that I missed a little introduction how to use the key mappings and what exactly they trigger.

E.g. it just took me 10min to find out that the file tree is the neovim-tree plugin and it took another 10min to find out that :NvimTreeToggle is the command to show it and Space + e is the shortcut in AstroVim.

Although I am probably a particular scatty user, it might be useful to add a little introduction tutorial which goes over each command in the mappings.txt once.
Just to ease the beginning for neovim newbies a little more.

Enable current_line_blame

Hello,
Trying to enable current_line_blame. This is what I added to my settnigs.lua:

  overrides = {
    treesitter = {
      ensure_installed = { "lua" },
    },
    gitsigns = {
      current_line_blame = true,
      current_line_blame_opts = {
        delay = 100,
      },
    },
  },

...but it does not work. What should I do in addition? Thank you in advance.

I'd really appretiate help to redefine bindings

I've read mapping and also user guide to find out basic usage of Awesome AstroVim.

Although As a totally newbie in lua and not a fully connoisseur of neovim bindings, I have no idea on how to change default AstroVim bindings to mine.

A fast tutorial on how to do that would be great.

Thanks for awesome work!

Change theme

Is there a way to change the theme or the possibility to add new ones ?

Errors on fresh install

I'm sorry if this is a repeat of the other issues. I just don't understand what I can do about these. Sorry if these are irrelevant.

Here are my error logs:

Error logs

Error detected while processing InsertEnter Autocommands for "*":
E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.l
ua:110: Vim(lua):E5108: Error executing lua ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: module 'cmp' not found:
stack traceback:
        [C]: in function 'cmd'
        ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing InsertEnter Autocommands for "*":
E5108: Error executing lua ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: module 'cmp' not found:
        no field package.preload['cmp']No cache entry
        no file './cmp.lua'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/luajit-2.1.0-beta3/cmp.lua'
        no file '/usr/local/share/lua/5.1/cmp.lua'
        no file '/usr/local/share/lua/5.1/cmp/init.lua'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp.lua'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp/init.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp/init.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp.lua'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp/init.lua'
        no file './cmp.so'
        no file '/usr/local/lib/lua/5.1/cmp.so'
        no file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/lib/lua/5.1/cmp.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/cmp.so'
stack traceback:
        [C]: in function 'require'
        ...pack/packer/start/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:48: in function '_on_insert_enter'
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue

packer.nvim: Error running config for nvim-autopairs: ...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:148: ...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:148: module 'cmp' not found:
^Ino field package.preload['cmp']No cache entry
^Ino file './cmp.lua'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/luajit-2.1.0-beta3/cmp.lua'
^Ino file '/usr/local/share/lua/5.1/cmp.lua'
^Ino file '/usr/local/share/lua/5.1/cmp/init.lua'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp.lua'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/share/lua/5.1/cmp/init.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cmp/init.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp.lua'
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cmp/init.lua'
^Ino file './cmp.so'
^Ino file '/usr/local/lib/lua/5.1/cmp.so'
^Ino file '/opt/homebrew/Cellar/luajit-openresty/2.1-20211210/lib/lua/5.1/cmp.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
Press ENTER or type command to continue
^Ino file '/Users/sage/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/cmp.so'
Press ENTER or type command to continue

Where is <leader>w mapped?

I want to remap <leader>ws to split window, but it seems like <leader>w is already mapped to cmd>w!<CR however I can't find it anywhere in lua/core/mappings.lua

Telescope issue on fresh install

Installed nvim 0.6.1 via homebrew, then Astrovim as per the instructions, ran PackerSync and PackerCompile, but still seeing:

Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:83: Vim:E492: Not an editor command: Telescope find_files
Please check your config for correctness
Press ENTER or type command to continue

on space f f or space f o

Also installed fd via homebrew - didn't help either 🤔

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.