Need resources for porting init.vim to init.lua, following the norm

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nvim-lua-guide

    Discontinued A guide to using Lua in Neovim

  • https://github.com/nanotee/nvim-lua-guide is definitely your best starter guide. it's pretty much your only option for Neovim-Lua knowledge for now. LunarVim is good, I watch the main youtuber's videos allot. However, I've always believed in making the config from scratch to ensure I don't have plugins I don't need. To that end, I would break the new plugins into a few large categories:

  • LunarVim

    🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.

  • This might be overwhelming if you're just starting out but you can follow this as a nice guide for the project structuring. https://github.com/ChristianChiarulli/LunarVim

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • dotfiles2

    2021 nvim init.lua....

  • dotfiles

    My dotfiles for non-personal stuff (by katawful)

  • This is my config written in fennel (a Lua transpiler). As you can see, I didn't convert everything because that would still require vimscript at the end of the day. If you're doing this to learn Lua it is fine, but if you're doing this to have lua based configs, I would simply wait

  • nvim-lspconfig

    Quickstart configs for Nvim LSP

  • LSP Plugins: LSP is the second big pain you need to get configured, primarily by following the instructions for https://github.com/neovim/nvim-lspconfig. This takes the longest but has the biggest impact because you will start getting diagnostics out-of-the-box, and completion with a bit of extra work

  • nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

  • TreeSitter: Finally, we have the new tree-sitter plugins which serve to compliment what LSP brings to the table. More research will be needed to determine when to use one or the other and in what situations, but like LSP, you should start at https://github.com/nvim-treesitter/nvim-treesitter to get all of that started

  • awesome-neovim

    Collections of awesome neovim plugins.

  • These and many more plugins can be found at https://github.com/rockerBOO/awesome-neovim.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • packer.nvim

    A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config

  • finally, I use https://github.com/wbthomason/packer.nvim for plugins, but this fits more into category 1, as any plugin manager works, but things like packer allow you to put these settings in a .lua file rather than a .vim file.

  • nvim-config

    following HEAD (nightly build) neovim lua config, for Linux only, clone it to `~/.config/nvim` (by ttys3)

  • yes, you have it: https://github.com/ttys3/nvim-config

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts