all repos

clerk @ 5b3ebfb

missing tooling for ledger/hledger
1 files changed, 4 insertions(+), 0 deletions(-)
lsp: dont error if there's no config provided
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-08-03 13:20:24 +0300
Authored at: 2026-08-03 13:19:24 +0300
Change ID: txrslvkokxovtkyntuvzpvuuuttmulwk
Parent: 1f6bd77
M internal/lsp/config.go
ยทยทยท
        17
        17
         }

      
        18
        18
         

      
        19
        19
         func (c *Config) merge(v protocol.LSPAny) error {

      
        
        20
        +	if len(v) == 0 { // no settings provided

      
        
        21
        +		return nil

      
        
        22
        +	}

      
        
        23
        +

      
        20
        24
         	var patch struct {

      
        21
        25
         		SemanticHighlighting *bool `json:"semantic_highlighting,case:ignore"`

      
        22
        26
         	}