File tree Expand file tree Collapse file tree 5 files changed +2
-14
lines changed
plugins/hls-cabal-project-plugin/src/Ide/Plugin Expand file tree Collapse file tree 5 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -341,8 +341,8 @@ library hls-cabal-project-plugin
341
341
Ide.Plugin.CabalProject.Diagnostics
342
342
Ide.Plugin.CabalProject.Types
343
343
Ide.Plugin.CabalProject.Completion.Completions
344
- Ide.Plugin.CabalProject.Completion.Completer.Simple
345
- Ide.Plugin.CabalProject.Completion.Completer.Types
344
+ -- Ide.Plugin.CabalProject.Completion.Completer.Simple
345
+ -- Ide.Plugin.CabalProject.Completion.Completer.Types
346
346
Ide.Plugin.CabalProject.Completion.CabalProjectFields
347
347
Ide.Plugin.CabalProject.Completion.Data
348
348
Original file line number Diff line number Diff line change @@ -317,8 +317,6 @@ completion recorder ide _ complParams = do
317
317
mContents <- liftIO $ runAction " cabal-project-plugin.getUriContents" ide $ getUriContents $ toNormalizedUri uri
318
318
case (,) <$> mContents <*> uriToFilePath' uri of
319
319
Just (cnts, path) -> do
320
- -- We decide on `useWithStale` here, since `useWithStaleFast` often leads to the wrong completions being suggested.
321
- -- In case it fails, we still will get some completion results instead of an error.
322
320
mFields <- liftIO $ runAction " cabal-project-plugin.fields" ide $ useWithStale ParseCabalProjectFields $ toNormalizedFilePath path
323
321
case mFields of
324
322
Nothing ->
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import Distribution.Client.ProjectConfig.Parsec (ProjectConfigSkeleton
10
10
import qualified Distribution.Fields as Syntax
11
11
import qualified Distribution.Parsec.Position as Syntax
12
12
import GHC.Generics (Generic )
13
- -- import Ide.Plugin.Cabal.Completion.Types
14
-
15
13
16
14
type instance RuleResult ParseCabalProjectFile = ProjectConfigSkeleton
17
15
You can’t perform that action at this time.
0 commit comments