neoclide / coc-pairs

Basic auto pairs extension of coc.nvim
295 stars 14 forks source link

Incorrect behaviour on JS template literals #44

Closed mulholo closed 4 years ago

mulholo commented 4 years ago

coc-pairs does not recognise JS template literals and fails to add a missing backtick (`) when one is immediately typed next to a function name without a space.

e.g. When the following is typed, no '`' is added after 'css`'

import { css } from 'styled-components';

const myMixin = css`
// should add another ` above
chemzqm commented 4 years ago

No

mulholo commented 4 years ago

No

I think you need to be very careful about giving such blunt, uninformative and rude comments on people's contributions. Above is what I consider to be a genuine bug report and I hoped that this issue would be a step towards a useful improvement for COC users.

Responses like this make me very reluctant to carry on using COC and are extremely off-putting to any potential contributors.