this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

updates

+76 -22
+76 -22
spacemacs
··· 69 69 yaml 70 70 shell-scripts 71 71 lsp 72 + ;; (haskell :variables 73 + ;; haskell-completion-backend 'dante 74 + ;; haskell-enable-ghc-mod-support nil 75 + ;; haskell-enable-hindent t 76 + ;; haskell-process-type 'cabal-new-repl) 77 + 72 78 (haskell :variables 73 - haskell-completion-backend 'dante 74 - haskell-enable-ghc-mod-support nil 75 - haskell-enable-hindent t 76 - haskell-process-type 'cabal-new-repl) 79 + haskell-process-type 'cabal-new-repl 80 + haskell-completion-backend 'lsp 81 + ) 77 82 78 83 pandoc 79 84 (latex :variables ··· 90 95 custom-lean 91 96 custom-super-save 92 97 custom-nix 93 - custom-haskell 98 + ;; custom-haskell 94 99 custom-config-org 95 100 custom-config-evil 96 101 custom-direnv ··· 103 108 ;; '(your-package :location "~/path/to/your-package/") 104 109 ;; Also include the dependencies as they will not be resolved automatically. 105 110 dotspacemacs-additional-packages 106 - '() 111 + '( 112 + ;; nix-sandbox 113 + ;; (lsp-haskell :location (recipe :fetcher github :repo "emacs-lsp/lsp-haskell")) 114 + ) 107 115 ;; A list of packages that cannot be updated. 108 116 dotspacemacs-frozen-packages 109 117 '() ··· 228 236 `("SF Mono" 229 237 ;; ,(if (string-equal system-type "darwin") :size);; :size 16 230 238 ;; ,(if (string-equal system-type "darwin") 16);; :size 16 231 - ;; :size 20 239 + :size 32 232 240 :weight normal 233 241 :width normal 234 242 :powerline-scale 1.1 ··· 490 498 configuration. 491 499 Put your configuration code here, except for variables that should be set 492 500 before packages are loaded." 501 + 502 + ;; ;; haskell configuration 503 + ;; (require 'lsp-haskell) 504 + 505 + ;; ;; Define a wrapper for the haskell-ide-engine process 506 + ;; (setq default-nix-wrapper 507 + ;; (lambda (args) 508 + ;; (append 509 + ;; ;; Change this to match your home directory/preferences 510 + ;; (append (list "nix-shell" "--command" ) 511 + ;; (list (mapconcat 'identity args " ")) 512 + ;; ) 513 + ;; (list (nix-current-sandbox)) 514 + ;; ) 515 + ;; ) 516 + ;; ) 517 + 518 + ;; (setq haskell-nix-wrapper 519 + ;; (lambda (args) 520 + ;; (apply default-nix-wrapper (list (append args (list "--ghc-option" "-Wwarn")))) 521 + ;; ) 522 + ;; ) 523 + 524 + ;; ;; Flycheck is for error checking 525 + ;; (setq flycheck-command-wrapper-function default-nix-wrapper 526 + ;; flycheck-executable-find 527 + ;; (lambda (cmd) (nix-executable-find (nix-current-sandbox) cmd))) 528 + 529 + ;; ;; Haskell repl session that runs in the background 530 + ;; (setq haskell-process-wrapper-function haskell-nix-wrapper) 531 + 532 + ;; ;; Haskell-ide-engine process 533 + ;; (setq lsp-haskell-process-wrapper-function default-nix-wrapper) 534 + 535 + ;; ;; Haskell mode is activated whenever we open a .hs file buffer 536 + ;; ;; Load flycheck when we activate haskell mode in a buffer 537 + ;; (add-hook 'haskell-mode-hook 'flycheck-mode) 538 + 539 + ;; ;; Load lsp-haskell when we activate haskell mode in a buffer 540 + ;; (add-hook 'haskell-mode-hook #'lsp) 541 + 542 + ;; ;; Keep our haskell tags up to date (used for jumping to defn. etc.) 543 + ;; (custom-set-variables '(haskell-tags-on-save t)) 544 + 493 545 ) 494 546 495 547 ··· 506 558 ;; If you edit it by hand, you could mess it up, so be careful. 507 559 ;; Your init file should contain only one such instance. 508 560 ;; If there is more than one, they won't work right. 509 - '(dante-load-flags 510 - (quote 511 - ("+c" "-Wall" "-ferror-spans" "-fdefer-typed-holes" "-fdefer-type-errors" "-fno-diagnostics-show-caret"))) 512 - '(dante-methods 513 - (quote 514 - (new-impure-nix new-nix nix-ghci nix nix-build))) 515 - '(dante-tap-type-time 2) 561 + 562 + ;; '(dante-load-flags 563 + ;; (quote 564 + ;; ("+c" "-Wall" "-ferror-spans" "-fdefer-typed-holes" "-fdefer-type-errors" "-fno-diagnostics-show-caret"))) 565 + ;; '(dante-methods 566 + ;; (quote 567 + ;; (new-impure-nix new-nix nix-ghci nix nix-build))) 568 + ;; '(dante-tap-type-time 2) 516 569 '(evil-want-Y-yank-to-eol nil) 517 - '(haskell-compile-cabal-build-alt-command 518 - "cabal new-clean -s && cabal new-build --ghc-option=-ferror-spans") 519 - '(haskell-compile-cabal-build-command "cabal new-build --ghc-option=-ferror-spans") 520 - '(haskell-hasktags-arguments (quote ("-R"))) 521 - '(haskell-hasktags-path "fast-tags") 522 - '(haskell-hoogle-command "nil") 523 - '(haskell-process-suggest-hoogle-imports nil) 524 - '(haskell-stylish-on-save t) 570 + ;; '(haskell-compile-cabal-build-alt-command 571 + ;; "cabal new-clean -s && cabal new-build --ghc-option=-ferror-spans") 572 + ;; '(haskell-compile-cabal-build-command "cabal new-build --ghc-option=-ferror-spans") 573 + ;; '(haskell-hasktags-arguments (quote ("-R"))) 574 + ;; '(haskell-hasktags-path "fast-tags") 575 + ;; '(haskell-hoogle-command "nil") 576 + ;; '(haskell-process-suggest-hoogle-imports nil) 577 + ;; '(haskell-stylish-on-save t) 578 + ;; '(flycheck-haskell-runghc-command (quote ("nix-shell" "--command" "\"runghc -i\""))) 525 579 '(package-selected-packages 526 580 (quote 527 581 (direnv reveal-in-osx-finder osx-trash osx-dictionary osx-clipboard launchctl treemacs-projectile treemacs-evil treemacs org-download org-brain nix-mode hlint-refactor eyebrowse evil-visual-mark-mode evil-nerd-commenter evil-magit eval-sexp-fu editorconfig doom-modeline eldoc-eval define-word dante cython-mode aggressive-indent ace-link anaconda-mode ivy smartparens goto-chg company window-purpose imenu-list helm helm-core flycheck avy projectile magit f simple-httpd powerline visual-fill-column yasnippet-snippets yapfify yaml-mode xterm-color ws-butler writeroom-mode winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package unfill toc-org tagedit symon super-save string-inflection spaceline-all-the-icons smeargle slim-mode shrink-path shell-pop scss-mode sass-mode restart-emacs rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode prettier-js popwin pippel pipenv pip-requirements pfuture persp-mode pcre2el password-generator paradox pandoc-mode ox-pandoc overseer orgit org-projectile org-present org-pomodoro org-mime org-bullets open-junk-file nameless mwim multi-term move-text mmm-mode material-theme markdown-toc magit-svn magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode link-hint lcr json-navigator json-mode js2-refactor js-doc insert-shebang indent-guide importmagic impatient-mode hungry-delete hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation highlight helm-xref helm-themes helm-swoop helm-pydoc helm-purpose helm-projectile helm-org-rifle helm-mode-manager helm-make helm-lean helm-hoogle helm-gitignore helm-git-grep helm-flx helm-descbinds helm-css-scss helm-company helm-c-yasnippet helm-ag haskell-snippets haskell-mode google-translate golden-ratio gnuplot gitignore-templates gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-commit gh-md fuzzy font-lock+ flyspell-correct-helm flycheck-bashate flx-ido fish-mode fill-column-indicator fancy-battery expand-region evil-visualstar evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu eshell-z eshell-prompt-extras esh-help emmet-mode elisp-slime-nav dumb-jump dotenv-mode diminish counsel-projectile company-web company-tern company-statistics company-shell company-lean company-cabal company-auctex company-anaconda column-enforce-mode color-theme-sanityinc-solarized cmm-mode clean-aindent-mode centered-cursor-mode auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile ace-window ace-jump-helm-line ac-ispell))))