Skip to main content

How to write Lua Script in Neovim init.vim

Published 1 min readMarkdown

lua in init.vim

To include lua script in neovim's init.vim, enclose it in lua << EOF & EOF

For example;

lua << EOF
    vim.opt.termguicolors = true

    vim.opt.colorcolumn = "80"
EOF

About the author

  • I'm an engineering senior at National Institute of Technology, Srinagar, India. I'm a developer, fitness aficionado, productivity enthusiast and a fellow nerd.

No comments yet. Be the first to comment.