Lint more Elisp files, delete others
I may regret this, but I delete Ocaml and ReasonML modules; I can alway restore them thanks to Git. Added more ceremony to other modules to appease the linting gods.
This commit is contained in:
parent
1e253a756b
commit
2a51698672
12 changed files with 41 additions and 77 deletions
|
@ -40,8 +40,6 @@
|
|||
(require 'wpc-shell)
|
||||
(require 'wpc-lisp)
|
||||
(require 'wpc-haskell)
|
||||
(require 'wpc-reasonml)
|
||||
;; (require 'wpc-ocaml)
|
||||
(require 'wpc-elixir)
|
||||
(require 'wpc-nix)
|
||||
(require 'wpc-rust)
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; misc.el --- Hosting miscellaneous configuration -*- lexical-binding: t -*-
|
||||
;;; wpc-misc.el --- Hosting miscellaneous configuration -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "25.1"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; This is the home of any configuration that couldn't find a better home.
|
||||
|
@ -196,11 +200,11 @@
|
|||
(setq vc-follow-symlinks t)
|
||||
|
||||
;; fullscreen settings
|
||||
(defvar ns-use-native-fullscreen nil)
|
||||
(setq ns-use-native-fullscreen nil)
|
||||
|
||||
(use-package yasnippet
|
||||
:config
|
||||
(setq yas-snippet-dirs '("~/.emacs.d/snippets/"))
|
||||
(setq yas-snippet-dirs (list (f-join user-emacs-directory "snippets")))
|
||||
(yas-global-mode 1))
|
||||
|
||||
(use-package projectile
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; wpc-nix.el --- Nix support -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "25.1"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; Configuration to support working with Nix.
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
;;; wpc-ocaml.el --- My OCaml preferences -*- lexical-binding: t -*-
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
|
||||
;;; Commentary:
|
||||
;; Tooling support for OCaml development.
|
||||
;;
|
||||
;; Dependencies:
|
||||
;; - `opam install tuareg`
|
||||
;; - `opam install merlin`
|
||||
;; - `opam install user-setup && opam user-setup install`
|
||||
;; - `opam install ocamlformat`
|
||||
|
||||
;;; Code:
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Dependencies
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(require 'prelude)
|
||||
(require 'f)
|
||||
|
||||
(defconst opam-user-setup
|
||||
(f-join user-emacs-directory "opam-user-setup.el")
|
||||
"File for the OPAM Emacs integration.")
|
||||
|
||||
(prelude/assert (f-file? opam-user-setup))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Configuration
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(use-package tuareg
|
||||
:config
|
||||
(add-hook-before-save 'tuareg-mode-hook #'ocamlformat-before-save))
|
||||
|
||||
;; ocamlformat
|
||||
(require 'opam-user-setup opam-user-setup)
|
||||
(require 'ocamlformat)
|
||||
|
||||
(provide 'wpc-ocaml)
|
||||
;;; wpc-ocaml.el ends here
|
|
@ -1,5 +1,9 @@
|
|||
;;; org.el --- My org preferences -*- lexical-binding: t -*-
|
||||
;;; wpc-org.el --- My org preferences -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24.1"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; Hosts my org mode preferences
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; package.el --- My package configuration -*- lexical-binding: t -*-
|
||||
;;; wpc-package.el --- My package configuration -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24.1"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; This module hosts all of the settings required to work with ELPA,
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; wpc-prolog.el --- For Prologging things -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; Code configuring my Prolog work.
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; wpc-python.el --- Python configuration -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; My Python configuration settings
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
;;; wpc-reasonml.el --- My ReasonML preferences -*- lexical-binding: t -*-
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
|
||||
;;; Commentary:
|
||||
;; Tooling support for ReasonML development.
|
||||
;;
|
||||
;; Dependencies:
|
||||
;; - `opam install tuareg`
|
||||
;; - `opam install merlin`
|
||||
;; - `opam install user-setup`
|
||||
;; - `opam install ocamlformat`
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; ReasonML configuration
|
||||
(use-package reason-mode
|
||||
:config
|
||||
(add-hook-before-save 'reason-mode-hook #'refmt-before-save))
|
||||
|
||||
;; ReasonML LSP configuration
|
||||
(lsp-register-client
|
||||
(make-lsp-client :new-connection (lsp-stdio-connection (f-full "~/programming/dependencies/reason-language-server"))
|
||||
:major-modes '(reason-mode)
|
||||
:notification-handlers (ht ("client/registerCapability" 'ignore))
|
||||
:priority 1
|
||||
:server-id 'reason-ls))
|
||||
|
||||
(provide 'wpc-reasonml)
|
||||
;;; wpc-reasonml.el ends here
|
|
@ -1,5 +1,9 @@
|
|||
;;; wpc-rust.el --- Support Rust language -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; Supports my Rust work.
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; wpc-shell.el --- POSIX Shell scripting support -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; Helpers for my shell scripting. Includes bash, zsh, etc.
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
;;; wpc-ui.el --- Any related to the UI/UX goes here -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
;; Version: 0.0.1
|
||||
;; Package-Requires: ((emacs "24"))
|
||||
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
||||
|
||||
;;; Commentary:
|
||||
;; Hosts font settings, scrolling, color schemes.
|
||||
|
|
Loading…
Reference in a new issue