Use lexical binding

This commit is contained in:
Maciej 2021-12-31 13:32:23 +02:00
parent ba1f8c9005
commit a78f326634
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
43 changed files with 48 additions and 47 deletions

View file

@ -1,4 +1,4 @@
;;; Init.el -- Summary
;;; Init.el -- Summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
;; list the repositories containing them

View file

@ -1,4 +1,4 @@
;;; languages/clang.el --- summary
;;; languages/clang.el --- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; languages/clojure -- summary
;;; languages/clojure -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; common-lisp.el --- summary
;;; common-lisp.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; languages/elisp -- summary
;;; languages/elisp -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; languages/elixir -- summary
;;; languages/elixir -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; languages/erlang -- summary
;;; languages/erlang -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; fsharp.el --- summary
;;; fsharp.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; gleam.el --- summary
;;; gleam.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; golang.el --- summary
;;; golang.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
@ -20,7 +20,7 @@
(defun activate-golang-mode ()
(set-indent 8)
(column-enforce-n 80)
(column-enforce-n 100)
(lsp))
(add-hook 'go-mode-hook 'activate-golang-mode)

View file

@ -1,4 +1,4 @@
;;; haskell.el --- summary
;;; haskell.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; javascript -- summary
;;; javascript -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; kotlin.el --- summary
;;; kotlin.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; markdown -- summary
;;; markdown -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; ocaml -- summary
;;; ocaml -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; other.el --- summary
;;; other.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; php.el --- summary
;;; php.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; purescript.el --- summary
;;; purescript.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; ruby -- summary
;;; ruby -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; rust -- summary
;;; rust -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; sh -- summary
;;; sh -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; web -- summary
;;; web -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; avy.el --- summary
;;; avy.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; pkg/base.el --- summary
;;; pkg/base.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; pkg/company-yasnippet -- summary
;;; pkg/company-yasnippet -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Company completion framework configuration
;;; Code:

View file

@ -1,4 +1,4 @@
;;; pkg/ctags -- summary
;;; pkg/ctags -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Old and rudimental completion framework.
;;; Code:

View file

@ -1,4 +1,4 @@
;;; dashboard.el --- summary
;;; dashboard.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; pkg/deft.el -- summary
;;; pkg/deft.el -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Notational velocity, backed by OneDrive.
;;; Code:

View file

@ -1,4 +1,4 @@
;;; diminish.el --- summary
;;; diminish.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; pkg/flycheck -- summary
;;; pkg/flycheck -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; fonts.el --- summary
;;; fonts.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
@ -43,8 +43,9 @@
(+custom-set-lsp-ui-font-hook))
;; (defvar +custom-font "Iosevka Term")
;; (defvar +custom-font "JetBrains Mono")
(defvar +custom-font "JuliaMono")
(defvar +custom-font "JetBrains Mono")
;; (defvar +custom-font "JuliaMono")
;; (defvar +custom-font "Victor Mono")
;; (defvar +custom-font "IBM Plex Mono")
(defvar +custom-font-size 14)

View file

@ -1,4 +1,4 @@
;;; pkg/hydra -- summary
;;; pkg/hydra -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Global hydra definitions.
;;; Code:

View file

@ -1,4 +1,4 @@
;;; pkg/ispell -- summary
;;; pkg/ispell -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Highlight misspelled words
;;; Code:

View file

@ -1,4 +1,4 @@
;;; pkg/ivy -- summary
;;; pkg/ivy -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Counsel, Swiper and Ivy.
;;; Code:

View file

@ -1,4 +1,4 @@
;;; keys-mode.el --- summary
;;; keys-mode.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; pkg/lsp -- summary
;;; pkg/lsp -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Global Language Server Protocol Config
;;; Code:

View file

@ -1,4 +1,4 @@
;;; pkg/magit -- summary
;;; pkg/magit -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; pkg/prog-mode -- summary
;;; pkg/prog-mode -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

View file

@ -1,4 +1,4 @@
;;; pkg/projectile -- summary
;;; pkg/projectile -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Project management based on git repos
;;; Code:

View file

@ -1,4 +1,4 @@
;;; speed-type.el --- summary
;;; speed-type.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk

View file

@ -1,4 +1,4 @@
;;; sys-specific -- summary
;;; sys-specific -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Make Emacs play nicer with specific operating systems
;;; Code:

View file

@ -1,4 +1,4 @@
;;; themes -- summary
;;; Themes -- summary -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
@ -38,7 +38,7 @@
"$HOME/.emacs.d/themes/base16-zenburn-modified.el")
(sml/apply-theme 'respectful)
(enable-theme 'base16-zenburn-modified)
(enable-theme 'base16-solarflare)
(provide '+custom-pkg-themes)
;;; themes.el ends here

View file

@ -1,4 +1,4 @@
;;; undo-tree.el --- summary
;;; undo-tree.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk