Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow syntax highlighting doesn't work #1214

Open
carljohnson93 opened this issue Jul 3, 2020 · 0 comments
Open

Flow syntax highlighting doesn't work #1214

carljohnson93 opened this issue Jul 3, 2020 · 0 comments

Comments

@carljohnson93
Copy link

.vimrc:

"...
Plug 'pangloss/vim-javascript'
"...
let g:javascript_plugin_flow=1

Expected
expected
above image taken via set syntax=typescript


Actual
actual


  • VIm version - 8.1

  • OS - Ubuntu 20.04

  • Complete list of all installed plugins:

Plug 'morhetz/gruvbox'
Plug 'maxmellon/vim-jsx-pretty'
Plug 'pangloss/vim-javascript'
Plug 'preservim/nerdtree'
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter'
Plug 'dense-analysis/ale'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'easymotion/vim-easymotion'
Plug 'preservim/nerdcommenter'
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
Plug 'tpope/vim-surround'
Plug 'justinmk/vim-sneak'
Plug 'sheerun/vim-polyglot'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'majutsushi/tagbar'
Plug 'altercation/vim-colors-solarized'
Plug 'joshdick/onedark.vim'
Plug 'ervandew/supertab'
Plug 'mattn/emmet-vim'
Plug 'tpope/vim-eunuch'
Plug 'editorconfig/editorconfig-vim'
Plug 'tmhedberg/matchit'
Plug 'junegunn/goyo.vim'
Plug 'elzr/vim-json'
Plug 'junegunn/seoul256.vim'
Plug 'sjl/badwolf'
Plug 'iloginow/vim-stylus'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-unimpaired'
Plug 'nanotech/jellybeans.vim'
Plug 'w0ng/vim-hybrid'
Plug 'junegunn/vim-easy-align'
Plug 'mileszs/ack.vim'
Plug 'mhartington/oceanic-next'
Plug 'drewtempelmeyer/palenight.vim'
Plug 'ayu-theme/ayu-vim'
  • settings relative to syntax highlighting:
let g:polyglot_disabled = ['stylus', 'javascript', 'jsx']
" ...
let g:javascript_plugin_jsdoc=1
let g:javascript_plugin_flow=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant