Support pandoc filetype (#77)

Enable compatibility with vim-pandoc-syntax
pull/79/head
Michał Kiełbowicz 3 years ago committed by GitHub
parent 5abbab4c73
commit b0e59bbefa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}

Loading…
Cancel
Save