mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(editor): use new marginalia-field-width variable name
The old marginalia-truncate-width variable was deprecated a while ago, and the deprecated var alias was recently removed from marginalia.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
(marginalia-field-width 120)
|
||||
(marginalia-separator " ")
|
||||
|
||||
:init
|
||||
:preface
|
||||
(defun marginalia-annotate-project-buffer (cand)
|
||||
"Annotate project buffer CAND with modification status, file name and major
|
||||
mode."
|
||||
@@ -25,7 +25,7 @@ mode."
|
||||
(marginalia--fields
|
||||
((marginalia--buffer-status buffer))
|
||||
((marginalia--project-buffer-file buffer)
|
||||
:truncate (/ marginalia-truncate-width 2)
|
||||
:truncate (/ marginalia-field-width 2)
|
||||
:face 'marginalia-file-name))))
|
||||
|
||||
(defun marginalia--project-buffer-file (buffer)
|
||||
|
||||
Reference in New Issue
Block a user