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

@@ -19,10 +19,11 @@
<extension
point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
default-charset="UTF-8"
file-names="manifest.yml"
id="org.springframework.ide.eclipse.manifest.yml"
name="Cloudfoundry Manifest"
file-names="manifest.yml"
priority="high">
</content-type>
<file-association
@@ -67,4 +68,12 @@
</scopeNameContentTypeBinding>
</extension>
<extension
point="org.eclipse.core.filebuffers.documentSetup">
<participant
class="org.eclipse.lsp4e.ConnectDocumentToLanguageServerSetupParticipant"
contentTypeId="org.springframework.ide.eclipse.manifest.yml">
</participant>
</extension>
</plugin>