From b0e59bbefac505d5834b58a4285083cf0de894f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kie=C5=82bowicz?= Date: Sun, 12 Sep 2021 13:13:28 +0200 Subject: [PATCH] Support pandoc filetype (#77) Enable compatibility with vim-pandoc-syntax --- internal/adapter/lsp/document.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/adapter/lsp/document.go b/internal/adapter/lsp/document.go index 11ff2b4..60cef61 100644 --- a/internal/adapter/lsp/document.go +++ b/internal/adapter/lsp/document.go @@ -29,7 +29,7 @@ func newDocumentStore(fs core.FileStorage, logger util.Logger) *documentStore { func (s *documentStore) DidOpen(params protocol.DidOpenTextDocumentParams, notify glsp.NotifyFunc) (*document, error) { langID := params.TextDocument.LanguageID - if langID != "markdown" && langID != "vimwiki" { + if langID != "markdown" && langID != "vimwiki" && langID != "pandoc" { return nil, nil }