Skip to content

[go] spurious space when using const snippet in go-mode #93

@yesudeep

Description

@yesudeep

What were you expecting?

const [name] [type] = [value]

What actually happened?

const [name][ type] = [value]

The current snippet makes it stick to the const name. The space should not be part of the field.

Steps to reproduce

  1. type const
  2. press tab
  3. examine expansion

Operating system

Fedora Linux 37 amd64

Emacs version

Emacs 30.0.50 (master) w/ native-comp

Installed commit of doom-snippets

not sure, but bug is present in head

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:snippetRequests that a snippet be added or removedmode:go

    Type

    No type

    Projects

    Status

    Resolved

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions