Wrong highlighting
Hi! As you asked me I'm writing this here. Terminal: urxvt Vim version: 8.1.26 (just updated) Colorscheme: Gruvbox Dark Example code: `/**
- Test method
-
- Important info is highlighted
- ! Deprecated method, do not use
- ? Should this method be exposed through API?
- TODO: refractor this method to conform to API
- @param param The parameter for this method */
#include <stdio.h>
int main(int argc, char *argv[]){ if(argc != 2){ printf("Blahblahblah..."); } return 0; } ` Screenshot: Here
Yeah, it's not working for my vimrc or any of the shell scripts I've checked so far either. None of the comments have changed colors, but some random commands did.
Might as well give you my plug settings so you can recreate all of the variables. The colorscheme is set to darcula.
call plug#begin('~/.vim/plugged')
Plug 'christoomey/vim-tmux-navigator'
Plug 'christoomey/vim-tmux-runner'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'rking/ag.vim'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-rails'
Plug 'tpope/vim-commentary'
Plug 'thoughtbot/vim-rspec'
Plug 'tpope/vim-dispatch'
Plug 'scrooloose/nerdtree'
Plug 'Matt-Deacalion/vim-systemd-syntax'
Plug 'ervandew/supertab'
Plug 'trusktr/seti.vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'roman/golden-ratio'
Plug 'romainl/flattened'
Plug 'morhetz/gruvbox'
Plug 'scrooloose/nerdcommenter'
Plug 'tpope/vim-unimpaired'
Plug 'sonph/onehalf', {'rtp': 'vim/'}
Plug 'blueshirts/darcula'
Plug 'fenetikm/falcon'
function! Installjshint(info)
if a:info.status == 'installed' || a:info.force
"!npm install -g jshint
endif
endfunction
Plug 'vim-syntastic/syntastic', { 'do': function('Installjshint') }
Plug 'terryma/vim-expand-region'
function! BuildYCM(info)
if a:info.status == 'installed' || a:info.status == 'updated' || a:info.force
!./install.py --all --system-libclang
endif
endfunction
Plug 'Valloric/YouCompleteMe', {'do': function('BuildYCM')}
Plug 'WolfgangMehner/bash-support'
Plug 'easymotion/vim-easymotion'
Plug 'nanotech/jellybeans.vim'
Plug 'jbgutierrez/vim-better-comments'
call plug#end()
I've just uploaded a small evolution to improve compatibility with colorschemes other than solarized.
This is how it looks now with your colorschemes:
gruvbox

darcula

You can always change highlight groups, for example, :hi! def link ErrorBetterComments Error (see :help :hi)
Thanks for the feedback!
It's still not exactly working. I'm getting an error on line 80 when running PlugUpdate. Also setting
runtime! archlinux.vim
Triggers the highlight.
I found that this plugin create issues with PHP syntax highlighing and with removing now is working everything.