@@ -119,8 +119,8 @@ data PluginDescriptor (ideState :: *) =
119119 , pluginNotificationHandlers :: PluginNotificationHandlers ideState
120120 , pluginModifyDynflags :: DynFlagsModifications
121121 , pluginCli :: Maybe (ParserInfo (IdeCommand ideState ))
122- , pluginFileType :: [T. Text ]
123- -- ^ File extension of the files the plugin is responsible for.
122+ , pluginFileType :: [T. Text ]
123+ -- ^ File extension of the files the plugin is responsible for.
124124 -- The plugin is only allowed to handle files with these extensions
125125 -- When writing handlers, etc. for this plugin it can be assumed that all handled files are of this type.
126126 -- The file extension must have a leading '.'.
@@ -232,7 +232,7 @@ instance PluginRequestMethod TextDocumentCodeAction where
232232 | otherwise = False
233233
234234-- | Check whether the given plugin descriptor is responsible for the file with the given path.
235- -- Compares the file extension of the file at the given path with the file extension
235+ -- Compares the file extension of the file at the given path with the file extension
236236-- the plugin is responsible for.
237237pluginResponsible :: Uri -> PluginDescriptor c -> Bool
238238pluginResponsible uri pluginDesc
@@ -551,7 +551,7 @@ defaultPluginDescriptor plId =
551551 mempty
552552 mempty
553553 Nothing
554- [" .hs" , " .lhs" ]
554+ [" .hs" , " .lhs" , " .hs-boot " ]
555555
556556defaultCabalPluginDescriptor :: PluginId -> PluginDescriptor ideState
557557defaultCabalPluginDescriptor plId =
0 commit comments