Start LS for docs created with appropriate content-type

This commit is contained in:
BoykoAlex
2019-06-10 20:17:49 -04:00
parent ea8ae2757b
commit cfc79e0b69
4 changed files with 67 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
<extension
point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
default-charset="UTF-8"
id="org.springframework.tooling.concourse.pipeline"
name="Concourse Pipeline Definition"
@@ -19,6 +20,7 @@
<extension
point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
default-charset="UTF-8"
id="org.springframework.tooling.concourse.task"
name="Concourse Task Definition"
@@ -98,4 +100,19 @@
</contentTypeMapping>
</extension>
<extension
point="org.eclipse.core.filebuffers.documentSetup">
<participant
class="org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant"
contentTypeId="org.springframework.tooling.concourse.pipeline">
</participant>
</extension>
<extension
point="org.eclipse.core.filebuffers.documentSetup">
<participant
class="org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant"
contentTypeId="org.springframework.tooling.concourse.task">
</participant>
</extension>
</plugin>