This commit is contained in:
Frederik Hanghøj Iversen 2020-03-27 10:26:28 +01:00
parent 957a722b2c
commit c9e0ee6c3f

View file

@ -94,6 +94,7 @@
("git.sr.ht" nil "git.sr.ht" forge-srht-repository)
("git.data.coop" "git.data.coop/api/v1" "git.data.coop" forge-gitea-repository)))
'(global-company-mode t)
'(graphviz-dot-indent-width 2)
'(haskell-indentation-where-post-offset 0)
'(haskell-indentation-where-pre-offset 0)
'(haskell-language-extensions (symbol-value 'haskell-language-extensions))
@ -113,8 +114,9 @@
'(message-send-mail-function 'smtpmail-send-it)
'(mode-line-percent-position '(6 "%q"))
'(org-agenda-files "~/.config/orgmode/agenda_files")
'(org-hide-leading-stars t)
'(package-selected-packages
'(rust-mode lsp forge tide origami dhall-mode docker-tramp graphql-mode enh-ruby-mode scala-mode string-inflection prettier-js quelpa typescript-mode visual-fill-column ag ripgrep fill-column-indicator rjsx-mode image+ company org-jira which-key flycheck es-mode lsp-haskell projectile exec-path-from-shell lsp-ui lsp-mode editorconfig purescript-mode markdown-mode+ ssh-agency dash yaml-mode restart-emacs markdown-mode magit helm haskell-mode haml-mode form-feed dashboard))
'(graphviz-dot-mode rust-mode lsp forge tide origami dhall-mode docker-tramp graphql-mode enh-ruby-mode scala-mode string-inflection prettier-js quelpa typescript-mode visual-fill-column ag ripgrep fill-column-indicator rjsx-mode image+ company org-jira which-key flycheck es-mode lsp-haskell projectile exec-path-from-shell lsp-ui lsp-mode editorconfig purescript-mode markdown-mode+ ssh-agency dash yaml-mode restart-emacs markdown-mode magit helm haskell-mode haml-mode form-feed dashboard))
'(prettier-js-command "prettier-1.18.2")
'(projectile-globally-ignored-directories
'(".idea" ".ensime_cache" ".eunit" ".git" ".hg" ".fslckout" "_FOSSIL_" ".bzr" "_darcs" ".tox" ".svn" ".stack-work" "node_modules" "vendor"))
@ -160,7 +162,7 @@
(remove-hook 'magit-refs-sections-hook 'magit-insert-tags))
(magit-refresh-buffers)
(git-commit-major-mode . git-commit-elisp-text-mode)
(magit-status-headers-hook . nil)))
(magit-status-headers-hook)))
'(scroll-bar-mode nil)
'(scroll-conservatively 101)
'(scroll-margin 0)
@ -222,6 +224,7 @@
(ruby-trace-mode . "ruby-trace-mode/")
(js2-globals . "js2-globals/")
(datadog . "datadog/")
(solargraph . "solargraph/")
(zdi . "zdi/")))
(defun load-additional-packages ()
@ -406,6 +409,10 @@
(lsp)
(subword-mode t)))
(add-hook 'graphql-mode-hook
(lambda ()
(subword-mode t)))
;; I'm confused about the less worse option here. I think the best
;; option is to use smie (the default).
(setq ruby-use-smie t)
@ -466,6 +473,7 @@ npm i -g sql-formatter-cli"
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(put 'set-goal-column 'disabled nil)
(put 'scroll-left 'disabled nil)
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))