To set a color scheme in Neovim using Lua add the following line to the init.lua file

vim.cmd [[colorscheme onedark]]Code language: Lua (lua)

In the example above, I use Onedark as the color scheme, but you can use whatever you like.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.