Small update
Some checks are pending
/ Test config on 20 (push) Waiting to run

This commit is contained in:
Maciej 2026-04-14 09:07:49 +03:00
parent 08cc760f1c
commit 1de0b1131f
Signed by: maciej
GPG key ID: 28243AF437E32F99
4 changed files with 12 additions and 3 deletions

View file

@ -107,6 +107,9 @@
;; Disable warning related to PATH on startup
(defvar exec-path-from-shell-check-startup-files nil)
(eval-when-compile
(declare-function exec-path-from-shell-initialize 'exec-path-from-shell))
;; Allow to execute path from shell
(use-package exec-path-from-shell
;; :if (memq window-system '(x mac ns))
@ -114,7 +117,6 @@
:defer t
:hook ((elpaca-after-init . exec-path-from-shell-initialize))
:config
(declare-function exec-path-from-shell-initialize "exec-path-from-shell")
(add-to-list 'exec-path "/usr/local/bin")
(dolist (var '("DEFT_PATH"
"LANG"

View file

@ -3,6 +3,11 @@
;;; Global Language Server Protocol Config
;;; Code:
(use-package eglot :ensure nil
:config
;; Use Ruby-Lsp instead of Solargraph
(add-to-list 'eglot-server-programs '((ruby-mode ruby-ts-mode) "ruby-lsp")))
(use-package eldoc-box
:ensure (:host github :repo "casouri/eldoc-box")
:hook ((emacs-lisp-mode . eldoc-box-hover-at-point-mode)

View file

@ -34,7 +34,7 @@ It is different than default font to keep it visually distinct.")
;; Require dash functions to be included:
(eval-when-compile
(declare-function -> "dash.el"))
(declare-function -> 'dash))
(defconst icejam-font-height 14
"Default height of then font.

View file

@ -4,6 +4,8 @@
(eval-when-compile
(defvar icejam-language-transient-alist)
(defvar eglot-server-programs)
(defvar ruby-insert-encoding-magic-comment)
(declare-function icejam-set-indent 'icejam-prog-mode)
(declare-function icejam-set-eglot-capfs 'icejam-complete-at-point))
@ -21,7 +23,7 @@
(add-to-list (make-local-variable 'flycheck-disabled-checkers) 'ruby-reek 'ruby-rubocop)
;; Do not insert magic encoding comment at the begining of each file
(setq ruby-insert-encoding-magic-comment nil)
(setopt ruby-insert-encoding-magic-comment nil)
;; Start LSP
(eglot-ensure)