Add @detectdelim to cpp.grammar for cursorSyntaxRight?

I’d like cursorSyntaxRight to work for C code.

For example when I’m at the first paren and I run cursorSyntaxRight it goes one char forward instead of to the end of the line:

if (eg)
  f();

It works if I add @detectdelim to the grammar. Any reason this is missing? Can we add it?

No, that was just accidentally forgotten. This patch adds it.

Thanks. Any chance you could release it too?

Sure. I’ve tagged 1.1.3

Thanks. I’m trying to update and I’m noticing that find-cluster-break only has CJS output in dist/. It would be handy for me if it also had ES.

Could you add the ES? I can make a PR if that would help.

Normally you use

  output: [ { file: 'dist/index.cjs', format: 'cjs' },
            { dir: './dist', format: 'es' } ],

instead of

  output: {
    file: "dist/index.cjs",
    format: "cjs"
  }

From package.json:

  "exports": {
    "import": "./src/index.js",
    "require": "./dist/index.cjs"
  },

I’m not sure why you (or your tools) are looking in dist/ when the package file clearly points you to src/index.js.

Yes OK I can parse the package.json but all the CM packages have a dist/index.js. It’s very convenient for a newbie who’s messing around without a bundler.