Skip to content

weird ^M at the end of line on Windows? #207

@nielpattin

Description

@nielpattin

I'm using Windows, and EOL is LF (yes, I am not a fan of CRLF)

But whatever I replace text, it comes up with ^M at the end of the line.

image

Default setup

return {
    "nvim-pack/nvim-spectre",
    dependencies = {
        "nvim-lua/plenary.nvim",
   },
   keys = {
    {
      "<leader>S",
      function()
        require("spectre").toggle()
      end,
      desc = "Spectre",
    },
  },
  opts = {},
}

My config

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions