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
341341 Ide.Plugin.CabalProject.Diagnostics
342342 Ide.Plugin.CabalProject.Types
343343 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
346346 Ide.Plugin.CabalProject.Completion.CabalProjectFields
347347 Ide.Plugin.CabalProject.Completion.Data
348348
Original file line number Diff line number Diff line change @@ -317,8 +317,6 @@ completion recorder ide _ complParams = do
317317 mContents <- liftIO $ runAction " cabal-project-plugin.getUriContents" ide $ getUriContents $ toNormalizedUri uri
318318 case (,) <$> mContents <*> uriToFilePath' uri of
319319 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.
322320 mFields <- liftIO $ runAction " cabal-project-plugin.fields" ide $ useWithStale ParseCabalProjectFields $ toNormalizedFilePath path
323321 case mFields of
324322 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
1010import qualified Distribution.Fields as Syntax
1111import qualified Distribution.Parsec.Position as Syntax
1212import GHC.Generics (Generic )
13- -- import Ide.Plugin.Cabal.Completion.Types
14-
1513
1614type instance RuleResult ParseCabalProjectFile = ProjectConfigSkeleton
1715
You can’t perform that action at this time.
0 commit comments