I am running neovim on arch. I always thought syntax highlighting is enabled by default, but it doesnt work now. Here’s my init.lua
vim.o.clipboard = "unnamedplus"
vim.o.number = true
vim.o.tabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
vim.cmd('filetype plugin on')
vim.cmd('syntax on')
I noticed that there wasnt a variable $VIMRUNTIME
, so I created it manually with value "/usr/share/nvim/runtime"
New contributor
Hakob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.