Creating A Beautiful Neovim Config From Scratch

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 42

  • @krismg_21
    @krismg_21 2 місяці тому +5

    This is the first video that actually gets me through the set up without everything breaking xD. I have tried many tutorials, but they were in 0.9, steps were not properly shown.
    Seeing this in realtime with all the errors coming up and being solved is as helpful as can be

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому +1

      Thanks! Glad you enjoyed it!

    • @krismg_21
      @krismg_21 2 місяці тому

      @@AverageNeovimEnjoyer oh my, i think i have talked too early. When getting to mason part, everything breaks for me, well treesitter i think, dozens of errors with the parsers arise, but TSInstall or TSUpdate always say they are up to date

    • @krismg_21
      @krismg_21 2 місяці тому

      Error executing vim.schedule lua callback: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'lua': 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' ...m/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:111: in function 'new' ...m Files/Neovim/share/nvim/runtime/lua/vim/treesitter.lua:41: in function '_create_parser' ...m Files/Neovim/share/nvim/runtime/lua/vim/treesitter.lua:108: in function 'get_parser' ...a/lazy/telescope.nvim/lua/telescope/previewers/utils.lua:141: in function 'ts_highlighter' ...a/lazy/telescope.nvim/lua/telescope/previewers/utils.lua:119: in function 'highlighter' ...scope.nvim/lua/telescope/previewers/buffer_previewer.lua:247: in function 'fn' vim/_editor.lua:351: in function

    • @krismg_21
      @krismg_21 2 місяці тому

      The following errors have been detected: ~
      - ERROR c(highlights): ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      c(highlights) is concatenated from the following files:
      | [ERROR]:"C:\Users\crist\AppData\Local
      vim-data\lazy
      vim-treesitter\queries\c\highlights.scm", failed to load: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      - ERROR c(locals): ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      c(locals) is concatenated from the following files:
      | [ERROR]:"C:\Users\crist\AppData\Local
      vim-data\lazy
      vim-treesitter\queries\c\locals.scm", failed to load: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      - ERROR c(folds): ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      c(folds) is concatenated from the following files:
      | [ERROR]:"C:\Users\crist\AppData\Local
      vim-data\lazy
      vim-treesitter\queries\c\folds.scm", failed to load: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      - ERROR c(indents): ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      c(indents) is concatenated from the following files:
      | [ERROR]:"C:\Users\crist\AppData\Local
      vim-data\lazy
      vim-treesitter\queries\c\indents.scm", failed to load: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      - ERROR c(injections): ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error
      c(injections) is concatenated from the following files:
      | [ERROR]:"C:\Users\crist\AppData\Local
      vim-data\lazy
      vim-treesitter\queries\c\injections.scm", failed to load: ...eovim/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'c': uv_dlopen: no error

    • @imranahmed9433
      @imranahmed9433 2 місяці тому

      ​@@krismg_21well, I recommend you to use WSL for neovim. Neovim works better in Linux than Windows and make sure to install the latest version of Neovim.

  • @williamcom_m
    @williamcom_m 2 місяці тому +1

    Awesome!

  • @LukasSmith827
    @LukasSmith827 3 місяці тому +1

    very nice

  • @blackdragon-et1ui
    @blackdragon-et1ui 2 місяці тому

    Such a good chill vid ! Realy liked it !
    I like the style of your terminal, what do you use ?

  • @PabloAndresRaimondo
    @PabloAndresRaimondo 2 місяці тому

    Hey nice vid, do yo have plans of making a golang setupt tutorial?

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому +1

      I'll try. I don't use much languages... I am learning Game Dev, so I made a Godot GDScript setup tutorial

  • @夕阳-n1h
    @夕阳-n1h 3 місяці тому +3

    zsh prompt?

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  3 місяці тому +2

      It is bash prompt. I am still a beginner in Linux. Here is my bash prompt, if you're interested:
      export PS1="
      \e[0;33m \e[0;32m\w  \u  : 
      \e[0;33m \e[0;32m \e[0;37m"

  • @fiow4972
    @fiow4972 2 місяці тому

    When used ensure_installed = { ....} it gives me an error for each language saying no c compiler. what should i do ?

    • @EricNantel
      @EricNantel 2 місяці тому +1

      You need to install a c compiler so that it can compile the language supports. Install gcc or clang and make or cmake perhaps as well to build.

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому +1

      @@EricNantel Yeah, install clangd! You might not need to install gcc too, if you're not on Linux. I am using Linux, so gcc somes pre-installed

  • @vktrenokh
    @vktrenokh 3 місяці тому +1

    Could you share github repo?

  • @imamuddinalmustaqim8138
    @imamuddinalmustaqim8138 2 місяці тому

    Icons name?

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому

      You mean my Neovim icons or my Linux Icon Theme? If you want my Neovim icons, follow my config. You will get them. Their name is web-dev icons or something like that. If you want the Linux icon theme, it's the Zafiro Nord Dark

    • @imamuddinalmustaqim8138
      @imamuddinalmustaqim8138 2 місяці тому

      @@AverageNeovimEnjoyer sorry i mean the Linux Icon themes. Thank you

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому

      @@imamuddinalmustaqim8138 You're welcome!

  • @blackpepper2560
    @blackpepper2560 2 місяці тому

    i want to setup it for c++(i am a begginer) should i follow this video??

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому

      Oh! I actually have a video on my channel where I setup C and C++ with Neovim with auto-completion and auto-formatting. You can see it here:
      ua-cam.com/video/w0WzxUPtKf0/v-deo.html

    • @blackpepper2560
      @blackpepper2560 2 місяці тому

      @@AverageNeovimEnjoyer ohk thanks buddy is this from scratch means just install neovim and follow video or there is something to download else before ??

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому

      @@blackpepper2560 Just install Neovim! Nothing else i required

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому

      @@blackpepper2560 Only Neovim is required!
      But I would recommend following this video . This one also configures Neovim from scratch, but has more features!
      ua-cam.com/video/C0JOaeGClDo/v-deo.html

  • @ankitsinghbais433
    @ankitsinghbais433 2 місяці тому

    please make a video on lazygit for this nvim config

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  2 місяці тому

      I'll try...! I am a beginner myself, and I never used git myself ... 😅

  • @knd-c4v
    @knd-c4v 3 місяці тому

    background music is so cool, can you share also ?

    • @AverageNeovimEnjoyer
      @AverageNeovimEnjoyer  3 місяці тому +2

      It was this youtube channel called Lofi Girl, who was live. You know, calming music stuff

  • @Software-ns9li
    @Software-ns9li 2 місяці тому

    which distro is this ?

  • @gabrielkolletalves493
    @gabrielkolletalves493 23 дні тому

    tab=6? Unbearable.