Skip to content

PascalCase matches one word #27

@kawarimidoll

Description

@kawarimidoll

The help says Currently, this augend does NOT recognize identifiers that consist of only one word., but PascalCase matches to the word starts with capital letter like 'Word' and 'WORD'.

This is a minimum setting to reproduce ↓

lua << EOF
local augend = require("dial.augend")
require("dial.config").augends:register_group{
  default = {
    augend.case.new{
      types = {"camelCase", "PascalCase"},
    },
  },
}
EOF

In this GIF, dial.nvim thinks that 'EOF' is PascalCase ↓

画面収録 2022-06-18 22 03 08

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions