Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
type Identifier int
Identifier represent different supported clients and can be used to toggle or change server behavior based on the client.
const ( IdentifierGeneric Identifier = iota IdentifierVSCode IdentifierGoTest IdentifierZed IdentifierNeovim )
func DetermineClientIdentifier ¶
func DetermineClientIdentifier(clientName string) Identifier
DetermineClientIdentifier is used to determine the Regal client identifier based on the client name. Clients with identifiers here should be featured on the 'Editor Support' page in the documentation (https://docs.styra.com/regal/editor-support).
Click to show internal directories.
Click to hide internal directories.