Skip to content
Darryl Dias

Darryl Dias

3D Artist and Cloud Computing Specialist

  • Home
  • Linux
    • Fedora
    • Debian
    • Ubuntu
    • CentOS
    • OpenSUSE/SLE
  • Applications
    • Neovim
    • Blender
    • Maya
    • Houdini
  • MacOS
  • Windows
  • FreeBSD
  • Single Board
    • Raspberry Pi
  • PHP
    • WordPress
  • Programming
    • JavaScript
    • Deno
  • Demo Reel
  • Portfolio
  • The Awesome List
  • Store
  • About
  • Contact

Set color scheme in Neovim (Lua)

July 6, 2023March 16, 2023 by Darryl Dias

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.

Kickstart Neovim on Linux
Categories Articles, Neovim Tags neovim, tutorial, tutorials, vim
Relative line number in Neovim (Lua)
Install Spotify using Winget

Search

Advertise here
DigitalOcean Referral Badge
  • Articles
  • Blender
  • FreeBSD
  • Houdini
  • Linux
  • MacOS
  • Maya
  • Neovim
  • Programming
  • Raspberry Pi
  • RenderMan
  • Tutorials
  • Unix
  • Windows
Advertise here
© 2025 Darryl Dias • Built with GeneratePress