diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index f64bb226..f673b38c 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1017,6 +1017,9 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package tree-sitter-indent :ghook ('(rustic-mode-hook))) +(unless (fboundp 'project-name) + (defun project-name (project) + (file-name-base (cdr project)))) (use-package eglot :general (:states 'normal :keymaps 'eglot-mode-map "gd" #'xref-find-definitions |