neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

jsxattribute complete in wrong way #346

Closed TrietMinh799 closed 2 years ago

TrietMinh799 commented 2 years ago

My config

call plug#begin('~/.vim/plugged')

Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'}

call plug#end()

filetype plugin indent on
syntax enable

set number
set relativenumber
set expandtab
set shiftwidth=2
set shiftround
set tabstop=2
set autoindent
set smartindent
set cmdheight=2
set updatetime=300
set shortmess+=c
set signcolumn=number
set clipboard+=unnamedplus

When I types attribute of p tag like this Screenshot from 2022-01-19 21-21-06

I want classname completed like classname="|"

but the result is in the wrong way Screenshot from 2022-01-19 21-22-43

tsserver.log

chemzqm commented 2 years ago

No such feature, since you may want to input ={ instead.