File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -286,17 +286,18 @@ data PluginDescriptor (ideState :: Type) =
286
286
-- The file extension must have a leading '.'.
287
287
}
288
288
289
- -- A description of the types of files that the plugin
290
- -- is intended to work on. It includes the origin of the
291
- -- file (the project, a dependency, or both), and the
292
- -- file extensions the plugin should work on.
289
+ -- | A description of the types of files that the plugin
290
+ -- is intended to work on. It includes the origin of the
291
+ -- file (the project, a dependency, or both), and the
292
+ -- file extensions the plugin should work on.
293
293
data PluginFileType = PluginFileType [SourceFileOrigin ] [T. Text ]
294
294
295
295
data SourceFileOrigin = FromProject | FromDependency deriving Eq
296
296
297
- -- Dependency files are written to the .hls/dependencies directory.
298
- -- If a file is not in this directory, we assume that it is a
299
- -- project file.
297
+ -- | Dependency files are written to the .hls/dependencies directory
298
+ -- under the project root.
299
+ -- If a file is not in this directory, we assume that it is a
300
+ -- project file.
300
301
getSourceFileOrigin :: NormalizedFilePath -> SourceFileOrigin
301
302
getSourceFileOrigin f =
302
303
case [" .hls" , " dependencies" ] `isInfixOf` (splitDirectories file) of
You can’t perform that action at this time.
0 commit comments