Reputation: 21
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"
Upvotes: 2
Views: 3008
Reputation: 579
/usr/share/nvim/runtime
contains your vim-related files. :!ls $VIMRUNTIME
should return a filelist that looks like this::help 06
(also available here)Upvotes: 1