-
Notifications
You must be signed in to change notification settings - Fork 307
Open
Description
Does this bug happen when you install plugin without vim-polyglot?
yes.
Describe the bug:
When I open 'vim Main.java', vim says
"Main.java" [New]
Error detected while processing BufNewFile Autocommands for "*.java"..FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>11_SynSet[
25]..script /usr/share/vim/vim91/syntax/java.vim:
line 405:
E28: No such highlight group name: markdownId markdownLineStart markdownH1 markdownH2 markdownHeadingRule markdownRule markdownCode markdownCodeBlock mark
downIdDeclaration
Press ENTER or type command to continue
To Reproduce:
Device: MacBook 2020 M1
Vim version: 9.1.754
The ~/.vim/vimrc file is
set laststatus=2
set belloff=all
set expandtab
set tabstop=2
set shiftwidth=2
set nocompatible
hi Comment ctermfg=gray
call plug#begin('~/.vim/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'itchyny/lightline.vim'
call plug#end()After editing, I do ':PlugInstall' and $ vim Main.java
bratpeki and toniharju
Metadata
Metadata
Assignees
Labels
No labels