File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 9
9
IdentifierVSCode
10
10
IdentifierGoTest
11
11
IdentifierZed
12
+ IdentifierNeovim
12
13
)
13
14
15
+ // DetermineClientIdentifier is used to determine the Regal client identifier
16
+ // based on the client name.
17
+ // Clients with identifiers here should be featured on the 'Editor Support'
18
+ // page in the documentation (https://docs.styra.com/regal/editor-support).
14
19
func DetermineClientIdentifier (clientName string ) Identifier {
15
20
switch clientName {
16
21
case "go test" :
@@ -19,6 +24,10 @@ func DetermineClientIdentifier(clientName string) Identifier {
19
24
return IdentifierVSCode
20
25
case "Zed" :
21
26
return IdentifierZed
27
+ case "Neovim" :
28
+ // 'Neovim' is sent as the client identifier when using the
29
+ // nvim-lspconfig plugin.
30
+ return IdentifierNeovim
22
31
}
23
32
24
33
return IdentifierGeneric
You can’t perform that action at this time.
0 commit comments