Skip to main content
Glama

protolint-mcp

by yoheimuta
thisThenNextPlacementStrategy.go618 B
package autodisable import "github.com/yoheimuta/go-protoparser/v4/parser" type thisThenNextPlacementStrategy struct { c *commentator } func newThisThenNextPlacementStrategy(c *commentator) *thisThenNextPlacementStrategy { return &thisThenNextPlacementStrategy{ c: c, } } func (p *thisThenNextPlacementStrategy) Disable( offset int, comments []*parser.Comment, inline *parser.Comment) { if inline == nil { p.c.insertInline(offset) return } if p.c.tryMergeInline(inline) { return } p.c.insertNewline(offset) } func (p *thisThenNextPlacementStrategy) Finalize() error { return p.c.finalize() }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoheimuta/protolint'

If you have feedback or need assistance with the MCP directory API, please join our Discord server