Micro.blog

miklb
miklb

figures I try to start getting familiar with VIM but can’t even get syntax highlighting to work. Error saying a file is missing but can’t figure out where that is supposed to come from. specifically vim/syntax/syntax.vim

eli
eli

@miklb What version of VIM and are you seeing the error across all languages or a specific language, e.g. error is thrown when opening JS files, but not PHP ones.

miklb
miklb
@eli VIM – Vi IMproved 8.1 macOS version Included patches: 1-278 error is with any file
eli
eli

@miklb in your .vimrc have you enabled syntax on ? Elsewise, VIM may not be detecting syntax automatically. Initial vimconfig is a special kind of witchery, though, so I'm not certain how helpful I'm actually being 😬 I've been all over neovim lately.

miklb
miklb
@eli yes, that’s where the error comes from. The line in `.vimrc` that has `syntax on` somewhere the syntax highlighting files are missing but I don’t know how to install/re-install.
eli
eli

@miklb Not certain if you are running brew, but if so, this is my go to way of installing plain ol' vim on macOS:

brew install macvim --with-override-system-vim

miklb
miklb
@eli clean install of vim with homebrew and removing zplugin did the trick. I’m still trying up my power user status so experimenting with a few different new tools. Thanks for the help.
eli
eli

@miklb any time! Glad you were able to get up and running! Here is one of my fav. vim resources: vimgifs.com

In reply to
jd
jd

@eli @miklb vimcasts.org is also terrific.