March 16, 2023neovim

Set color scheme in Neovim (Lua)

Listen to this article
AI voice: Sadaltager • Ready to play
0:00
--:--

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

vim.cmd [[colorscheme onedark]]

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