Random changes

This commit is contained in:
John Doty 2021-08-16 16:32:31 -07:00
parent f1a4519507
commit 90772c2c0b
6 changed files with 650 additions and 33 deletions

View file

@ -22,7 +22,7 @@
'(company-minimum-prefix-length 1)
'(css-indent-offset 2)
'(custom-safe-themes
'("3dbb18bf06f41012d4525e6c64c392d6cfef06a2f8fe1bf7b565c4e020255466" "8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" default))
'("7b3ce93a17ce4fc6389bba8ecb9fee9a1e4e01027a5f3532cc47d160fe303d5a" "3dbb18bf06f41012d4525e6c64c392d6cfef06a2f8fe1bf7b565c4e020255466" "8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" default))
'(fast-lock-cache-directories '("~/flc-cache"))
'(fast-lock-minimum-size nil)
'(fill-column 77)
@ -58,7 +58,7 @@
'(org-odd-levels-only t)
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
'(package-selected-packages
'(eglot prettier-js zig-mode modus-operandi-theme esup gnu-elpa-keyring-update lsp-hack hack-mode rust-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company omnisharp geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window python-mode paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi tide elm-mode monky))
'(flycheck-rust eglot prettier-js zig-mode modus-operandi-theme esup gnu-elpa-keyring-update lsp-hack hack-mode rust-mode filladapt lsp-ui yaml-mode wgrep fsharp-mode company-lsp cquery mustache-mode clang-format projectile dash-functional mocha add-node-modules-path rjsx-mode xref-js2 js2-refactor company omnisharp geiser cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode tss switch-window python-mode paredit magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode company-jedi tide elm-mode monky))
'(reb-re-syntax 'string)
'(rmail-mail-new-frame t)
'(safe-local-variable-values

View file

@ -179,18 +179,19 @@
(setq my-font-choice
(font-candidate
"Input Mono Narrow-12:weight=light"
"InputMonoNarrow Light-12:light"
"Input Mono Narrow:pixelsize=14:weight=normal"
"Consolas-10"
"Inconsolata-11"
"Monaco-14"))
;; This is just here for playing with things.
(set-frame-font my-font-choice)
;;
;; To obtain new font string, execute eval-expression, and eval this:
;;(insert(prin1-to-string(w32-select-font)))
;; (insert(prin1-to-string(w32-select-font)))
;; This will show the required string in the scratch buffer.
(setq jd-frame-height
@ -319,11 +320,18 @@
;; :config (add-hook 'lsp-mode-hook 'lsp-ui-mode)))
(use-package eglot :ensure
:commands eglot-ensure
:hook (python-mode . eglot-ensure)
:hook
(python-mode . eglot-ensure)
(rust-mode . eglot-ensure)
:config
(add-to-list 'eglot-server-programs '(python-mode . ("pyls-language-server")))
)
:init
(flycheck-mode -1))
;; NOTE: elgot defers to flymake for error information.
(use-package flymake
:bind (("C-c n" . 'flymake-goto-next-error)
("C-c p" . 'flymake-goto-prev-error)))
;; =================================================================
@ -356,8 +364,6 @@
(turn-on-auto-fill)
(flyspell-prog-mode)
(define-key c-mode-base-map "\C-m" 'c-context-line-break)
(unless is-fb-environment
(set-fill-column 120))
;; (local-set-key "}" 'indent-on-closing-bracket)
)
@ -918,6 +924,9 @@
:config
(setq rust-format-on-save t))
(use-package flycheck-rust :ensure t
:hook (rust-mode . flycheck-rust-setup))
;; =================================================================
;; Clojure
;; =================================================================
@ -960,4 +969,10 @@
:major-modes '(zig-mode)
:server-id 'zls)))
;; ================================================================
;; Pico-8
;; ================================================================
(use-package pico8-mode
:mode (("\\.p8\\'" . pico8-mode)))
;;; init.el ends here