purescript-emacs / purescript-mode

Emacs major mode and related tools for Purescript
20 stars 10 forks source link

How to disable imports sorting #14

Closed sridattayalla closed 2 years ago

sridattayalla commented 2 years ago

I don't want to auto sort the imports when adding a new import. Please help me if there is any way I can do that.

kritzcreek commented 2 years ago

The import sorting happens as part of the automatic import insertion.

You can turn off import insertion on completion with (setq psc-ide-add-import-on-completion nil).

sridattayalla commented 2 years ago

@kritzcreek thanks, It worked